1 How eclipse will package a Java project that references a third-party jar package into a jar file: Using the Eclipse plugin fat Jar Eclipse plug-in
Packaged with the Eclipse Packaging plug-in fat jar Eclipse plug-in , fat jar Eclipse plug-in is an eclipse Java All of project's resources are packaged into a small executable jar file that makes it easy to complete a variety of packaging tasks. This is also the recommended method. First give the official:
Installing plugins
Download Plugin
Fat Jar Eclipse Plug-in official
Installing plugins
After the download is complete, copy the files from the extracted plugins to the plugins directory in the Eclipse installation directory, and then restart Eclipse.
Using plugins
Right-click the Project project and click Build Fat Jarto open the configuration interface as follows:
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Eclipse Common Operations Rollup (constantly updated)