|
| 1 | +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 |
| 2 | +From: Zach Brown <zach.brown@destroystokyo.com> |
| 3 | +Date: Tue, 1 Mar 2016 00:16:08 +0100 |
| 4 | +Subject: [PATCH] POM changes |
| 5 | + |
| 6 | + |
| 7 | +diff --git a/pom.xml b/pom.xml |
| 8 | +index debe5bd7adb1f41e8a6878a8545de4bfcad1a590..d7cf64f05d0a2f5b186ca13b2b88e390abe84226 100644 |
| 9 | +--- a/pom.xml |
| 10 | ++++ b/pom.xml |
| 11 | +@@ -2,33 +2,34 @@ |
| 12 | + <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 13 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 14 | + <modelVersion>4.0.0</modelVersion> |
| 15 | ++ <parent> |
| 16 | ++ <groupId>com.destroystokyo.paper</groupId> |
| 17 | ++ <artifactId>paper-parent</artifactId> |
| 18 | ++ <version>dev-SNAPSHOT</version> |
| 19 | ++ </parent> |
| 20 | + |
| 21 | +- <groupId>org.spigotmc</groupId> |
| 22 | +- <artifactId>spigot-api</artifactId> |
| 23 | ++ <groupId>com.destroystokyo.paper</groupId> |
| 24 | ++ <artifactId>paper-api</artifactId> |
| 25 | + <version>1.17-R0.1-SNAPSHOT</version> |
| 26 | + <packaging>jar</packaging> |
| 27 | + |
| 28 | +- <name>Spigot-API</name> |
| 29 | +- <url>https://www.spigotmc.org/</url> |
| 30 | ++ <name>Paper-API</name> |
| 31 | ++ <url>https://github.com/PaperMC/Paper</url> |
| 32 | + <description>An enhanced plugin API for Minecraft servers.</description> |
| 33 | + |
| 34 | + <properties> |
| 35 | +- <skipTests>true</skipTests> |
| 36 | ++ <!-- <skipTests>true</skipTests> Paper - This [was] not going to end well --> |
| 37 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 38 | + <maven.compiler.target>1.8</maven.compiler.target> |
| 39 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 40 | + </properties> |
| 41 | + |
| 42 | +- <distributionManagement> |
| 43 | ++ <repositories> |
| 44 | + <repository> |
| 45 | +- <id>spigotmc-releases</id> |
| 46 | +- <url>https://hub.spigotmc.org/nexus/content/repositories/releases/</url> |
| 47 | ++ <id>sonatype</id> |
| 48 | ++ <url>https://oss.sonatype.org/content/groups/public/</url> |
| 49 | + </repository> |
| 50 | +- <snapshotRepository> |
| 51 | +- <id>spigotmc-snapshots</id> |
| 52 | +- <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url> |
| 53 | +- </snapshotRepository> |
| 54 | +- </distributionManagement> |
| 55 | ++ </repositories> |
| 56 | + |
| 57 | + <dependencies> |
| 58 | + <dependency> |
| 59 | +@@ -37,6 +38,20 @@ |
| 60 | + <version>2.6</version> |
| 61 | + <scope>compile</scope> |
| 62 | + </dependency> |
| 63 | ++ <!-- bundled with Minecraft, shouldn't ever change --> |
| 64 | ++ <dependency> |
| 65 | ++ <groupId>com.google.code.findbugs</groupId> |
| 66 | ++ <artifactId>jsr305</artifactId> |
| 67 | ++ <version>1.3.9</version> |
| 68 | ++ <scope>compile</scope> |
| 69 | ++ </dependency> |
| 70 | ++ <!-- used in previous versions of the API --> |
| 71 | ++ <dependency> |
| 72 | ++ <groupId>com.googlecode.json-simple</groupId> |
| 73 | ++ <artifactId>json-simple</artifactId> |
| 74 | ++ <version>1.1.1</version> |
| 75 | ++ <scope>compile</scope> |
| 76 | ++ </dependency> |
| 77 | + <!-- bundled with Minecraft, should be kept in sync --> |
| 78 | + <dependency> |
| 79 | + <groupId>com.google.guava</groupId> |
| 80 | +@@ -112,6 +127,7 @@ |
| 81 | + </dependencies> |
| 82 | + |
| 83 | + <build> |
| 84 | ++ <defaultGoal>clean install</defaultGoal> |
| 85 | + <plugins> |
| 86 | + <plugin> |
| 87 | + <groupId>net.md-5</groupId> |
| 88 | +@@ -130,10 +146,6 @@ |
| 89 | + <groupId>org.apache.maven.plugins</groupId> |
| 90 | + <artifactId>maven-compiler-plugin</artifactId> |
| 91 | + <version>3.8.1</version> |
| 92 | +- <configuration> |
| 93 | +- <!-- we use the Eclipse compiler as it doesn't need a JDK --> |
| 94 | +- <compilerId>eclipse</compilerId> |
| 95 | +- </configuration> |
| 96 | + <dependencies> |
| 97 | + <dependency> |
| 98 | + <groupId>org.codehaus.plexus</groupId> |
| 99 | +@@ -183,6 +195,7 @@ |
| 100 | + </excludes> |
| 101 | + </filter> |
| 102 | + </filters> |
| 103 | ++ <dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml</dependencyReducedPomLocation> |
| 104 | + <!-- when downloading via Maven we can pull depends individually --> |
| 105 | + <shadedArtifactAttached>true</shadedArtifactAttached> |
| 106 | + </configuration> |
0 commit comments