You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Christian Sauer <ch...@giniality.ch> on 2007/03/13 11:03:36 UTC

Releasing of Multimodule Projects and CVS

Hi,

is there anybody out there who successfully put releasing of a multimodule
project to work with CVS on a windows client??

I use Eclipse so I first tried to build a flat structure of projects but failed at the 
point that the maven-release-plugin can't cope with this flat structure. 

So I tried out the hierarchical structure (as described on 
http://maven.apache.org/guides/mini/guide-ide-eclipse.html). Performing a 
release:prepare starts without errors asking all questions regarding release versions, 
new development versions and the SCM tag for the multimodule project. Finally the 
prepration of the release fails like follows:

--------------
[INFO] Checking in modified POMs...
[INFO] Executing: cvs -z3 -f -d :pserver:maven@cvsserver:/var/cvs/maven -q commit -R -F 
C:\DOCUME~1\sacgy\LOCALS~1\Temp\scm-commit-message4211.txt pom.xml CMSModule3/pom.xml 
CMSModule1/pom.xml CMSModule2/pom.xml
[INFO] Working directory: C:\j2ee\projekte\CMS\CMS
[INFO] Tagging release with the label CMS-1-0-0...
[INFO] Executing: cvs -z3 -f -d :pserver:maven@cvsserver:/var/cvs/maven -q tag -F -c CMS-
1-0-0
[INFO] Working directory: C:\j2ee\projekte\CMS\CMS
[WARNING] Unknown status: '? '.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Unable to tag SCM
Provider message:
The cvs tag command failed.
Command output:
cvs tag: pom.xml is locally modified[INFO] Checking in modified POMs...
[INFO] Executing: cvs -z3 -f -d :pserver:maven@cvsserver:/var/cvs/maven -q commit -R -F 
C:\DOCUME~1\sacgy\LOCALS~1\Temp\scm-commit-message4211.txt pom.xml CMSModule3/pom.xml 
CMSModule1/pom.xml CMSModule2/pom.xml
[INFO] Working directory: C:\j2ee\projekte\CMS\CMS
[INFO] Tagging release with the label CMS-1-0-0...
[INFO] Executing: cvs -z3 -f -d :pserver:maven@cvsserver:/var/cvs/maven -q tag -F -c CMS-
1-0-0
[INFO] Working directory: C:\j2ee\projekte\CMS\CMS
[WARNING] Unknown status: '? '.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Unable to tag SCM
Provider message:
The cvs tag command failed.
Command output:
cvs tag: pom.xml is locally modified
------------

I know that there are multiple issues on Jira regarding this problem. Since this is a 
really essential feature I wanted to know whether someone has similar experiences and 
probably has a working solution and/ or workarround.

Any Help is much appreciated :o)

Environment:
- Win XP Prof
- CVSNT 2.0.51d (client/server)
- Eclipse 3.2
- Maven 2.0.4
- maven-release-plugin 2.0 beta 4

Cheers,
Chris



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Releasing of Multimodule Projects and CVS

Posted by Christian Sauer <ch...@giniality.ch>.
hey emmanuel,

thanx for dropping this info and for fixen the problem :o))

do you know when the beta 5 will be released?

cheers,
chris
-------------------------------------------------------------------------
Giniality AG - Christian Sauer; Steinenberg 21, CH-4051 Basel
Phone: +41 61 226 99 66; Fax: +41 61 226 99 69; Mobile: +41 79 828 94 16
E-Mail: christian.sauerATginiality.ch; WWW: http://www.giniality.com 


-----Original Message-----
From: Emmanuel Venisse <em...@venisse.net>
To: Maven Users List <us...@maven.apache.org>
Date: Wed, 21 Mar 2007 21:34:00 +0100
Subject: Re: Releasing of Multimodule Projects and CVS

> Yes, I fixed it this week.
> 
> The pb was a pb in cvs commit command. We used the cvsroot for this command with -d
> parameter. With that, cvs doesn't commit files in current dire and without it, files
> are committed.
> 
> Emmanuel
> 
> Christian Sauer a écrit :
> > the problem seams to be fixed in the current snapshot version of the release
> > plugin.
> > 
> > thanx anyway.
> > 
> >> -----Original Message-----
> >> From: Antonio Parolini [mailto:Antonio.Parolini@hcuge.ch]
> >> Sent: Mittwoch, 21. Marz 2007 15:36
> >> To: users@maven.apache.org
> >> Subject: Re: Releasing of Multimodule Projects and CVS
> >>
> >>
> >>
> >> Just commit your POM using the eclipse CVS prior to run the
> >> release plugin.
> >>
> >> -toni
> >>
> >>
> >> Christian Sauer-3 wrote:
> >>> Thorsten,
> >>>
> >>> the problem stays exactly the same:
> >>> "cvs tag: pom.xml is locally modified"
> >>>
> >>> Thanx anyway :)
> >>>
> >>> cheers,
> >>> Chris
> >>>
> >>> -----Original Message-----
> >>> From: "Thorsten Heit" <th...@gmx.de>
> >>> To: "Maven Users List" <us...@maven.apache.org>
> >>> Date: Tue, 13 Mar 2007 12:11:37 +0100
> >>> Subject: Re: Releasing of Multimodule Projects and CVS
> >>>
> >>>> Hi Christian,
> >>>>
> >>>>> Any Help is much appreciated :o)
> >>>>>
> >>>>> Environment:
> >>>>> - Win XP Prof
> >>>>> - CVSNT 2.0.51d (client/server)
> >>>>> - Eclipse 3.2
> >>>>> - Maven 2.0.4
> >>>>> - maven-release-plugin 2.0 beta 4
> >>>> I haven't yet used Maven for a full release of one my projects, but had
> >>>> some issues
> >>>> with 2.0-beta-4 of the release plugin so I added the following to my
> >>>> master pom.xml:
> >>>>
> >>>> <plugin>
> >>>>   <groupId>org.apache.maven.plugins</groupId>
> >>>>   <artifactId>maven-release-plugin</artifactId>
> >>>>   <version>2.0-beta-5-SNAPSHOT</version>
> >>>> </plugin>
> >>>>
> >>>> Perhaps this will solve some of your problems...?
> >>>>
> >>>>
> >>>> HTH
> >>>>
> >>>> Thorsten
> >>>>
> >>>> ---------------------------------------------------------------------
> >>>> 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
> >>>
> >>>
> >>>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Releasing-of-Multimodule-Projects-and-CVS-tf
> > 3394985s177.html#a9595269
> > Sent from the Maven - Users mailing list archive at Nabble.com.
> > 
> > 
> > ---------------------------------------------------------------------
> > 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: Releasing of Multimodule Projects and CVS

Posted by Emmanuel Venisse <em...@venisse.net>.
Yes, I fixed it this week.

The pb was a pb in cvs commit command. We used the cvsroot for this command with -d parameter. With that, cvs doesn't commit files in current dire and without it, files are committed.

Emmanuel

Christian Sauer a écrit :
> the problem seams to be fixed in the current snapshot version of the release
> plugin.
> 
> thanx anyway.
> 
>> -----Original Message-----
>> From: Antonio Parolini [mailto:Antonio.Parolini@hcuge.ch]
>> Sent: Mittwoch, 21. Marz 2007 15:36
>> To: users@maven.apache.org
>> Subject: Re: Releasing of Multimodule Projects and CVS
>>
>>
>>
>> Just commit your POM using the eclipse CVS prior to run the
>> release plugin.
>>
>> -toni
>>
>>
>> Christian Sauer-3 wrote:
>>> Thorsten,
>>>
>>> the problem stays exactly the same:
>>> "cvs tag: pom.xml is locally modified"
>>>
>>> Thanx anyway :)
>>>
>>> cheers,
>>> Chris
>>>
>>> -----Original Message-----
>>> From: "Thorsten Heit" <th...@gmx.de>
>>> To: "Maven Users List" <us...@maven.apache.org>
>>> Date: Tue, 13 Mar 2007 12:11:37 +0100
>>> Subject: Re: Releasing of Multimodule Projects and CVS
>>>
>>>> Hi Christian,
>>>>
>>>>> Any Help is much appreciated :o)
>>>>>
>>>>> Environment:
>>>>> - Win XP Prof
>>>>> - CVSNT 2.0.51d (client/server)
>>>>> - Eclipse 3.2
>>>>> - Maven 2.0.4
>>>>> - maven-release-plugin 2.0 beta 4
>>>> I haven't yet used Maven for a full release of one my projects, but had
>>>> some issues
>>>> with 2.0-beta-4 of the release plugin so I added the following to my
>>>> master pom.xml:
>>>>
>>>> <plugin>
>>>>   <groupId>org.apache.maven.plugins</groupId>
>>>>   <artifactId>maven-release-plugin</artifactId>
>>>>   <version>2.0-beta-5-SNAPSHOT</version>
>>>> </plugin>
>>>>
>>>> Perhaps this will solve some of your problems...?
>>>>
>>>>
>>>> HTH
>>>>
>>>> Thorsten
>>>>
>>>> ---------------------------------------------------------------------
>>>> 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
>>>
>>>
>>>
>> --
>> View this message in context:
>> http://www.nabble.com/Releasing-of-Multimodule-Projects-and-CVS-tf
> 3394985s177.html#a9595269
> Sent from the Maven - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> 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: Releasing of Multimodule Projects and CVS

Posted by Christian Sauer <ch...@giniality.com>.
the problem seams to be fixed in the current snapshot version of the release
plugin.

thanx anyway.

> -----Original Message-----
> From: Antonio Parolini [mailto:Antonio.Parolini@hcuge.ch]
> Sent: Mittwoch, 21. Marz 2007 15:36
> To: users@maven.apache.org
> Subject: Re: Releasing of Multimodule Projects and CVS
>
>
>
> Just commit your POM using the eclipse CVS prior to run the
> release plugin.
>
> -toni
>
>
> Christian Sauer-3 wrote:
> >
> > Thorsten,
> >
> > the problem stays exactly the same:
> > "cvs tag: pom.xml is locally modified"
> >
> > Thanx anyway :)
> >
> > cheers,
> > Chris
> >
> > -----Original Message-----
> > From: "Thorsten Heit" <th...@gmx.de>
> > To: "Maven Users List" <us...@maven.apache.org>
> > Date: Tue, 13 Mar 2007 12:11:37 +0100
> > Subject: Re: Releasing of Multimodule Projects and CVS
> >
> >> Hi Christian,
> >>
> >> > Any Help is much appreciated :o)
> >> >
> >> > Environment:
> >> > - Win XP Prof
> >> > - CVSNT 2.0.51d (client/server)
> >> > - Eclipse 3.2
> >> > - Maven 2.0.4
> >> > - maven-release-plugin 2.0 beta 4
> >>
> >> I haven't yet used Maven for a full release of one my projects, but had
> >> some issues
> >> with 2.0-beta-4 of the release plugin so I added the following to my
> >> master pom.xml:
> >>
> >> <plugin>
> >>   <groupId>org.apache.maven.plugins</groupId>
> >>   <artifactId>maven-release-plugin</artifactId>
> >>   <version>2.0-beta-5-SNAPSHOT</version>
> >> </plugin>
> >>
> >> Perhaps this will solve some of your problems...?
> >>
> >>
> >> HTH
> >>
> >> Thorsten
> >>
> >> ---------------------------------------------------------------------
> >> 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
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Releasing-of-Multimodule-Projects-and-CVS-tf
3394985s177.html#a9595269
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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: Releasing of Multimodule Projects and CVS

Posted by Antonio Parolini <An...@hcuge.ch>.
Just commit your POM using the eclipse CVS prior to run the release plugin.

-toni


Christian Sauer-3 wrote:
> 
> Thorsten,
> 
> the problem stays exactly the same:
> "cvs tag: pom.xml is locally modified"
> 
> Thanx anyway :)
> 
> cheers,
> Chris
> 
> -----Original Message-----
> From: "Thorsten Heit" <th...@gmx.de>
> To: "Maven Users List" <us...@maven.apache.org>
> Date: Tue, 13 Mar 2007 12:11:37 +0100
> Subject: Re: Releasing of Multimodule Projects and CVS
> 
>> Hi Christian,
>> 
>> > Any Help is much appreciated :o)
>> > 
>> > Environment:
>> > - Win XP Prof
>> > - CVSNT 2.0.51d (client/server)
>> > - Eclipse 3.2
>> > - Maven 2.0.4
>> > - maven-release-plugin 2.0 beta 4
>> 
>> I haven't yet used Maven for a full release of one my projects, but had
>> some issues
>> with 2.0-beta-4 of the release plugin so I added the following to my
>> master pom.xml:
>> 
>> <plugin>
>>   <groupId>org.apache.maven.plugins</groupId>
>>   <artifactId>maven-release-plugin</artifactId>
>>   <version>2.0-beta-5-SNAPSHOT</version>
>> </plugin>
>> 
>> Perhaps this will solve some of your problems...?
>> 
>> 
>> HTH
>> 
>> Thorsten
>> 
>> ---------------------------------------------------------------------
>> 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
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Releasing-of-Multimodule-Projects-and-CVS-tf3394985s177.html#a9595269
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Releasing of Multimodule Projects and CVS

Posted by Christian Sauer <ch...@giniality.ch>.
Thorsten,

the problem stays exactly the same:
"cvs tag: pom.xml is locally modified"

Thanx anyway :)

cheers,
Chris

-----Original Message-----
From: "Thorsten Heit" <th...@gmx.de>
To: "Maven Users List" <us...@maven.apache.org>
Date: Tue, 13 Mar 2007 12:11:37 +0100
Subject: Re: Releasing of Multimodule Projects and CVS

> Hi Christian,
> 
> > Any Help is much appreciated :o)
> > 
> > Environment:
> > - Win XP Prof
> > - CVSNT 2.0.51d (client/server)
> > - Eclipse 3.2
> > - Maven 2.0.4
> > - maven-release-plugin 2.0 beta 4
> 
> I haven't yet used Maven for a full release of one my projects, but had some issues
> with 2.0-beta-4 of the release plugin so I added the following to my master pom.xml:
> 
> <plugin>
>   <groupId>org.apache.maven.plugins</groupId>
>   <artifactId>maven-release-plugin</artifactId>
>   <version>2.0-beta-5-SNAPSHOT</version>
> </plugin>
> 
> Perhaps this will solve some of your problems...?
> 
> 
> HTH
> 
> Thorsten
> 
> ---------------------------------------------------------------------
> 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: Releasing of Multimodule Projects and CVS

Posted by Thorsten Heit <th...@gmx.de>.
Hi Christian,

> Any Help is much appreciated :o)
> 
> Environment:
> - Win XP Prof
> - CVSNT 2.0.51d (client/server)
> - Eclipse 3.2
> - Maven 2.0.4
> - maven-release-plugin 2.0 beta 4

I haven't yet used Maven for a full release of one my projects, but had some issues with 2.0-beta-4 of the release plugin so I added the following to my master pom.xml:

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-release-plugin</artifactId>
  <version>2.0-beta-5-SNAPSHOT</version>
</plugin>

Perhaps this will solve some of your problems...?


HTH

Thorsten

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org