276 lines
9.5 KiB
XML
276 lines
9.5 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>paperspigot-parent</artifactId>
|
|
<groupId>org.github.paperspigot</groupId>
|
|
<version>dev-SNAPSHOT</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>gg.manny</groupId>
|
|
<artifactId>genericspigot</artifactId>
|
|
<name>GenericSpigot</name>
|
|
<version>1.7.10-R0.1-SNAPSHOT</version>
|
|
<url>https://github.com/PaperSpigot/Spigot</url>
|
|
<build>
|
|
<defaultGoal>install</defaultGoal>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>net.md-5</groupId>
|
|
<artifactId>scriptus</artifactId>
|
|
<version>0.2</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>initialize</phase>
|
|
<goals>
|
|
<goal>describe</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<format>git-Bukkit-%s</format>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>net.md-5</groupId>
|
|
<artifactId>scriptus</artifactId>
|
|
<version>0.2</version>
|
|
<executions>
|
|
<execution>
|
|
<id>ex-paperspigot</id>
|
|
<phase>initialize</phase>
|
|
<goals>
|
|
<goal>describe</goal>
|
|
</goals>
|
|
<configuration>
|
|
<format>git-GenericSpigot-%s</format>
|
|
<scmDirectory>../</scmDirectory>
|
|
<descriptionProperty>paperspigot.desc</descriptionProperty>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>2.5</version>
|
|
<configuration>
|
|
<archive>
|
|
<manifestEntries>
|
|
<Main-Class>org.bukkit.craftbukkit.Main</Main-Class>
|
|
<Implementation-Title>CraftBukkit</Implementation-Title>
|
|
<Implementation-Version>${paperspigot.desc}</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>
|
|
<Sealed>true</Sealed>
|
|
<Timestamp>${maven.build.timestamp}</Timestamp>
|
|
</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>org.bouncycastle</pattern>
|
|
<shadedPattern>net.minecraft.v${minecraft_version}.org.bouncycastle</shadedPattern>
|
|
</relocation>
|
|
<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>com.google.gson</pattern>
|
|
<shadedPattern>org.bukkit.craftbukkit.libs.com.google.gson</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>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.8.0</version>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
<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/updater/BukkitDLUpdaterServiceTest.java</exclude>
|
|
<exclude>org/bukkit/craftbukkit/inventory/ItemStack*Test.java</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>2.4.3</version>
|
|
<executions>
|
|
<execution>
|
|
<id>maps-file</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>copy-resources</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${basedir}/target</outputDirectory>
|
|
<resources>
|
|
<resource>
|
|
<directory>${basedir}</directory>
|
|
<filtering>true</filtering>
|
|
<includes>
|
|
<include>maps.yml</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
</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>
|
|
</plugins>
|
|
</build>
|
|
<repositories>
|
|
<repository>
|
|
<id>repobo-snap</id>
|
|
<url>http://repo.bukkit.org/content/groups/public</url>
|
|
</repository>
|
|
<repository>
|
|
<id>jcenter</id>
|
|
<name>jcenter-bintray</name>
|
|
<url>http://jcenter.bintray.com</url>
|
|
</repository>
|
|
</repositories>
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>bukkit-plugins</id>
|
|
<url>http://repo.bukkit.org/content/groups/public</url>
|
|
</pluginRepository>
|
|
<pluginRepository>
|
|
<id>destroystokyo</id>
|
|
<url>https://ci.destroystokyo.com/plugin/repository/everything/</url>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>1.16.6</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<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.7.10</minecraft.version>
|
|
<junit.version>4.11</junit.version>
|
|
<api.version>unknown</api.version>
|
|
<minecraft_version>1_7_R4</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>
|
|
<paperspigot.desc>unknown</paperspigot.desc>
|
|
</properties>
|
|
</project>
|
|
|