Just figured out the procedure to deploy Maven snapshots to
objectstyle.org using WebDAV and basic authentication with Jira
passwords. Initial setup is rather involved. After that it should be
ok. Here are the steps:
1. You must be a committer of WOProject to have the right permissions
2. Download wagon-webdav libs and stick them in your Maven
installation ([1], follow Carlos Sanchez comments, not the text of
the article)
3. Install ObjectStyle.org self-signed certificate in your local
Java .keystore file [2] (otherwise Java will refuse to accept it).
4. Set MAVEN_OPTS in ~/.mavenrc to something like this, depending on
how you created the keystore in the previous step:
MAVEN_OPTS="-Djavax.net.ssl.trustStore=/Users/me/.keystore -
Djavax.net.ssl.trustStorePassword=xxxx"
5. Finally, add your jira user id and password for the objectstyle
server in your ~/.m2/settings.xml. Unfortunately I couldn't figure
out how to avoid storing plaintext password in a file. Maven would
not prompt for it (and will not even obfuscate the password). If
anybody knows of a better way, please share (on the other hand this
is no worse that storing a private key in a file...)
from settings.xml....
<server>
<id>objectstyle</id>
<username>me</username>
<password>mypassword</password>
</server>
Andrus
[1] http://docs.codehaus.org/display/MAVENUSER/Deploying+3rd+Party
+Jars+With+WebDAV
[2] http://confluence.atlassian.com/display/JIRA/Connecting+to+SSL
+services
This archive was generated by hypermail 2.0.0 : Tue Nov 21 2006 - 19:14:36 EST