Created
April 16, 2015 13:36
-
-
Save jonashackt/5ad8cf0c5af0b436ae38 to your computer and use it in GitHub Desktop.
Create non-executable jar maven
This file contains 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-jar-plugin</artifactId> | |
<executions> | |
<execution> | |
<phase>package</phase> | |
<goals> | |
<goal>jar</goal> | |
</goals> | |
<configuration> | |
<forceCreation>true</forceCreation> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is for creating a Maven plugin. What about a simple Maven library? @jonashackt