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

137 lines
4.9 KiB
Diff
Raw Normal View History

2017-07-17 08:36:27 +08:00
From 69671c3d50b5ad75e2c8f11130e76efc5c676fbb Mon Sep 17 00:00:00 2001
2016-03-01 07:09:49 +08: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
2017-07-17 08:36:27 +08:00
index 0c3bf997..cce94262 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,35 +4,36 @@
<modelVersion>4.0.0</modelVersion>
<parent>
2016-04-24 10:41:46 +08:00
- <groupId>org.sonatype.oss</groupId>
- <artifactId>oss-parent</artifactId>
- <version>9</version>
2016-03-01 07:09:49 +08:00
+ <groupId>com.destroystokyo.paper</groupId>
+ <artifactId>paper-parent</artifactId>
2016-04-24 10:41:46 +08:00
+ <version>dev-SNAPSHOT</version>
2015-01-07 12:13:40 +08:00
</parent>
- <groupId>org.spigotmc</groupId>
- <artifactId>spigot-api</artifactId>
2016-03-01 07:09:49 +08:00
+ <groupId>com.destroystokyo.paper</groupId>
+ <artifactId>paper-api</artifactId>
2017-06-08 22:16:51 +08:00
<version>1.12-R0.1-SNAPSHOT</version>
2015-01-07 12:13:40 +08:00
<packaging>jar</packaging>
- <name>Spigot-API</name>
2015-01-07 12:13:40 +08:00
- <url>http://www.spigotmc.org/</url>
2016-03-01 07:09:49 +08:00
+ <name>Paper-API</name>
2016-09-04 14:26:05 +08:00
+ <url>https://github.com/PaperMC/Paper</url>
2015-01-07 12:13:40 +08: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 - Because Duh... -->
+ <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 18:12:03 +08: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-07 05:49:55 +08:00
+ <url>https://repo.destroystokyo.com/repository/maven-releases/</url>
2016-02-21 18:12:03 +08:00
</repository>
<snapshotRepository>
- <id>spigotmc-snapshots</id>
- <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
+ <id>destroystokyo-snapshots</id>
2016-08-07 05:49:55 +08:00
+ <url>https://repo.destroystokyo.com/repository/maven-snapshots/</url>
2016-02-21 18:12:03 +08:00
</snapshotRepository>
</distributionManagement>
@@ -44,6 +45,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>
@@ -58,6 +66,13 @@
<type>jar</type>
<scope>compile</scope>
</dependency>
2016-11-04 03:28:58 +08:00
+ <!-- bundled with Minecraft, shouldn't ever change -->
+ <dependency>
+ <groupId>com.google.code.findbugs</groupId>
+ <artifactId>jsr305</artifactId>
2016-11-04 03:51:00 +08:00
+ <version>1.3.9</version>
+ <scope>compile</scope>
+ </dependency>
<!-- bundled with Minecraft, should be kept in sync -->
<dependency>
<groupId>com.google.guava</groupId>
@@ -102,6 +117,7 @@
</dependencies>
<build>
+ <defaultGoal>clean install</defaultGoal>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
2017-07-17 08:36:27 +08:00
@@ -121,26 +137,6 @@
</dependencies>
</plugin>
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>animal-sniffer-maven-plugin</artifactId>
2016-11-17 10:23:38 +08:00
- <version>1.15</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>
2017-07-17 08:36:27 +08:00
<version>3.0.0</version>
@@ -153,8 +149,7 @@
</execution>
</executions>
<configuration>
- <!-- utterly useless artifact from shade 2.x -->
- <createDependencyReducedPom>false</createDependencyReducedPom>
+ <dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml</dependencyReducedPomLocation>
<!-- when downloading via Maven we can pull depends individually -->
<shadedArtifactAttached>true</shadedArtifactAttached>
</configuration>
--
2017-07-17 08:36:27 +08:00
2.13.0