I am speaking about the password to connect Subversion SCM, not the Maven
organization repository. On the URL you can specify the user but not the
password (and probably you won't like to do so), but on the
settings.xmlfile as far as I know it is only possible to specify Maven
component
repository passwords.

Alex

On 2/1/06, Mark Struberg < [EMAIL PROTECTED]> wrote:
>
> Hi Alejandro!
>
> I don't know if u ment this when u mentioned the
> settings.xml
> But i think u have to use a <server> section there.
> This is mostly common for all username/password
> thingies like tomcat:deploy and so on.
>
> Try to edit your ~/.m2/settings.xml and insert your
> settings according to the following configuration for
> tomcat. The svn configuration should be nearly the
> same:
>
> <settings>
> ...
> <servers>
>   <server>
>    <id>tomcat</id>
>    <username>myTomcatUser</username>
>    <password>myTomcatPassword</password>
>   </server>
> </servers>
> ...
> </settings>
>
> you then have to reference the server-id in your
> pom.xml:
>     <plugins>
> ...
>
>       <plugin>
>
>         <groupId>org.codehaus.mojo</groupId>
>
>         <artifactId>tomcat-maven-plugin</artifactId>
>
>         <version> 1.0-SNAPSHOT</version>
>
>         <configuration>
>           <server>tomcat</server>
>         </configuration>
>
>       </plugin>
> ...
>
>     </plugins>
>
>
> best regards,
> strub
>
>
> --- Alejandro Nicolas Mascarell
> <[EMAIL PROTECTED]> schrieb:
>
> > Does anyone know where is the SCM user password
> > provided when using SCM url?
> > As from the specification (and checked on
> > svnScmProviderRepository class)
> > the password is not gathered for the URL, as in the
> > case on CVS. I have
> > checked whether the password was taken from
> > settings.xml file but it seems
> > it is not the case.
> >
> > Thanks!
> >
> > Alex
> >
>
>
>
>
>
>
>
> ___________________________________________________________
> Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to