Thursday, February 19, 2009

Maven and Mercurial: tips on performing a release

If you are using Maven 2 and have a project in source control via Mercurial then you might need this tip. If you do a 'mvn release:prepare' then Maven will try and push the changes and will need auth. Use the sys properties -Dusername= -Dpassword=' to get authenticated. I don't think this is very secure because the properties seem to be plaintext, but eh what can you do?

No comments: