2007/7/23, Michael Meyer <[EMAIL PROTECTED]>:
Hi
In my pom.xml file I have the following scm url:
scm:cvs:pserver:${cvs.username}:[EMAIL PROTECTED]:/cvs/:project
The properties cvs.username and cvs.password are defined in my
settings.xml file. After executing mvn release:prepare my scm url looks
like this:
scm:cvs:pserver:my-username:[EMAIL PROTECTED]:/cvs/:project
Note that ${cvs.username} has been replaces with 'my-username' and
${cvs.password} with 'my-password'.
Is there an other way to make the username and password configurable?
Sure! Use:
mvn release:prepare -Dusername=my_user -Dpassword=my_password
but remember to remove the username and the password from the scm URL.
HTH
Antonio