Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To deploy artifacts you must be a committer and have ssh access to people.apache.org. On Windows, you have to modify your
Maven settings.xml file to indicate what your ssh client is. For
me, this file is in Document And Settings/Administrator/.m2. I added
the following stanza:
<servers>
<server>
<id>staging-repository</id>
<username>alally</username>
<privateKey>c:/alally/keys/alally.ppk</privateKey>
<configuration>
<sshExecutable>plink</sshExecutable>
<scpExecutable>pscp</scpExecutable>
</configuration>
</server>
</servers>

which works if you have putty installed (be sure to point at your own
privateKey file, and start Pageant). I got these instructions from here: http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-ssh-external.html

...