SheepWars/spigot-1.21.0/pom.xml

78 lines
3.2 KiB
XML
Raw Permalink Normal View History

2024-08-09 09:55:06 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
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">
<modelVersion>4.0.0</modelVersion>
2024-08-09 13:50:57 +02:00
2024-08-09 09:55:06 +02:00
<parent>
<groupId>org.ef3d0c3e.sheepwars</groupId>
<artifactId>SheepWars</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
2024-08-10 12:42:30 +02:00
<artifactId>SheepWars-spigot-1.21.0</artifactId>
2024-08-09 09:55:06 +02:00
<properties>
<java.version>22</java.version>
<maven.compiler.source>22</maven.compiler.source>
<maven.compiler.target>22</maven.compiler.target>
2024-08-09 13:50:57 +02:00
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2024-08-09 09:55:06 +02:00
<spigot-version>1.21.1-R0.1-SNAPSHOT</spigot-version>
</properties>
<build>
<plugins>
<plugin>
<groupId>net.md-5</groupId>
<artifactId>specialsource-maven-plugin</artifactId>
2024-08-09 13:50:57 +02:00
<version>2.0.3</version>
2024-08-09 09:55:06 +02:00
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>remap</goal>
</goals>
<id>remap-obf</id>
<configuration>
<srgIn>org.spigotmc:minecraft-server:${spigot-version}:txt:maps-mojang</srgIn>
<reverse>true</reverse>
<remappedDependencies>org.spigotmc:spigot:${spigot-version}:jar:remapped-mojang</remappedDependencies>
<remappedArtifactAttached>true</remappedArtifactAttached>
<remappedClassifierName>remapped-obf</remappedClassifierName>
</configuration>
</execution>
<execution>
<phase>package</phase>
<goals>
<goal>remap</goal>
</goals>
<id>remap-spigot</id>
<configuration>
<inputFile>${project.build.directory}/${project.artifactId}-${project.version}-remapped-obf.jar</inputFile>
<srgIn>org.spigotmc:minecraft-server:${spigot-version}:csrg:maps-spigot</srgIn>
<remappedDependencies>org.spigotmc:spigot:${spigot-version}:jar:remapped-obf</remappedDependencies>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.ef3d0c3e.sheepwars</groupId>
<artifactId>SheepWars-core</artifactId>
<version>1.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>${spigot-version}</version>
<classifier>remapped-mojang</classifier>
<scope>provided</scope>
</dependency>
</dependencies>
</project>