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

107 lines
4.1 KiB
Diff
Raw Normal View History

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2016-03-01 07:09:49 +08:00
From: Zach Brown <zach.brown@destroystokyo.com>
2017-08-03 22:36:06 +08:00
Date: Tue, 1 Mar 2016 00:16:08 +0100
Subject: [PATCH] POM changes
diff --git a/pom.xml b/pom.xml
index 5f3253b9c4a533e746707d602d4a7988519742ef..61b8ee4e3e122dd2671f50ea3b432e4abd4600a2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2,33 +2,34 @@
2019-05-14 10:20:58 +08:00
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2017-08-06 06:36:47 +08:00
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>
2017-08-06 06:36:47 +08:00
+ <parent>
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>
2017-08-06 06:36:47 +08:00
+ </parent>
2019-05-14 10:20:58 +08:00
- <groupId>org.spigotmc</groupId>
- <artifactId>spigot-api</artifactId>
2019-04-23 12:47:07 +08:00
+ <groupId>com.destroystokyo.paper</groupId>
2016-03-01 07:09:49 +08:00
+ <artifactId>paper-api</artifactId>
<version>1.16.5-R0.1-SNAPSHOT</version>
2015-01-07 12:13:40 +08:00
<packaging>jar</packaging>
- <name>Spigot-API</name>
2017-08-06 06:36:47 +08:00
- <url>https://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>
- <skipTests>true</skipTests>
+ <!-- <skipTests>true</skipTests> Paper - This [was] not going to end well -->
2019-05-06 10:58:04 +08:00
<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>
2018-09-23 00:58:09 +08:00
- <distributionManagement>
+ <repositories>
<repository>
2016-02-21 18:12:03 +08:00
- <id>spigotmc-releases</id>
- <url>https://hub.spigotmc.org/nexus/content/repositories/releases/</url>
+ <id>sonatype</id>
+ <url>https://oss.sonatype.org/content/groups/public/</url>
</repository>
2018-09-23 00:58:09 +08:00
- <snapshotRepository>
2016-02-21 18:12:03 +08:00
- <id>spigotmc-snapshots</id>
- <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
2018-09-23 00:58:09 +08:00
- </snapshotRepository>
- </distributionManagement>
+ </repositories>
<dependencies>
<dependency>
@@ -37,6 +38,20 @@
2019-04-23 12:47:07 +08:00
<version>2.6</version>
<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>
2019-04-23 12:47:07 +08:00
+ </dependency>
+ <!-- used in previous versions of the API -->
+ <dependency>
+ <groupId>com.googlecode.json-simple</groupId>
+ <artifactId>json-simple</artifactId>
+ <version>1.1.1</version>
+ <scope>compile</scope>
+ </dependency>
<!-- bundled with Minecraft, should be kept in sync -->
<dependency>
<groupId>com.google.guava</groupId>
@@ -93,6 +108,7 @@
</dependencies>
<build>
+ <defaultGoal>clean install</defaultGoal>
<plugins>
<plugin>
<groupId>net.md-5</groupId>
@@ -111,10 +127,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
2019-12-11 07:56:33 +08:00
<version>3.8.1</version>
- <configuration>
- <!-- we use the Eclipse compiler as it doesn't need a JDK -->
- <compilerId>eclipse</compilerId>
- </configuration>
<dependencies>
<dependency>
<groupId>org.codehaus.plexus</groupId>
@@ -164,6 +176,7 @@
</excludes>
</filter>
</filters>
+ <dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml</dependencyReducedPomLocation>
<!-- when downloading via Maven we can pull depends individually -->
<shadedArtifactAttached>true</shadedArtifactAttached>
</configuration>