I discovered that with the upgrade to Maven 3, the ssh wagon is no longer
included by default, which became an issue when I wanted to do an scp based
deployment.

I understand that this issue can be fixed by adding an <extension> reference
to the ssh wagon in the project's pom.xml.  However, this necessarily means
modifying the project's pom.xml.

In the case where I don't control the source of a particular pom.xml but
still wish to build and deploy the project (making use of
altDeploymentRepository to change the deployment target), is there some way
of adding the ssh wagon without modifying the project pom.xml?  I know the
Maven 3.x compatibility notes mention that the wagon can be "declared as a
dependency of the Maven Deploy Plugin" but I'm not sure what that entails or
if that would be helpful in my case.

Thanks,
Brian

Reply via email to