Use IDEA project or the specified module labeled JAR package

1, the use of IDEA for the entire project package

Packing the following steps:

1.1 File->Project Structure

1.2 Artifacts->JAR->From modules with dependencies

1.3 For example, all modules may be packaged, the package JAR entry function may be selected, or may not be selected from the group, comprising outgoing dependent JAR JAR

1.4 Build->Build Artifacts

 

1.5 modules need to select an item or package, click Build packaged, the package is completed usually find just lay JAR under the project classes folder

 

 

2, using the specified module package IDEA

The entire project is similar to the packaging step, not repeat them.

Guess you like

Origin www.cnblogs.com/hai-feng/p/12302073.html