I currently use the below commands to prepare my java application:
mvn clean compile package dependency:copy-dependencies Then I manually copy the files with: cp target/myapp-1.0-SNAPSHOT.jar /mnt/remote_app/myapp.jar cp target/dependency/* /mnt/remote_app/libs/ I'm wondering: 1) what plugin would be best to do the copy command for me? 2) is there a single command I can do to perform all the tasks above? Peter