Maven Wagon SSH: public key with passphrase

We created a short patch to the Maven Wagon SSH provider. The standard provider allows you to use a passphrase, but it has to reside (in clear text) in your settings.xml file. To avoid this problem, if the passphrase is an empty string, the modified version of the wagon will prompt you for the passphrase in a Swing options pane.

You can apply the patch to the Wagon SSH source code (we used the 1.0-beta-2 version as the base), or add the following snippet to your POM files to use the binary artifact.

        <name>ServeBox Repository</name>
Print This Post Print This Post Wednesday, November 12th, 2008 Maven, Tips by Jeff Mathiot

No comments yet.

Leave a comment

You must be logged in to post a comment.