Hi Antonio,
works great. Thanks a lot. Like this I can even use my properties in the
maven-release-plugin configuration section.
Cheers, michael
Antonio Petrelli wrote:
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
--
Michael Meyer | [EMAIL PROTECTED]
phone +41-44-247 79 12 | fax +41-44-247 70 75
Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]