papermc/Spigot-API-Patches/0001-POM-changes.patch

114 lines
3.9 KiB
Diff
Raw Normal View History

2016-08-06 21:49:55 +00:00
From ff68c81e69c9901714484060fafaba4c06891df6 Mon Sep 17 00:00:00 2001
2016-02-29 23:09:49 +00:00
From: Zach Brown <zach.brown@destroystokyo.com>
Date: Mon, 29 Feb 2016 17:16:08 -0600
Subject: [PATCH] POM changes
diff --git a/pom.xml b/pom.xml
2016-08-06 21:49:55 +00:00
index 217ce0b..ad866cc 100644
--- a/pom.xml
+++ b/pom.xml
2016-02-21 10:12:03 +00:00
@@ -4,35 +4,37 @@
<modelVersion>4.0.0</modelVersion>
<parent>
2016-04-24 02:41:46 +00:00
- <groupId>org.sonatype.oss</groupId>
- <artifactId>oss-parent</artifactId>
- <version>9</version>
2016-02-29 23:09:49 +00:00
+ <groupId>com.destroystokyo.paper</groupId>
+ <artifactId>paper-parent</artifactId>
2016-04-24 02:41:46 +00:00
+ <version>dev-SNAPSHOT</version>
2015-01-07 04:13:40 +00:00
</parent>
- <groupId>org.spigotmc</groupId>
- <artifactId>spigot-api</artifactId>
2016-02-29 23:09:49 +00:00
+ <groupId>com.destroystokyo.paper</groupId>
+ <artifactId>paper-api</artifactId>
2016-06-25 17:19:04 +00:00
<version>1.10.2-R0.1-SNAPSHOT</version>
2015-01-07 04:13:40 +00:00
<packaging>jar</packaging>
- <name>Spigot-API</name>
2015-01-07 04:13:40 +00:00
- <url>http://www.spigotmc.org/</url>
2016-02-29 23:09:49 +00:00
+ <name>Paper-API</name>
+ <url>https://github.com/PaperSpigot/Paper</url>
2015-01-07 04:13:40 +00:00
<description>An enhanced plugin API for Minecraft servers.</description>
<properties>
- <maven.compiler.source>1.6</maven.compiler.source>
- <maven.compiler.target>1.6</maven.compiler.target>
+ <!-- Paper - Bump to 1.8 - This will haunt me -->
+ <additionalparam>-Xdoclint:none</additionalparam>
+ <maven.compiler.source>1.8</maven.compiler.source>
+ <maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
2016-02-21 10:12:03 +00:00
<!-- just until we get deployment to central approved -->
<distributionManagement>
<repository>
- <id>spigotmc-releases</id>
- <url>https://hub.spigotmc.org/nexus/content/repositories/releases/</url>
+ <id>destroystokyo-releases</id>
2016-08-06 21:49:55 +00:00
+ <url>https://repo.destroystokyo.com/repository/maven-releases/</url>
2016-02-21 10:12:03 +00:00
</repository>
<snapshotRepository>
- <id>spigotmc-snapshots</id>
- <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
+ <id>destroystokyo-snapshots</id>
2016-08-06 21:49:55 +00:00
+ <url>https://repo.destroystokyo.com/repository/maven-snapshots/</url>
2016-02-21 10:12:03 +00:00
</snapshotRepository>
</distributionManagement>
@@ -44,6 +46,13 @@
</pluginRepository>
</pluginRepositories>
+ <repositories>
+ <repository>
+ <id>sonatype</id>
+ <url>https://oss.sonatype.org/content/groups/public/</url>
+ </repository>
+ </repositories>
+
<dependencies>
<dependency>
<groupId>commons-lang</groupId>
@@ -107,6 +116,7 @@
</dependencies>
<build>
+ <defaultGoal>clean install</defaultGoal>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -129,26 +139,6 @@
</dependencies>
</plugin>
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>animal-sniffer-maven-plugin</artifactId>
2016-02-29 23:09:49 +00:00
- <version>1.14</version>
- <executions>
- <execution>
- <phase>process-classes</phase>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <signature>
- <groupId>org.codehaus.mojo.signature</groupId>
- <artifactId>java16</artifactId>
- <version>1.1</version>
- </signature>
- </configuration>
- </plugin>
- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
2016-02-29 23:09:49 +00:00
<version>2.4.1</version>
--
2016-08-06 21:49:55 +00:00
2.9.2.windows.1