How can i use my own wagon to deploy 3rd party packages to my remote repository?
For example i can deploy a 3rd party package without altering pom.xml using the following command.
mvn deploy -DaltDeploymentRepository=thirdparty::default::http://myremoserver.com/mavenrepository/thirdparty -f thirpartpomfile -Dmaven.install.skip=true -Dmaven.test.skip=true
How can i tell maven to use a specific wagon for deploying packages? Can i pass some command line argument or add some entry to settings.xml?
How can i do the same for gradle?