Posted By

hkarakose on 08/16/11


Tagged

jar maven executable


Versions (?)

Maven Executable Jar File


 / Published in: Java
 

  1. <build>
  2. <plugins>
  3. <plugin>
  4. <groupId>org.apache.maven.plugins</groupId>
  5. <artifactId>maven-jar-plugin</artifactId>
  6. <configuration>
  7. <archive>
  8. <manifest>
  9. <addClasspath>true</addClasspath>
  10. <mainClass>fully.qualified.MainClass</mainClass>
  11. </manifest>
  12. </archive>
  13. </configuration>
  14. </plugin>
  15. </plugins>
  16. </build>

Report this snippet  

You need to login to post a comment.