Advertisement
Guest User

Untitled

a guest
Dec 3rd, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1.  
  2. <plugin>
  3. <groupId>org.apache.maven.plugins</groupId>
  4. <artifactId>maven-shade-plugin</artifactId>
  5. <version>3.1.1</version>
  6. <executions>
  7. <execution>
  8. <phase>package</phase>
  9. <goals>
  10. <goal>shade</goal>
  11. </goals>
  12. <configuration>
  13. <minimizeJar>true</minimizeJar>
  14. <createDependencyReducedPom>true</createDependencyReducedPom>
  15. <dependencyReducedPomLocation>
  16. ${java.io.tmpdir}/dependency-reduced-pom.xml
  17. </dependencyReducedPomLocation>
  18. <relocations>
  19. <relocation>
  20. <pattern>com.acme.coyote</pattern>
  21. <shadedPattern>hidden.coyote</shadedPattern>
  22. </relocation>
  23. </relocations>
  24. </configuration>
  25. </execution>
  26. </executions>
  27. </plugin>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement