You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Laurent Petit <lp...@sqli.com> on 2005/03/02 11:34:38 UTC
maven-cruisecontrol-plugin maven.scm.svn.module question
Hello,
In my attempts to understand how to work with the cruisecontrol plugin
for maven, I'm faced with a weird problem. (I'm using maven 1.0.2 + cc
plugin snapshot + maven scm 1.5-beta-3)
If I don't define a property called maven.scm.svn.module then the
cruisecontrol:configure goal crashes.
But if I set this property to, for example, the value of my project's
name, what happens is that the generated configure.xml file contains the
following line :
<svn
repositoryLocation="http://server/svn/repos/trunk/projectname/projectname"
since I have the following repository declaration in my project.xml :
<repository>
<connection>scm:svn:http://server/svn/repos/trunk/projectname</connection>
</repository>
projectname is repeated 2 times in the CC config file.
I don't see the reason of this maven.scm.svn.module.
Maybe it's a remaining bug in the snapshot, so I wanted to report it to you.
Or maybe I'm doing something wrong, so please let me know.
Regards,
--
Laurent Petit
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: maven-cruisecontrol-plugin maven.scm.svn.module question
Posted by Laurent Petit <lp...@sqli.com>.
Hello,
as for the trunk, we have decided to have a global directory structure
like this (because it is a very oriented repository) :
/repos/trunk/proj1
/repos/trunk/proj2
...
/repos/tags/proj1-Vxx
/repos/tags/proj1-Vyy
/repos/tags/proj2-Vzz
...
/repos/branches
As of the URL format you gave me :
scm:svn:http://server/svn/repos:trunk/projectname
it works like a charm, so thank you very much ! :-)
Regards,
--
Laurent
Brett Porter wrote:
> Are you sure you have the trunk in the right place? Usually it would
> be /projectname/trunk.
>
> Anyway, using this URL will probably work for now:
> scm:svn:http://server/svn/repos:trunk/projectname
>
>
> On Wed, 02 Mar 2005 12:01:39 +0100, Laurent Petit <lp...@sqli.com> wrote:
>
>>OK, that's what I was afraid of.
>>
>>Is there a known work-around which could :
>>- still let the scm plugin work (the 1.5-beta-3)
>>- make the CC plugin work
>>
>>together ?
>>
>>I've tried some combinations of commenting out some portions of
>>project.xml concerning the repository + adding the "deprecated" values
>>in project.properties for maven.scm.method, maven.scm.svn.root and
>>maven.scm.svn.module but I'm not sure about what I've done and if it's
>>stable enough.
>>
>>Thanks in advance,
>>
>>--
>>Laurent
>>
>>
>>Brett Porter wrote:
>>
>>>Yes, this is an outstanding bug, already known. Thanks!
>>>
>>>
>>>On Wed, 02 Mar 2005 11:34:38 +0100, Laurent Petit <lp...@sqli.com> wrote:
>>>
>>>
>>>>Hello,
>>>>
>>>>In my attempts to understand how to work with the cruisecontrol plugin
>>>>for maven, I'm faced with a weird problem. (I'm using maven 1.0.2 + cc
>>>>plugin snapshot + maven scm 1.5-beta-3)
>>>>
>>>>If I don't define a property called maven.scm.svn.module then the
>>>>cruisecontrol:configure goal crashes.
>>>>
>>>>But if I set this property to, for example, the value of my project's
>>>>name, what happens is that the generated configure.xml file contains the
>>>> following line :
>>>><svn
>>>>repositoryLocation="http://server/svn/repos/trunk/projectname/projectname"
>>>>
>>>>since I have the following repository declaration in my project.xml :
>>>> <repository>
>>>><connection>scm:svn:http://server/svn/repos/trunk/projectname</connection>
>>>> </repository>
>>>>
>>>>projectname is repeated 2 times in the CC config file.
>>>>
>>>>I don't see the reason of this maven.scm.svn.module.
>>>>
>>>>Maybe it's a remaining bug in the snapshot, so I wanted to report it to you.
>>>>
>>>>Or maybe I'm doing something wrong, so please let me know.
>>>>
>>>>Regards,
>>>>
>>>>--
>>>>Laurent Petit
>>>>
>>>>---------------------------------------------------------------------
>>>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>>For additional commands, e-mail: users-help@maven.apache.org
>>>>
>>>>
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>For additional commands, e-mail: users-help@maven.apache.org
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: maven-cruisecontrol-plugin maven.scm.svn.module question
Posted by Brett Porter <br...@gmail.com>.
Are you sure you have the trunk in the right place? Usually it would
be /projectname/trunk.
Anyway, using this URL will probably work for now:
scm:svn:http://server/svn/repos:trunk/projectname
On Wed, 02 Mar 2005 12:01:39 +0100, Laurent Petit <lp...@sqli.com> wrote:
> OK, that's what I was afraid of.
>
> Is there a known work-around which could :
> - still let the scm plugin work (the 1.5-beta-3)
> - make the CC plugin work
>
> together ?
>
> I've tried some combinations of commenting out some portions of
> project.xml concerning the repository + adding the "deprecated" values
> in project.properties for maven.scm.method, maven.scm.svn.root and
> maven.scm.svn.module but I'm not sure about what I've done and if it's
> stable enough.
>
> Thanks in advance,
>
> --
> Laurent
>
>
> Brett Porter wrote:
> > Yes, this is an outstanding bug, already known. Thanks!
> >
> >
> > On Wed, 02 Mar 2005 11:34:38 +0100, Laurent Petit <lp...@sqli.com> wrote:
> >
> >>Hello,
> >>
> >>In my attempts to understand how to work with the cruisecontrol plugin
> >>for maven, I'm faced with a weird problem. (I'm using maven 1.0.2 + cc
> >>plugin snapshot + maven scm 1.5-beta-3)
> >>
> >>If I don't define a property called maven.scm.svn.module then the
> >>cruisecontrol:configure goal crashes.
> >>
> >>But if I set this property to, for example, the value of my project's
> >>name, what happens is that the generated configure.xml file contains the
> >> following line :
> >><svn
> >>repositoryLocation="http://server/svn/repos/trunk/projectname/projectname"
> >>
> >>since I have the following repository declaration in my project.xml :
> >> <repository>
> >><connection>scm:svn:http://server/svn/repos/trunk/projectname</connection>
> >> </repository>
> >>
> >>projectname is repeated 2 times in the CC config file.
> >>
> >>I don't see the reason of this maven.scm.svn.module.
> >>
> >>Maybe it's a remaining bug in the snapshot, so I wanted to report it to you.
> >>
> >>Or maybe I'm doing something wrong, so please let me know.
> >>
> >>Regards,
> >>
> >>--
> >>Laurent Petit
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >>For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: maven-cruisecontrol-plugin maven.scm.svn.module question
Posted by Laurent Petit <lp...@sqli.com>.
OK, that's what I was afraid of.
Is there a known work-around which could :
- still let the scm plugin work (the 1.5-beta-3)
- make the CC plugin work
together ?
I've tried some combinations of commenting out some portions of
project.xml concerning the repository + adding the "deprecated" values
in project.properties for maven.scm.method, maven.scm.svn.root and
maven.scm.svn.module but I'm not sure about what I've done and if it's
stable enough.
Thanks in advance,
--
Laurent
Brett Porter wrote:
> Yes, this is an outstanding bug, already known. Thanks!
>
>
> On Wed, 02 Mar 2005 11:34:38 +0100, Laurent Petit <lp...@sqli.com> wrote:
>
>>Hello,
>>
>>In my attempts to understand how to work with the cruisecontrol plugin
>>for maven, I'm faced with a weird problem. (I'm using maven 1.0.2 + cc
>>plugin snapshot + maven scm 1.5-beta-3)
>>
>>If I don't define a property called maven.scm.svn.module then the
>>cruisecontrol:configure goal crashes.
>>
>>But if I set this property to, for example, the value of my project's
>>name, what happens is that the generated configure.xml file contains the
>> following line :
>><svn
>>repositoryLocation="http://server/svn/repos/trunk/projectname/projectname"
>>
>>since I have the following repository declaration in my project.xml :
>> <repository>
>><connection>scm:svn:http://server/svn/repos/trunk/projectname</connection>
>> </repository>
>>
>>projectname is repeated 2 times in the CC config file.
>>
>>I don't see the reason of this maven.scm.svn.module.
>>
>>Maybe it's a remaining bug in the snapshot, so I wanted to report it to you.
>>
>>Or maybe I'm doing something wrong, so please let me know.
>>
>>Regards,
>>
>>--
>>Laurent Petit
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: maven-cruisecontrol-plugin maven.scm.svn.module question
Posted by Brett Porter <br...@gmail.com>.
Yes, this is an outstanding bug, already known. Thanks!
On Wed, 02 Mar 2005 11:34:38 +0100, Laurent Petit <lp...@sqli.com> wrote:
> Hello,
>
> In my attempts to understand how to work with the cruisecontrol plugin
> for maven, I'm faced with a weird problem. (I'm using maven 1.0.2 + cc
> plugin snapshot + maven scm 1.5-beta-3)
>
> If I don't define a property called maven.scm.svn.module then the
> cruisecontrol:configure goal crashes.
>
> But if I set this property to, for example, the value of my project's
> name, what happens is that the generated configure.xml file contains the
> following line :
> <svn
> repositoryLocation="http://server/svn/repos/trunk/projectname/projectname"
>
> since I have the following repository declaration in my project.xml :
> <repository>
> <connection>scm:svn:http://server/svn/repos/trunk/projectname</connection>
> </repository>
>
> projectname is repeated 2 times in the CC config file.
>
> I don't see the reason of this maven.scm.svn.module.
>
> Maybe it's a remaining bug in the snapshot, so I wanted to report it to you.
>
> Or maybe I'm doing something wrong, so please let me know.
>
> Regards,
>
> --
> Laurent Petit
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org