Reputation: 133
How can I copy all the dependencies to remote server? I've tried below one but it will be useful if we want to copy dependencies to our local path.
Is this possible to move all my project dependencies to remote path?
Upvotes: 1
Views: 522
Reputation: 5265
The wagon-maven-plugin allows you to do that. It supports HTTP, FTP, SSH/SCP and WebDAV. To upload all your dependencies, you first need to copy them to a directory with the maven-dependency-plugin (goal copy-dependencies). In a second step you could use the wagon plugin's upload goal to copy them to your remote location.
Upvotes: 2