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

View File

@ -122,4 +122,14 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId> <artifactId>maven-shade-plugin</artifactId>
<version>2.4.3</version> <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> <goal>shade</goal>
</goals> </goals>
<configuration> <configuration>
+ <createDependencyReducedPom>false</createDependencyReducedPom> <!-- Paper --> + <dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml</dependencyReducedPomLocation> <!-- Paper -->
<relocations> <relocations>
- <relocation> - <relocation>
- <pattern>joptsimple</pattern> - <pattern>joptsimple</pattern>