Ok, I will use cvs_native.

Thanks guys.


VELO

On Wed, Oct 8, 2008 at 5:37 AM, Emmanuel Venisse <[EMAIL PROTECTED]
> wrote:

> Hi Velo,
> By default, maven-scm use a pure java cvs client (a netbeans
> implementation) and the "auto-login" feature doesn't work well with external
> tool.
> By using the native cvs client, you use the command line, so if you already
> log in to a cvs server, all works fine like a direct cvs client command.
>
> Emmanuel
>
>
> On Wed, Oct 8, 2008 at 2:11 AM, Marvin Froeder <[EMAIL PROTECTED]> wrote:
>
>> Yes, and if I add
>>
>> -Dmaven.scm.provider.cvs.implementation=cvs_native
>>
>>
>> It works.
>>
>> Any thoughts?
>>
>>
>> VELO
>>
>> On Tue, Oct 7, 2008 at 8:50 PM, Brett Porter <[EMAIL PROTECTED]>
>> wrote:
>>
>> > Are you able to run other cvs commands from the command line? Is your
>> > home directory set consistently?
>> >
>> > 2008/10/8 Marvin Froeder <[EMAIL PROTECTED]>:
>> > > Hi folks,
>> > >
>> > > I'm using maven SCM to develop a maven plugin.
>> > >
>> > > And I got this exception:
>> > > org.apache.maven.scm.ScmException: password is required. You must run
>> a
>> > 'cvs
>> > > -d :pserver:[EMAIL PROTECTED]:2401/cvsroot/eclipse login'
>> first
>> > or
>> > > provide it in the connection url.
>> > >        at
>> > >
>> >
>> org.apache.maven.scm.provider.cvslib.command.login.CvsPass.execute(CvsPass.java:136)
>> > >        at
>> > >
>> >
>> org.apache.maven.scm.provider.cvslib.command.login.CvsLoginCommand.executeLoginCommand(CvsLoginCommand.java:66)
>> > >        at
>> > >
>> >
>> org.apache.maven.scm.command.login.AbstractLoginCommand.executeCommand(AbstractLoginCommand.java:47)
>> > >        at
>> > >
>> >
>> org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:58)
>> > >        ... 27 more
>> > >
>> > >
>> > > So I install tortoise CVS (to get cvs.exe at windows) and run:
>> > >
>> > > D:\temp>cvs -d :
>> pserver:[EMAIL PROTECTED]:2401/cvsroot/eclipselogin
>> > >> Logging in to :pserver:[EMAIL PROTECTED]:2401
>> :/cvsroot/eclipse
>> > >> CVS Password:
>> > >>
>> > >> D:\temp>
>> > >>
>> > >
>> > > So far so good.
>> > >
>> > > But, when I run maven again I got the same exception.  Does anyone
>> know
>> > what
>> > > is happening?
>> > >
>> > >
>> > > VELO
>> > >
>> >
>> >
>> >
>> > --
>> > Brett Porter
>> > Blog: http://blogs.exist.com/bporter/
>> >
>>
>
>

Reply via email to