You can put in your pom
<scm>
<connection>scm:cvs:ext:[EMAIL PROTECTED]:/a01/proj/CVS:webservices/ServiceProviders</connection>
<developerConnection>scm:cvs:ext:[EMAIL PROTECTED]:/a01/proj/CVS:webservices/ServiceProviders</developerConnection>
<url>http://empt.ata.com/cgi-bin/cvsweb.cgi/webservices/ServiceProviders/?cvsroot=ATA.com-Development</url>
</scm>
and then, in settings
<settings>
<profiles>
<profile>
<id>default</id>
<properties>
<username>your_user</username>
</properties>
</profile>
</profiles>
<activeProfiles>
<activeProfile>default</activeProfile>
</activeProfiles>
</settings>
I don't work with cvs and maven2 nowadays, but it might replace the
variable in scm tag with the username you define.
In settings.xml, I define a profile named default to define the context
variables I need. Each developer might have different values.
Regards
German.-
Todd Nine wrote:
We have the following URLS
<scm>
<connection>scm:cvs:ext:[EMAIL PROTECTED]
:/a01/proj/CVS:webservices/ServiceProviders</connection>
<developerConnection>scm:cvs:ext:[EMAIL PROTECTED]
:/a01/proj/CVS:webservices/ServiceProviders</developerConnection>
<url>
http://empt.ata.com/cgi-bin/cvsweb.cgi/webservices/ServiceProviders/?cvsroot=ATA.com-Development
</url>
</scm>
Since we have several users, I need to replace username with the username on
the server id "ata" from settings.xml. How can I perform this?
I have the following in my settings.xml
<servers>
<server>
<id>ata</id>
<username>c200506</username>
<configuration>
<sshExecutable>plink</sshExecutable>
<scpExecutable>pscp</scpExecutable>
</configuration>
</server>
</servers>
I need the username in the scm url to be set to the username above. I can't
seem to find any documentation on how to do this.
Thanks,
Todd
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]