212 lines
7.4 KiB
XML
212 lines
7.4 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/maven-v4_0_0.xsd">
|
|
<parent>
|
|
<artifactId>ragespigot-parent</artifactId>
|
|
<groupId>gg.ragemc.ragespigot</groupId>
|
|
<version>dev-SNAPSHOT</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>gg.ragemc.ragespigot</groupId>
|
|
<artifactId>ragespigot</artifactId>
|
|
<name>RageSpigot</name>
|
|
<version>1.8.8-R0.1-SNAPSHOT</version>
|
|
<build>
|
|
<defaultGoal>install</defaultGoal>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.lukegb.mojo</groupId>
|
|
<artifactId>gitdescribe-maven-plugin</artifactId>
|
|
<version>1.3</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>initialize</phase>
|
|
<goals>
|
|
<goal>gitdescribe</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<outputPrefix>git-RageSpigot-</outputPrefix>
|
|
<scmDirectory>..</scmDirectory>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>2.5</version>
|
|
<configuration>
|
|
<forceCreation>true</forceCreation>
|
|
<archive>
|
|
<manifestEntries>
|
|
<Main-Class>org.bukkit.craftbukkit.Main</Main-Class>
|
|
<Implementation-Title>CraftBukkit</Implementation-Title>
|
|
<Implementation-Version>${project.version}</Implementation-Version>
|
|
<Implementation-Vendor>Bukkit Team</Implementation-Vendor>
|
|
<Specification-Title>Bukkit</Specification-Title>
|
|
<Specification-Version>${api.version}</Specification-Version>
|
|
<Specification-Vendor>Bukkit Team</Specification-Vendor>
|
|
</manifestEntries>
|
|
<manifestSections>
|
|
<manifestSection>
|
|
<name>net/bukkit/</name>
|
|
<manifestEntries>
|
|
<Sealed>true</Sealed>
|
|
</manifestEntries>
|
|
</manifestSection>
|
|
<manifestSection>
|
|
<name>com/bukkit/</name>
|
|
<manifestEntries>
|
|
<Sealed>true</Sealed>
|
|
</manifestEntries>
|
|
</manifestSection>
|
|
<manifestSection>
|
|
<name>org/bukkit/</name>
|
|
<manifestEntries>
|
|
<Sealed>true</Sealed>
|
|
</manifestEntries>
|
|
</manifestSection>
|
|
</manifestSections>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>2.3</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<relocations>
|
|
<relocation>
|
|
<pattern>joptsimple</pattern>
|
|
<shadedPattern>org.bukkit.craftbukkit.libs.joptsimple</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>jline</pattern>
|
|
<shadedPattern>org.bukkit.craftbukkit.libs.jline</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>org.ibex</pattern>
|
|
<shadedPattern>org.bukkit.craftbukkit.libs.org.ibex</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>org.gjt</pattern>
|
|
<shadedPattern>org.bukkit.craftbukkit.libs.org.gjt</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>org.bukkit.craftbukkit</pattern>
|
|
<shadedPattern>org.bukkit.craftbukkit.v${minecraft_version}</shadedPattern>
|
|
<excludes>
|
|
<exclude>org.bukkit.craftbukkit.Main*</exclude>
|
|
</excludes>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>net.minecraft.server</pattern>
|
|
<shadedPattern>net.minecraft.server.v${minecraft_version}</shadedPattern>
|
|
</relocation>
|
|
</relocations>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>net.md-5</groupId>
|
|
<artifactId>specialsource-maven-plugin</artifactId>
|
|
<version>1.2.1</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>remap</goal>
|
|
</goals>
|
|
<configuration>
|
|
<srgIn>${project.basedir}/deprecation-mappings.csrg</srgIn>
|
|
<accessIn>${project.basedir}/deprecation-mappings.at</accessIn>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.1</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
<artifactId>plexus-compiler-eclipse</artifactId>
|
|
<version>2.5.0-spigotmc</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<configuration>
|
|
<compilerId>eclipse</compilerId>
|
|
<optimize>true</optimize>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.18</version>
|
|
<configuration>
|
|
<workingDirectory>${basedir}/target/test-server</workingDirectory>
|
|
<excludes>
|
|
<exclude>org/bukkit/craftbukkit/inventory/ItemStack*Test.java</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<repositories>
|
|
<repository>
|
|
<id>mc-repo</id>
|
|
<url>http://maven.elmakers.com/repository/</url>
|
|
</repository>
|
|
</repositories>
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>spigotmc-public</id>
|
|
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
|
|
</pluginRepository>
|
|
<pluginRepository>
|
|
<id>destroystokyo</id>
|
|
<url>https://ci.destroystokyo.com/plugin/repository/everything/</url>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.11</version>
|
|
<scope>test</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>hamcrest-core</artifactId>
|
|
<groupId>org.hamcrest</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hamcrest</groupId>
|
|
<artifactId>hamcrest-library</artifactId>
|
|
<version>1.3</version>
|
|
<scope>test</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>hamcrest-core</artifactId>
|
|
<groupId>org.hamcrest</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
</dependencies>
|
|
<properties>
|
|
<minecraft.version>1.8.8</minecraft.version>
|
|
<junit.version>4.11</junit.version>
|
|
<api.version>unknown</api.version>
|
|
<minecraft_version>1_8_R3</minecraft_version>
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<buildtag.prefix>git-Bukkit-</buildtag.prefix>
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
</properties>
|
|
</project>
|
|
|