Created
August 7, 2011 14:21
-
-
Save tranminhan/1130408 to your computer and use it in GitHub Desktop.
Add Main-Class to manifest
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
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-jar-plugin</artifactId> | |
<configuration> | |
<archive> | |
<manifest> | |
<mainClass>com.someclass.Main</mainClass> | |
<packageName>com.someclass</packageName> | |
</manifest> | |
<manifestEntries> | |
<mode>development</mode> | |
<url>${pom.url}</url> | |
</manifestEntries> | |
</archive> | |
</configuration> | |
</plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment