pom.xml aktualisiert

This commit is contained in:
2025-08-17 14:54:57 +00:00
parent 3c48a2b5e8
commit c6bde6e962

91
pom.xml
View File

@@ -1,36 +1,26 @@
<?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 xsi:schemaLocation="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>
<parent>
<groupId>com.trafalcraft.antiRedstoneClock</groupId> <groupId>com.trafalcraft.antiRedstoneClock</groupId>
<artifactId>AntiRedstoneClock-Reborn</artifactId> <artifactId>AntiRedstoneClock-Reborn</artifactId>
<version>2.0</version> <version>2.0</version>
<packaging>pom</packaging> </parent>
<name>AntiRedstoneClock</name> <packaging>jar</packaging>
<url>https://www.spigotmc.org/resources/antiredstoneclock.18557</url>
<artifactId>MAIN</artifactId>
<properties> <properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>17</maven.compiler.source> <module.info>-IGNORE</module.info>
<maven.compiler.target>17</maven.compiler.target>
<module.info>-parent</module.info>
<spigot.version>1.21.4-R0.1-SNAPSHOT</spigot.version>
</properties> </properties>
<modules>
<module>MAIN</module>
<module>DIST</module>
</modules>
<repositories> <repositories>
<repository>
<id>central</id>
<url>https://repo.maven.apache.org/maven2</url>
</repository>
<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>
@@ -45,52 +35,51 @@
</repository> </repository>
<repository> <repository>
<id>plotsquared</id> <id>plotsquared</id>
<url>https://repo1.maven.org/maven2/</url> <url>https://plotsquared.com/mvn/</url>
</repository> </repository>
</repositories> </repositories>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.spigotmc</groupId> <groupId>org.bstats</groupId>
<artifactId>spigot-api</artifactId> <artifactId>bstats-bukkit</artifactId>
<version>${spigot.version}</version> <version>3.0.2</version>
<scope>provided</scope> <scope>compile</scope>
</dependency>
<dependency>
<groupId>com.sk89q.worldguard</groupId>
<artifactId>worldguard-bukkit</artifactId>
<version>7.0.14</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.intellectualsites.plotsquared</groupId>
<artifactId>plotsquared-bukkit</artifactId>
<version>7.5.6</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>net.kyori</groupId>
<artifactId>adventure-platform-bukkit</artifactId>
<version>4.4.1</version>
<scope>provided</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<defaultGoal>clean install</defaultGoal> <sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
<finalName>${project.parent.artifactId}${module.info}</finalName> <resources>
<resource>
<directory>${project.basedir}/src/main/resources</directory>
<includes>
<include>plugin.yml</include>
<include>config.yml</include>
</includes>
</resource>
</resources>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-shade-plugin</artifactId>
<version>3.8.1</version> <version>3.6.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration> <configuration>
<source>17</source> <relocations>
<target>17</target> <relocation>
<pattern>org.bstats</pattern>
<shadedPattern>com.trafalcraft.anti_redstone_clock.libs.bstats</shadedPattern>
</relocation>
</relocations>
</configuration> </configuration>
</execution>
</executions>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>