mirror of
https://github.com/songoda/SongodaCore.git
synced 2024-11-27 12:35:12 +01:00
106 lines
3.8 KiB
XML
106 lines
3.8 KiB
XML
<?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>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<source>${java.version}</source>
|
|
<target>${java.version}</target>
|
|
|
|
<release>${java.release}</release>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>net.md-5</groupId>
|
|
<artifactId>specialsource-maven-plugin</artifactId>
|
|
<version>1.2.4</version>
|
|
|
|
<executions>
|
|
<execution>
|
|
<id>remap-obf</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>remap</goal>
|
|
</goals>
|
|
|
|
<configuration>
|
|
<srgIn>org.spigotmc:minecraft-server:${nms.ver}:txt:maps-mojang</srgIn>
|
|
<reverse>true</reverse>
|
|
<remappedDependencies>org.spigotmc:spigot:${nms.ver}:jar:remapped-mojang</remappedDependencies>
|
|
<remappedArtifactAttached>true</remappedArtifactAttached>
|
|
<remappedClassifierName>remapped-obf</remappedClassifierName>
|
|
</configuration>
|
|
</execution>
|
|
|
|
<execution>
|
|
<id>remap-spigot</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>remap</goal>
|
|
</goals>
|
|
|
|
<configuration>
|
|
<inputFile>${project.build.directory}/${project.artifactId}-${project.version}-remapped-obf.jar</inputFile>
|
|
<srgIn>org.spigotmc:minecraft-server:${nms.ver}:csrg:maps-spigot</srgIn>
|
|
<remappedDependencies>org.spigotmc:spigot:${nms.ver}:jar:remapped-obf</remappedDependencies>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<parent>
|
|
<groupId>com.songoda</groupId>
|
|
<artifactId>SongodaCore-Modules</artifactId>
|
|
<version>2.6.19-DEV</version>
|
|
<relativePath>../../pom.xml</relativePath>
|
|
</parent>
|
|
|
|
<properties>
|
|
<java.version>17</java.version>
|
|
<java.release>17</java.release>
|
|
|
|
<nms.ver>1.18.2-R0.1-SNAPSHOT</nms.ver>
|
|
</properties>
|
|
|
|
<artifactId>SongodaCore-NMS-v1_18_R2</artifactId>
|
|
<packaging>jar</packaging>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.spigotmc</groupId>
|
|
<artifactId>spigot-api</artifactId>
|
|
<version>${nms.ver}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.spigotmc</groupId>
|
|
<artifactId>spigot</artifactId>
|
|
<version>${nms.ver}</version>
|
|
<scope>provided</scope>
|
|
<classifier>remapped-mojang</classifier>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>SongodaCore-NMS-API</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>SongodaCore-Compatibility</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|