Skip to content

Commit 387b96d

Browse files
committed
Adding pom.xml updates and JAR dependencies
1 parent 970678b commit 387b96d

3 files changed

Lines changed: 34 additions & 6 deletions

File tree

pom.xml

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,6 @@
88
<artifactId>seMethods</artifactId>
99
<version>1.0-SNAPSHOT</version>
1010

11-
<properties>
12-
<maven.compiler.source>17</maven.compiler.source>
13-
<maven.compiler.target>17</maven.compiler.target>
14-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15-
</properties>
16-
1711
<dependencies>
1812
<dependency>
1913
<groupId>org.mongodb</groupId>
@@ -22,4 +16,38 @@
2216
</dependency>
2317
</dependencies>
2418

19+
<properties>
20+
<maven.compiler.source>10</maven.compiler.source>
21+
<maven.compiler.target>10</maven.compiler.target>
22+
</properties>
23+
24+
<build>
25+
<plugins>
26+
<plugin>
27+
<groupId>org.apache.maven.plugins</groupId>
28+
<artifactId>maven-assembly-plugin</artifactId>
29+
<version>3.3.0</version>
30+
<configuration>
31+
<archive>
32+
<manifest>
33+
<mainClass>com.napier.sem.App</mainClass>
34+
</manifest>
35+
</archive>
36+
<descriptorRefs>
37+
<descriptorRef>jar-with-dependencies</descriptorRef>
38+
</descriptorRefs>
39+
</configuration>
40+
<executions>
41+
<execution>
42+
<id>make-assembly</id>
43+
<phase>package</phase>
44+
<goals>
45+
<goal>single</goal>
46+
</goals>
47+
</execution>
48+
</executions>
49+
</plugin>
50+
</plugins>
51+
</build>
52+
2553
</project>
1.81 MB
Binary file not shown.

target/seMethods-1.0-SNAPSHOT.jar

3.73 KB
Binary file not shown.

0 commit comments

Comments
 (0)