[EMAIL PROTECTED] a écrit :
Hi,
-----Original Message-----
From: ext Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: 25 April, 2006 13:13
I've tried to put the password in the pom (in the
developerConnection url) and that worked :-) Is there another way?
yes :-)
You can define them in your settings.xml, in <servers> part like this:
<servers>
<server>
<id>your_host</id> You can use your_host:your_port, if
a port is defined in your scm url
<username>user<username>
<password>password</password>
</server>
</servers>
How does the scm url have to look like in this case? I tried:
scm:cvs:pserver:@localhost:/cvs:jsr264-private/oss_om_distribution
And
scm:cvs:pserver:localhost:/cvs:jsr264-private/oss_om_distribution
But none of them worked. BTW settings.xml:
What is your error?
these scm urls are valid when you run scm:validate.
<settings>
<proxies>
<proxy>
<active>true</active>
<protocol>http</protocol>
<host>172.25.112.90</host>
<port>8080</port>
</proxy>
</proxies>
<servers>
<server>
<id>localhost</id>
<username>aebbert</username>
<password>XXXXXX</password>
</server>
</servers>
</settings>
So my next tasks are:
1) use the preferences and profiles as you suggested to move
the url out of the POM.
2) make the first steps to connect to scm with my own plugin *scary*
Why do you create your own scm plugin?
BTW: something comparable to this:
https://maven-javanet-plugin.dev.java.net/nonav/maven/goals/site.html
But for maven2.
You can look at maven-scm plugin code for api usage.
Merci beaucoup, for all your quick and valuable feedback. I really appreciate
it!
_ __ _ _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
`- `
Andreas Ebbert-Karroum
Software Design Engineer - Nokia Networks Services / Middleware
phone: +49-211-94123928, fax: +49-211-9412-3838
Heltorfer Straße 1, 40472 Düsseldorf, Germany
----------------------------------------------------------------------
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
----------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]