[EMAIL PROTECTED] a écrit :
Hi,

-----Original Message-----
From: ext Emmanuel Venisse [mailto:[EMAIL PROTECTED]


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.


The error was that it needs a password, and none was specified. So the settings 
below, was not taken into account somehow:


<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>


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.


Will do that. Is there any specific class I should start with? The first step 
is to get some connection to the scm system. After I have an initial pointer to 
start with, I'm sure I can make my way through the sources :-)

http://svn.apache.org/repos/asf/maven/scm/trunk/maven-scm-plugin/src/main/java/org/apache/maven/scm/plugin/


Kind Regards,
 _         __                _  _
//\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]

Reply via email to