Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <version>3.1.1</version>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
- <configuration>
- <minimizeJar>true</minimizeJar>
- <createDependencyReducedPom>true</createDependencyReducedPom>
- <dependencyReducedPomLocation>
- ${java.io.tmpdir}/dependency-reduced-pom.xml
- </dependencyReducedPomLocation>
- <relocations>
- <relocation>
- <pattern>com.acme.coyote</pattern>
- <shadedPattern>hidden.coyote</shadedPattern>
- </relocation>
- </relocations>
- </configuration>
- </execution>
- </executions>
- </plugin>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement