Skip to content

Commit 7cbfa84

Browse files
committed
updated pom with build
1 parent 24456af commit 7cbfa84

File tree

1 file changed

+43
-2
lines changed

1 file changed

+43
-2
lines changed

pom.xml

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,53 @@
1212
<maven.compiler.source>1.8</maven.compiler.source>
1313
<maven.compiler.target>1.8</maven.compiler.target>
1414
</properties>
15-
15+
16+
<build>
17+
<plugins>
18+
<plugin>
19+
<groupId>org.apache.maven.plugins</groupId>
20+
<artifactId>maven-dependency-plugin</artifactId>
21+
<version>3.1.0</version>
22+
<executions>
23+
<execution>
24+
<id>copy-dependencies</id>
25+
<phase>prepare-package</phase>
26+
<goals>
27+
<goal>copy-dependencies</goal>
28+
</goals>
29+
<configuration>
30+
<outputDirectory>
31+
${project.build.directory}/libs
32+
</outputDirectory>
33+
</configuration>
34+
</execution>
35+
</executions>
36+
</plugin>
37+
<plugin>
38+
<groupId>org.apache.maven.plugins</groupId>
39+
<artifactId>maven-jar-plugin</artifactId>
40+
<version>3.1.0</version>
41+
<configuration>
42+
<archive>
43+
<manifest>
44+
<addClasspath>true</addClasspath>
45+
<classpathPrefix>libs/</classpathPrefix>
46+
<mainClass>
47+
net.b07z.sepia.websockets.server.StartWebSocketServer
48+
</mainClass>
49+
</manifest>
50+
</archive>
51+
<finalName>sepia-chat-v${project.version}</finalName>
52+
</configuration>
53+
</plugin>
54+
</plugins>
55+
</build>
56+
1657
<dependencies>
1758
<dependency>
1859
<groupId>net.b07z.sepia.server.core</groupId>
1960
<artifactId>sepia-core-tools</artifactId>
20-
<version>2.0.0</version>
61+
<version>2.0.1</version>
2162
</dependency>
2263
<dependency>
2364
<groupId>com.j2html</groupId>

0 commit comments

Comments
 (0)