Thanks.

On 5/25/07, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:

In pom.xml

<project>
...
<scm>
   <connection>scm:cvs:pserver:${cvs.user}:${cvs.password
[EMAIL PROTECTED]:/cvs/root:module</connection>
   <developerConnection>scm:cvs:pserver:${cvs.user}:${cvs.password
[EMAIL PROTECTED]:/cvs/root:module</developerConnection>
</scm>
...
</project>

in settings.xml
<settings>
...
   <profiles>
     <profile>
       <id>cvs_conf</id>
       <properties>
         <cvs.user>username</cvs.user>
         <cvs.password>mypassword</cvs.password>
       </properties>
     </profile>
   </profiles>
   <activeProfiles>
     <activeProfile>cvs_conf</activeProfile>
   </activeProfiles>
...
</settings>

Emmanuel

Jon Strayer a écrit :
> I don't mind putting it in settings.xml.  What do I need to wrap it in?
>
> On 5/24/07, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:
>>
>> You can run a cvs login command so you won't have to store your
password
>> in your pom or settings.xml. It will be stored in .cvspass if you use a
>> standard cvs or in the windows registry if you use cvsnt
>>
>> Emmanuel
>>
>> Jon Strayer a écrit :
>> > Getting back to my original question, how can I set the password
>> outside
>> of
>> > the POM?
>> >
>> > On 5/21/07, Jon Strayer <[EMAIL PROTECTED]> wrote:
>> >>
>> >> I'm getting this error when I try to update my project:
>> >> [ERROR] No CVS root is set. Check your <repository> information in
the
>> >> POM.
>> >>
>> >> Where in the POM do I set the CVS Root?
>> >> How can I specify the user id and password outside of the POM?
>> >>
>> >> --
>> >> Esse Quam Videre
>> >> To Be, rather than to Seem
>> >
>> >
>> >
>> >
>>
>>
>> ---------------------------------------------------------------------
>> 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]




--
Esse Quam Videre
To Be, rather than to Seem

Reply via email to