Created
May 24, 2013 20:35
-
-
Save bchetty/5646343 to your computer and use it in GitHub Desktop.
Maven-Shade plugin usage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupid>org.apache.maven.plugins</groupId> | |
| <artifactid>maven-shade-plugin</artifactId> | |
| <version>1.4</version> | |
| <executions> | |
| <execution> | |
| <phase>package</phase> | |
| <goals> | |
| <goal>shade</goal> | |
| </goals> | |
| <configuration> | |
| <transformers> | |
| <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> | |
| <mainclass>Main Class of the jar file</mainClass> | |
| </transformer> | |
| </transformers> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment