pom.xml aktualisiert

This commit is contained in:
2025-08-11 15:28:56 +00:00
parent e2272bed54
commit 1cd266385b

169
pom.xml
View File

@@ -1,75 +1,94 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>de.m-viper</groupId> <groupId>de.m-viper</groupId>
<artifactId>PlayerStatusSign-reloaded</artifactId> <artifactId>PlayerStatusSign-reloaded</artifactId>
<version>1.2</version> <version>1.3</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>PlayerStatusSign</name> <name>PlayerStatusSign</name>
<properties> <properties>
<maven.compiler.source>17</maven.compiler.source> <maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target> <maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties> </properties>
<repositories> <repositories>
<repository> <repository>
<id>spigot-repo</id> <id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url> <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository> </repository>
</repositories> </repositories>
<dependencies> <dependencies>
<dependency> <!-- Spigot API -->
<groupId>org.spigotmc</groupId> <dependency>
<artifactId>spigot-api</artifactId> <groupId>org.spigotmc</groupId>
<version>1.21.5-R0.1-SNAPSHOT</version> <artifactId>spigot-api</artifactId>
<scope>provided</scope> <version>1.21.5-R0.1-SNAPSHOT</version>
</dependency> <scope>provided</scope>
</dependencies> </dependency>
<build> <!-- bStats Bukkit -->
<plugins> <dependency>
<plugin> <groupId>org.bstats</groupId>
<groupId>org.apache.maven.plugins</groupId> <artifactId>bstats-bukkit</artifactId>
<artifactId>maven-compiler-plugin</artifactId> <version>3.0.2</version>
<version>3.8.1</version> <scope>compile</scope>
<configuration> </dependency>
<source>17</source> </dependencies>
<target>17</target>
</configuration> <build>
</plugin> <plugins>
<plugin> <!-- Compiler Plugin -->
<groupId>org.apache.maven.plugins</groupId> <plugin>
<artifactId>maven-shade-plugin</artifactId> <groupId>org.apache.maven.plugins</groupId>
<version>3.2.4</version> <artifactId>maven-compiler-plugin</artifactId>
<executions> <version>3.8.1</version>
<execution> <configuration>
<phase>package</phase> <source>17</source>
<goals> <target>17</target>
<goal>shade</goal> </configuration>
</goals> </plugin>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom> <!-- Shade Plugin mit Relocation von bStats -->
</configuration> <plugin>
</execution> <groupId>org.apache.maven.plugins</groupId>
</executions> <artifactId>maven-shade-plugin</artifactId>
</plugin> <version>3.3.0</version>
</plugins> <executions>
<resources> <execution>
<resource> <phase>package</phase>
<directory>src/main/resources</directory> <goals>
<filtering>true</filtering> <goal>shade</goal>
<includes> </goals>
<include>plugin.yml</include> <configuration>
<include>config.yml</include> <createDependencyReducedPom>false</createDependencyReducedPom>
</includes> <relocations>
</resource> <relocation>
</resources> <pattern>org.bstats</pattern>
</build> <shadedPattern>de.m.viper.shaded.bstats</shadedPattern>
</project> </relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>plugin.yml</include>
<include>config.yml</include>
</includes>
</resource>
</resources>
</build>
</project>