tweaks724/pom.xml

144 lines
5.8 KiB
XML
Raw Normal View History

2024-11-14 18:25:30 +01: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>
<groupId>eu.m724</groupId>
2024-11-18 16:52:57 +01:00
<artifactId>tweaks</artifactId>
2024-11-14 18:25:30 +01:00
<version>1.0-SNAPSHOT</version>
<properties>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
2024-11-20 20:17:26 +01:00
<timestamp>${maven.build.timestamp}</timestamp>
<maven.build.timestamp.format>dd-MM-yyyy</maven.build.timestamp.format>
2024-11-14 18:25:30 +01:00
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2024-11-19 17:40:03 +01:00
<project.spigot.version>1.21.1-R0.1-SNAPSHOT</project.spigot.version>
2024-11-14 18:25:30 +01:00
</properties>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
2024-11-18 16:52:57 +01:00
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.6.0</version>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<minimizeJar>true</minimizeJar>
<artifactSet>
<includes>
<include>eu.m724:tweaks</include>
</includes>
</artifactSet>
<filters>
<filter>
<artifact>*</artifact>
<excludes>
<exclude>META-INF/**</exclude>
</excludes>
</filter>
</filters>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
2024-11-23 17:51:03 +01:00
2024-11-19 17:40:03 +01:00
<plugin>
<groupId>net.md-5</groupId>
<artifactId>specialsource-maven-plugin</artifactId>
<version>2.0.3</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>remap</goal>
</goals>
<id>remap-obf</id>
<configuration>
<srgIn>org.spigotmc:minecraft-server:${project.spigot.version}:txt:maps-mojang</srgIn>
<reverse>true</reverse>
<remappedDependencies>org.spigotmc:spigot:${project.spigot.version}:jar:remapped-mojang</remappedDependencies>
<remappedArtifactAttached>true</remappedArtifactAttached>
<remappedClassifierName>remapped-obf-temp-dont-use</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-temp-dont-use.jar</inputFile>
<srgIn>org.spigotmc:minecraft-server:${project.spigot.version}:csrg:maps-spigot</srgIn>
<remappedDependencies>org.spigotmc:spigot:${project.spigot.version}:jar:remapped-obf</remappedDependencies>
</configuration>
</execution>
</executions>
</plugin>
2024-11-18 16:52:57 +01:00
</plugins>
2024-11-14 18:25:30 +01:00
</build>
<repositories>
<repository>
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository>
2024-11-17 09:48:38 +01:00
<repository>
<id>dmulloy2-repo</id>
<url>https://repo.dmulloy2.net/repository/public/</url>
</repository>
2024-11-19 17:40:03 +01:00
<!-- this repo has no ipv6 so keep that in mind -->
<repository>
<id>maxhenkel-repo</id>
<url>https://maven.maxhenkel.de/repository/public</url>
</repository>
2024-11-14 18:25:30 +01:00
</repositories>
<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
2024-11-19 17:40:03 +01:00
<version>${project.spigot.version}</version>
2024-11-14 18:25:30 +01:00
<scope>provided</scope>
</dependency>
2024-11-15 19:43:42 +01:00
<dependency>
2024-11-19 17:40:03 +01:00
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>${project.spigot.version}</version>
<classifier>remapped-mojang</classifier>
<scope>provided</scope>
2024-11-15 19:43:42 +01:00
</dependency>
2024-11-17 09:48:38 +01:00
<dependency>
<groupId>com.comphenix.protocol</groupId>
<artifactId>ProtocolLib</artifactId>
<version>5.3.0</version>
<scope>provided</scope>
</dependency>
2024-11-19 17:40:03 +01:00
<dependency>
<groupId>de.maxhenkel.voicechat</groupId>
<artifactId>voicechat-api</artifactId>
<version>2.5.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
<version>24.1.0</version>
<scope>compile</scope>
</dependency>
2024-11-14 18:25:30 +01:00
</dependencies>
</project>