1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-02-25 05:44:45 +01:00

Re-add dependency reduced pom

Learned the correct way to handle that file
This commit is contained in:
Aikar 2016-11-18 21:09:03 -05:00
parent 2b8aa1a8f2
commit 8f3325047c
2 changed files with 11 additions and 1 deletions
Spigot-API-Patches
Spigot-Server-Patches

View file

@ -122,4 +122,14 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.3</version>
@@ -0,0 +0,0 @@
</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>
--

View file

@ -145,7 +145,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
<goal>shade</goal>
</goals>
<configuration>
+ <createDependencyReducedPom>false</createDependencyReducedPom> <!-- Paper -->
+ <dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml</dependencyReducedPomLocation> <!-- Paper -->
<relocations>
- <relocation>
- <pattern>joptsimple</pattern>