Upload via Git Manager GUI - pom.xml

This commit is contained in:
2026-03-27 09:06:41 +00:00
parent a9d9fedb1f
commit 084510873b

163
pom.xml
View File

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