Hi Brian

You can add wagon-ssh libary to the M2_HOME/lib directory. I didn't
test this configuration but it should work.

Marcin

On 27 January 2011 00:53, Brian Ferris <[email protected]> wrote:
> 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
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to