You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Guillaume Lederrey <gu...@gmail.com> on 2008/01/10 16:52:47 UTC
CVS and Branches
Hello !
I have a really dumb question, but i cant seem to find the answer. I'm
more used to SVN and I am a bit lost with branches in CVS ...
How do you configure <scm> in a pom so that it points to a CVS branch
? I thought I should use <tag>, but it doesnt seem to work :
<connection>
scm:cvs:pserver:@server:/path/to/repo:Module
</connection>
<tag>BRANCH_NAME</tag>
But when trying a release:prepare, I get
[INFO] Cannot add release POM to SCM: Exception while executing SCM command.
password is required. You must run a 'cvs -d
:pserver:@server:2401/path/to/repo login' first or provide it in the
connection url.
Of course, I tried running that command, but no success. Passing
"-Dusername=..." and "-Dpassword=..." doesnt help either.
"mvn -e release:prepare" doesnt give more information. I have another
project with almost the same kind of SCM config, but no branch. That
project works fine.
If I use "mvn scm:validate", it tells me that my config is correct.
Am I missing anything else ? Is there a way to get more logging infos
(except -e) ?
Thanks for your help !
--
Jabber : gehel@amessage.ch
Skype : Guillaume.Lederrey
Projects :
* http://rwanda.wordpress.com/
* http://rwandatech.wordpress.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: CVS and Branches
Posted by Guillaume Lederrey <gu...@gmail.com>.
I'm finally finding some things ...
I updated the maven-scm-plugin to version 1.0 (from version
1.0-beta-3) and added :
-Dmaven.scm.provider.cvs.implementation=cvs_native
I now run into the next problem, which will be in another thread ...
On 14/01/2008, Guillaume Lederrey <gu...@gmail.com> wrote:
> I'm still trying to debug my connection problem. Maybe it doesnt have
> anything to do with the CVS branch ...
>
> I tried to use the SCM plugin directly to see if a more direct path to
> the error could give me an idea. I get the following :
>
> ** scm:validate
>
> [INFO] [scm:validate]
> [INFO] connectionUrl scm connection string is valid.
> [INFO] project.scm.connection scm connection string is valid.
> [INFO] project.scm.developerConnection scm connection string is valid.
>
> ** scm:diff
>
> [INFO] Cannot run diff command :
> Embedded error: Can't load the scm provider.
> The scm url is invalid.
>
> Is there a way to have a more descriptive message ? I tried "mvn -e"
> but it doesnt tell me much.
>
> Is there a place where I could find some more documentation ?
>
> Thanks for your help !
>
> On 10/01/2008, Guillaume Lederrey <gu...@gmail.com> wrote:
> > Hello !
> >
> > I have a really dumb question, but i cant seem to find the answer. I'm
> > more used to SVN and I am a bit lost with branches in CVS ...
> >
> > How do you configure <scm> in a pom so that it points to a CVS branch
> > ? I thought I should use <tag>, but it doesnt seem to work :
> >
> > <connection>
> > scm:cvs:pserver:@server:/path/to/repo:Module
> > </connection>
> > <tag>BRANCH_NAME</tag>
> >
> > But when trying a release:prepare, I get
> >
> > [INFO] Cannot add release POM to SCM: Exception while executing SCM command.
> > password is required. You must run a 'cvs -d
> > :pserver:@server:2401/path/to/repo login' first or provide it in the
> > connection url.
> >
> > Of course, I tried running that command, but no success. Passing
> > "-Dusername=..." and "-Dpassword=..." doesnt help either.
> >
> > "mvn -e release:prepare" doesnt give more information. I have another
> > project with almost the same kind of SCM config, but no branch. That
> > project works fine.
> >
> > If I use "mvn scm:validate", it tells me that my config is correct.
> >
> > Am I missing anything else ? Is there a way to get more logging infos
> > (except -e) ?
> >
> > Thanks for your help !
> >
> > --
> > Jabber : gehel@amessage.ch
> > Skype : Guillaume.Lederrey
> > Projects :
> > * http://rwanda.wordpress.com/
> > * http://rwandatech.wordpress.com/
> >
>
>
> --
> Jabber : gehel@amessage.ch
> Skype : Guillaume.Lederrey
> Projects :
> * http://rwanda.wordpress.com/
> * http://rwandatech.wordpress.com/
>
--
Jabber : gehel@amessage.ch
Skype : Guillaume.Lederrey
Projects :
* http://rwanda.wordpress.com/
* http://rwandatech.wordpress.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: CVS and Branches
Posted by Guillaume Lederrey <gu...@gmail.com>.
I'm still trying to debug my connection problem. Maybe it doesnt have
anything to do with the CVS branch ...
I tried to use the SCM plugin directly to see if a more direct path to
the error could give me an idea. I get the following :
** scm:validate
[INFO] [scm:validate]
[INFO] connectionUrl scm connection string is valid.
[INFO] project.scm.connection scm connection string is valid.
[INFO] project.scm.developerConnection scm connection string is valid.
** scm:diff
[INFO] Cannot run diff command :
Embedded error: Can't load the scm provider.
The scm url is invalid.
Is there a way to have a more descriptive message ? I tried "mvn -e"
but it doesnt tell me much.
Is there a place where I could find some more documentation ?
Thanks for your help !
On 10/01/2008, Guillaume Lederrey <gu...@gmail.com> wrote:
> Hello !
>
> I have a really dumb question, but i cant seem to find the answer. I'm
> more used to SVN and I am a bit lost with branches in CVS ...
>
> How do you configure <scm> in a pom so that it points to a CVS branch
> ? I thought I should use <tag>, but it doesnt seem to work :
>
> <connection>
> scm:cvs:pserver:@server:/path/to/repo:Module
> </connection>
> <tag>BRANCH_NAME</tag>
>
> But when trying a release:prepare, I get
>
> [INFO] Cannot add release POM to SCM: Exception while executing SCM command.
> password is required. You must run a 'cvs -d
> :pserver:@server:2401/path/to/repo login' first or provide it in the
> connection url.
>
> Of course, I tried running that command, but no success. Passing
> "-Dusername=..." and "-Dpassword=..." doesnt help either.
>
> "mvn -e release:prepare" doesnt give more information. I have another
> project with almost the same kind of SCM config, but no branch. That
> project works fine.
>
> If I use "mvn scm:validate", it tells me that my config is correct.
>
> Am I missing anything else ? Is there a way to get more logging infos
> (except -e) ?
>
> Thanks for your help !
>
> --
> Jabber : gehel@amessage.ch
> Skype : Guillaume.Lederrey
> Projects :
> * http://rwanda.wordpress.com/
> * http://rwandatech.wordpress.com/
>
--
Jabber : gehel@amessage.ch
Skype : Guillaume.Lederrey
Projects :
* http://rwanda.wordpress.com/
* http://rwandatech.wordpress.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org