173 lines
		
	
	
		
			No EOL
		
	
	
		
			6.7 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			173 lines
		
	
	
		
			No EOL
		
	
	
		
			6.7 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
<?xml version="1.0" encoding="UTF-8"?>
 | 
						|
<!--
 | 
						|
  ~ Copyright (C) 2025  Minecon724
 | 
						|
  ~ Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file
 | 
						|
  ~ in the project root for the full license text.
 | 
						|
  -->
 | 
						|
 | 
						|
<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>
 | 
						|
    <artifactId>tweaks</artifactId>
 | 
						|
    <version>0.1.13</version>
 | 
						|
 | 
						|
    <properties>
 | 
						|
        <maven.compiler.source>21</maven.compiler.source>
 | 
						|
        <maven.compiler.target>21</maven.compiler.target>
 | 
						|
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 | 
						|
 | 
						|
        <project.craftbukkit.version>v1_21_R3</project.craftbukkit.version>
 | 
						|
        <project.minecraft.version>1.21.4</project.minecraft.version>
 | 
						|
        <project.spigot.version>${project.minecraft.version}-R0.1-SNAPSHOT</project.spigot.version>
 | 
						|
    </properties>
 | 
						|
 | 
						|
    <build>
 | 
						|
        <finalName>${project.artifactId}-${project.version}+${project.minecraft.version}</finalName>
 | 
						|
        <resources>
 | 
						|
            <resource>
 | 
						|
                <directory>src/main/resources</directory>
 | 
						|
                <filtering>true</filtering>
 | 
						|
            </resource>
 | 
						|
        </resources>
 | 
						|
        <plugins>
 | 
						|
            <plugin>
 | 
						|
                <groupId>org.apache.maven.plugins</groupId>
 | 
						|
                <artifactId>maven-antrun-plugin</artifactId>
 | 
						|
                <version>3.1.0</version>
 | 
						|
                <executions>
 | 
						|
                    <execution>
 | 
						|
                        <id>custom-nms-version</id>
 | 
						|
                        <phase>generate-sources</phase>
 | 
						|
                        <goals>
 | 
						|
                            <goal>run</goal>
 | 
						|
                        </goals>
 | 
						|
                        <configuration>
 | 
						|
                            <target>
 | 
						|
                                <replace token="v1_21_R3" value="${project.craftbukkit.version}" dir="src/main">
 | 
						|
                                    <include name="**/*.java" />
 | 
						|
                                </replace>
 | 
						|
                            </target>
 | 
						|
                        </configuration>
 | 
						|
                    </execution>
 | 
						|
                    <execution>
 | 
						|
                        <id>cleanup-custom-nms-version</id>
 | 
						|
                        <phase>package</phase>
 | 
						|
                        <goals>
 | 
						|
                            <goal>run</goal>
 | 
						|
                        </goals>
 | 
						|
                        <configuration>
 | 
						|
                            <target>
 | 
						|
                                <replace token="${project.craftbukkit.version}" value="v1_21_R3" dir="src/main">
 | 
						|
                                    <include name="**/*.java" />
 | 
						|
                                </replace>
 | 
						|
                            </target>
 | 
						|
                        </configuration>
 | 
						|
                    </execution>
 | 
						|
                </executions>
 | 
						|
            </plugin>
 | 
						|
 | 
						|
            <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>
 | 
						|
                            <remappedDependencies>org.spigotmc:spigot:${project.spigot.version}:jar:remapped-mojang</remappedDependencies>
 | 
						|
                            <reverse>true</reverse>
 | 
						|
                        </configuration>
 | 
						|
                    </execution>
 | 
						|
                    <execution>
 | 
						|
                        <phase>package</phase>
 | 
						|
                        <goals>
 | 
						|
                            <goal>remap</goal>
 | 
						|
                        </goals>
 | 
						|
                        <id>remap-spigot</id>
 | 
						|
                        <configuration>
 | 
						|
                            <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>
 | 
						|
 | 
						|
            <plugin>
 | 
						|
                <groupId>org.apache.maven.plugins</groupId>
 | 
						|
                <artifactId>maven-release-plugin</artifactId>
 | 
						|
                <version>3.1.1</version>
 | 
						|
                <configuration>
 | 
						|
                    <allowTimestampedSnapshots>true</allowTimestampedSnapshots>
 | 
						|
                </configuration>
 | 
						|
            </plugin>
 | 
						|
        </plugins>
 | 
						|
    </build>
 | 
						|
 | 
						|
    <repositories>
 | 
						|
        <repository>
 | 
						|
            <id>spigot-repo</id>
 | 
						|
            <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
 | 
						|
        </repository>
 | 
						|
        <repository>
 | 
						|
            <id>dmulloy2-repo</id>
 | 
						|
            <url>https://repo.dmulloy2.net/repository/public/</url>
 | 
						|
        </repository>
 | 
						|
        <repository>
 | 
						|
            <id>m724-repo</id>
 | 
						|
            <url>https://git.m724.eu/api/packages/Minecon724/maven</url>
 | 
						|
        </repository>
 | 
						|
    </repositories>
 | 
						|
 | 
						|
    <dependencies>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.spigotmc</groupId>
 | 
						|
            <artifactId>spigot-api</artifactId>
 | 
						|
            <version>1.21.1-R0.1-SNAPSHOT</version>
 | 
						|
            <scope>provided</scope>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.spigotmc</groupId>
 | 
						|
            <artifactId>spigot</artifactId>
 | 
						|
            <version>${project.spigot.version}</version>
 | 
						|
            <classifier>remapped-mojang</classifier>
 | 
						|
            <scope>provided</scope>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>com.comphenix.protocol</groupId>
 | 
						|
            <artifactId>ProtocolLib</artifactId>
 | 
						|
            <version>5.3.0</version>
 | 
						|
            <scope>provided</scope>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>eu.m724</groupId>
 | 
						|
            <artifactId>mstats-spigot</artifactId>
 | 
						|
            <version>0.1.0</version>
 | 
						|
            <scope>provided</scope>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.jetbrains</groupId>
 | 
						|
            <artifactId>annotations</artifactId>
 | 
						|
            <version>24.1.0</version>
 | 
						|
            <scope>compile</scope>
 | 
						|
        </dependency>
 | 
						|
    </dependencies>
 | 
						|
 | 
						|
 | 
						|
    <distributionManagement>
 | 
						|
        <repository>
 | 
						|
            <id>m724</id>
 | 
						|
            <url>https://git.m724.eu/api/packages/Minecon724/maven</url>
 | 
						|
        </repository>
 | 
						|
    </distributionManagement>
 | 
						|
 | 
						|
    <scm>
 | 
						|
        <developerConnection>scm:git:git@git.m724.eu:Minecon724/tweaks724.git</developerConnection>
 | 
						|
        <tag>tweaks-0.1.13</tag>
 | 
						|
    </scm>
 | 
						|
</project> |