Added maven shade process

This commit is contained in:
2025-07-29 23:40:21 +00:00
parent 6fcb93d204
commit 211b530f33
8 changed files with 45 additions and 33 deletions

40
pom.xml
View File

@@ -6,7 +6,34 @@
<groupId>systems.reslate.entertainment.spigotresourcesync</groupId>
<artifactId>spigotresourcesync</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.0.1-SNAPSHOT</version>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.6.0</version>
<configuration>
<artifactSet>
<excludes>
<exclude>org.junit.jupiter:junit-jupiter-engine</exclude>
<exclude>org.apache.maven:lib:tests</exclude>
<exclude>org.spigotmc:spigot-api</exclude>
</excludes>
</artifactSet>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<properties>
<maven.compiler.source>21</maven.compiler.source>
@@ -24,7 +51,7 @@
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.20.4-R0.1-SNAPSHOT</version>
<version>1.21.4-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
@@ -35,17 +62,12 @@
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-yaml</artifactId>
<version>2.18.0</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jsr310</artifactId>
<version>2.18.0</version>
<version>2.19.2</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.18.0</version>
<version>2.19.2</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>