executable jar with dependencies using maven

This question already has an answer here:

  • How can I create an executable JAR with dependencies using Maven? 33 answers

  • As per request in the comments I post this answer:

    The jar is built using the maven-jar-plugin, so you can just specify the main-class to it as per the documentation: http://maven.apache.org/shared/maven-archiver/examples/classpath.html

    链接地址: http://www.djcxy.com/p/29632.html

    上一篇: 找不到课程

    下一篇: 可执行jar与依赖使用maven