pom.xml aktualisiert

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

163
pom.xml
View File

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