简体   繁体   中英

Netbeans Maven project - deploy including dependencies

When I clean & build the maven based project in Netbeans the dependencies are not copied to the target folder.

So when I try to run the application on another machine it will not work.

How can I include all dependencies into the /target folder and have them linked so that they will be found when the application runs on another machine?

You have to use a plugin like org.codehaus.mojo:appassembler-maven-plugin to create a distributable programm. This plugin copies all dependencies needed.

Please read the documentation for more information.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM