Skip to content

Commit 476687a

Browse files
committed
Update build configuration
1 parent 753f4d2 commit 476687a

File tree

3 files changed

+43
-3
lines changed

3 files changed

+43
-3
lines changed

pom.xml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,17 @@
1414
</modules>
1515
<properties>
1616
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
17-
<maven.compiler.source>11</maven.compiler.source>
18-
<maven.compiler.target>11</maven.compiler.target>
17+
<maven.compiler.release>11</maven.compiler.release>
1918
</properties>
19+
<build>
20+
<pluginManagement>
21+
<plugins>
22+
<plugin>
23+
<groupId>org.apache.maven.plugins</groupId>
24+
<artifactId>maven-compiler-plugin</artifactId>
25+
<version>3.8.1</version>
26+
</plugin>
27+
</plugins>
28+
</pluginManagement>
29+
</build>
2030
</project>

server/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<plugin>
2323
<groupId>org.apache.maven.plugins</groupId>
2424
<artifactId>maven-assembly-plugin</artifactId>
25-
<version>3.1.1</version>
25+
<version>3.3.0</version>
2626
<executions>
2727
<execution>
2828
<id>assembly</id>

starter-bot/pom.xml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,34 @@
1717
<version>1.0-SNAPSHOT</version>
1818
</dependency>
1919
</dependencies>
20+
<build>
21+
<plugins>
22+
<plugin>
23+
<groupId>org.apache.maven.plugins</groupId>
24+
<artifactId>maven-assembly-plugin</artifactId>
25+
<version>3.3.0</version>
26+
<executions>
27+
<execution>
28+
<id>assembly</id>
29+
<phase>prepare-package</phase>
30+
<goals>
31+
<goal>single</goal>
32+
</goals>
33+
</execution>
34+
</executions>
35+
<configuration>
36+
<archive>
37+
<manifest>
38+
<mainClass>ru.croccode.hypernull.bot.StarterBot</mainClass>
39+
</manifest>
40+
</archive>
41+
<descriptorRefs>
42+
<descriptorRef>jar-with-dependencies</descriptorRef>
43+
</descriptorRefs>
44+
<finalName>${project.artifactId}</finalName>
45+
<appendAssemblyId>false</appendAssemblyId>
46+
</configuration>
47+
</plugin>
48+
</plugins>
49+
</build>
2050
</project>

0 commit comments

Comments
 (0)