Skip to content

Commit 1b67ac4

Browse files
committed
removed maven compiler version and added maven info for compiling jar's
1 parent c65af21 commit 1b67ac4

1 file changed

Lines changed: 20 additions & 1 deletion

File tree

pom.xml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,31 @@
1919
<plugin>
2020
<groupId>org.apache.maven.plugins</groupId>
2121
<artifactId>maven-compiler-plugin</artifactId>
22-
<version>2.3.1</version>
2322
<configuration>
2423
<source>1.8</source>
2524
<target>1.8</target>
2625
</configuration>
2726
</plugin>
27+
<plugin>
28+
<artifactId>maven-assembly-plugin</artifactId>
29+
<version>2.1</version>
30+
<configuration>
31+
32+
<descriptorRefs>
33+
<descriptorRef>jar-with-dependencies</descriptorRef>
34+
</descriptorRefs>
35+
36+
</configuration>
37+
<executions>
38+
<execution>
39+
<id>make-assembly</id> <!-- this is used for inheritance merges -->
40+
<phase>package</phase> <!-- append to the packaging phase. -->
41+
<goals>
42+
<goal>attached</goal> <!-- goals == mojos -->
43+
</goals>
44+
</execution>
45+
</executions>
46+
</plugin>
2847
</plugins>
2948
</build>
3049

0 commit comments

Comments
 (0)