In the IDEA project in Maven ordinary packaged into the jar package

1. Open the Project Structure

 

 

 

2、Artifacts -> + -> JAR -> From modules with dependencies...

 

 

 

3, the inlet selection class

 

 

 

4. Select Build Artifacts

 

 

 5, start packing

 

 

6, complete package, you can see the generated jar file in the directory out

 

Guess you like

Origin www.cnblogs.com/lkc9/p/12465917.html