Edit pom.xml via Git Manager GUI

This commit is contained in:
2026-04-01 18:45:23 +00:00
parent ae39780bbb
commit 07d7426c38

250
pom.xml
View File

@@ -1,125 +1,125 @@
<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=" xsi:schemaLocation="
http://maven.apache.org/POM/4.0.0 http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd"> http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>de.viper</groupId> <groupId>de.viper</groupId>
<artifactId>AutoWorldReset</artifactId> <artifactId>AutoWorldReset</artifactId>
<version>1.2</version> <version>1.2</version>
<name>AutoWorldReset</name> <name>AutoWorldReset</name>
<description>Minecraft Plugin für automatisches Welt-Reset mit Multiverse-Core und Cron-Scheduler</description> <description>Minecraft Plugin für automatisches Welt-Reset mit Multiverse-Core und Cron-Scheduler</description>
<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>
<!-- Spigot API --> <!-- Spigot API -->
<dependency> <dependency>
<groupId>org.spigotmc</groupId> <groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId> <artifactId>spigot-api</artifactId>
<version>1.21.5-R0.1-SNAPSHOT</version> <version>1.21.5-R0.1-SNAPSHOT</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<!-- Cron-Utils für Cron Parsing --> <!-- Cron-Utils für Cron Parsing -->
<dependency> <dependency>
<groupId>com.cronutils</groupId> <groupId>com.cronutils</groupId>
<artifactId>cron-utils</artifactId> <artifactId>cron-utils</artifactId>
<version>9.2.0</version> <version>9.2.0</version>
</dependency> </dependency>
<!-- Multiverse-Core (lokal installiert) --> <!-- Multiverse-Core (lokal installiert) -->
<dependency> <dependency>
<groupId>com.onarandombox.multiversecore</groupId> <groupId>com.onarandombox.multiversecore</groupId>
<artifactId>Multiverse-Core</artifactId> <artifactId>Multiverse-Core</artifactId>
<version>5.1.2</version> <version>5.1.2</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<!-- bStats Bukkit Dependency --> <!-- bStats Bukkit Dependency -->
<dependency> <dependency>
<groupId>org.bstats</groupId> <groupId>org.bstats</groupId>
<artifactId>bstats-bukkit</artifactId> <artifactId>bstats-bukkit</artifactId>
<version>3.1.0</version> <version>3.1.0</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<!-- org.json: für JSON Parsing (UpdateChecker) --> <!-- org.json: für JSON Parsing (UpdateChecker) -->
<dependency> <dependency>
<groupId>org.json</groupId> <groupId>org.json</groupId>
<artifactId>json</artifactId> <artifactId>json</artifactId>
<version>20240303</version> <version>20240303</version>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>
<!-- Maven Compiler Plugin --> <!-- Maven Compiler Plugin -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version> <version>3.11.0</version>
<configuration> <configuration>
<source>17</source> <source>17</source>
<target>17</target> <target>17</target>
</configuration> </configuration>
</plugin> </plugin>
<!-- Maven Shade Plugin mit Relocation für bStats --> <!-- Maven Shade Plugin mit Relocation für bStats -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId> <artifactId>maven-shade-plugin</artifactId>
<version>3.5.0</version> <version>3.5.0</version>
<executions> <executions>
<execution> <execution>
<phase>package</phase> <phase>package</phase>
<goals><goal>shade</goal></goals> <goals><goal>shade</goal></goals>
<configuration> <configuration>
<createDependencyReducedPom>false</createDependencyReducedPom> <createDependencyReducedPom>false</createDependencyReducedPom>
<filters> <filters>
<filter> <filter>
<artifact>*:*</artifact> <artifact>*:*</artifact>
<excludes> <excludes>
<exclude>META-INF/*.SF</exclude> <exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude> <exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude> <exclude>META-INF/*.RSA</exclude>
</excludes> </excludes>
</filter> </filter>
</filters> </filters>
<relocations> <relocations>
<relocation> <relocation>
<pattern>org.bstats</pattern> <pattern>org.bstats</pattern>
<!-- Hier deinen Package-Namespace anpassen, z.B. de.viper.shaded.bstats --> <!-- Hier deinen Package-Namespace anpassen, z.B. de.viper.shaded.bstats -->
<shadedPattern>de.viper.shaded.bstats</shadedPattern> <shadedPattern>de.viper.shaded.bstats</shadedPattern>
</relocation> </relocation>
</relocations> </relocations>
<transformers> <transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>de.viper.autoworldreset.AutoWorldReset</mainClass> <mainClass>de.viper.autoworldreset.AutoWorldReset</mainClass>
</transformer> </transformer>
</transformers> </transformers>
</configuration> </configuration>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
</plugins> </plugins>
<resources> <resources>
<resource> <resource>
<directory>src/main/resources</directory> <directory>src/main/resources</directory>
<filtering>true</filtering> <filtering>true</filtering>
<includes> <includes>
<include>plugin.yml</include> <include>plugin.yml</include>
<include>config.yml</include> <include>config.yml</include>
</includes> </includes>
</resource> </resource>
</resources> </resources>
</build> </build>
</project> </project>