How to build jars from IntelliJ properly?

前端 未结 20 2474
盖世英雄少女心
盖世英雄少女心 2020-11-22 01:14

I have a project that contains a single module, and some dependencies. I\'d like to create a jar, in a separate directory, that contains the compiled module. In addition, I\

20条回答
  •  醉话见心
    2020-11-22 01:43

    If you are working on spring/mvn project you can use this command:

    mvn package -DskipTests
    

    The jar file will be saved on target directoy.

提交回复
热议问题