Thanks.
Is it possible to encrypt values in the settings.xml as well?
The way its done with server ids for the deploy plugin?
/Ludwig

-----Ursprungligt meddelande----- From: Anders Hammar
Sent: Thursday, December 22, 2011 4:17 PM
To: [email protected]
Subject: Re: [mojo-user] [buildnumber] Avoid scm username and password in pom

You could specify "-Dusername=blabla -Dpassword=blabla" on command
line. Or, you could configure these params in the pom to use a
property which you define in your settings.xml. I think the first
solution is cleaner as for the second solution you should always
define a default value for those properties in your pom (which there
isn't as you don't want the credentials in clear text in the pom).

/Anders

On Thu, Dec 22, 2011 at 16:11, Ludwig Magnusson <[email protected]> wrote:
Hi!
I have recently tested the buildnumber plugin and made it work in our
project.
However, since the project is not open source, the scm (svn) cannot be
accessed whthout a username and a password.
Is there any way I can use the buildnumber plugin whthout the need to put a
username/password in clear text in the pom file?

Thanks
/Ludwig

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to