You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Bernard Wacher <bw...@acm.org> on 2010/02/25 18:46:16 UTC

Maven release plugin and multi VOB (Clearcase) project

Hi,

I am working with a multi module Maven structure which spans several
Clearcase VOBs.  I am using an aggregator POM which builds all the
modules across the different VOBs.  When I issue a 'mvn
release:prepare' command, the project verifies correctly, all POMs are
correctly updated and checked in, in all of the different VOBs.  Only
problem is that the plugin has only tagged/labeled the code in the
main VOB rather than in all of the VOBs I am using.  That is, it
correctly updates the dependencies and checks the POMs in but does not
tag the code in the VOBs the other POMs are located in.

I have verified that my <scm> element is correctly specified in each
POM so I don't think that is the problem, furthermore the plugin is
checking the code into the different VOBs, just not tagging.
Thank-you for any suggestions, work around or patch suggested.



$ mvn.bat -version
Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
Java version: 1.6.0_17
Java home: C:\Program Files\Java\jdk1.6.0_17\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"


			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-release-plugin</artifactId>
				<version>2.0-beta-9</version>
				<configuration>
					<allowTimestampedSnapshots>true</allowTimestampedSnapshots>
				</configuration>
			</plugin>


Cheers,
Bernard

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


Re: Maven release plugin and multi VOB (Clearcase) project

Posted by DSL <dl...@gmail.com>.
Bernard,

The release plugin can do it if you release them individually,I am assuming
they do not share a parent pom.  If all are a part of the same svn project,
it will work.

Daniel

On Thu, Feb 25, 2010 at 12:46 PM, Bernard Wacher <bw...@acm.org> wrote:

> Hi,
>
> I am working with a multi module Maven structure which spans several
> Clearcase VOBs.  I am using an aggregator POM which builds all the
> modules across the different VOBs.  When I issue a 'mvn
> release:prepare' command, the project verifies correctly, all POMs are
> correctly updated and checked in, in all of the different VOBs.  Only
> problem is that the plugin has only tagged/labeled the code in the
> main VOB rather than in all of the VOBs I am using.  That is, it
> correctly updates the dependencies and checks the POMs in but does not
> tag the code in the VOBs the other POMs are located in.
>
> I have verified that my <scm> element is correctly specified in each
> POM so I don't think that is the problem, furthermore the plugin is
> checking the code into the different VOBs, just not tagging.
> Thank-you for any suggestions, work around or patch suggested.
>
>
>
> $ mvn.bat -version
> Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
> Java version: 1.6.0_17
> Java home: C:\Program Files\Java\jdk1.6.0_17\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>
>
>                        <plugin>
>                                <groupId>org.apache.maven.plugins</groupId>
>
>  <artifactId>maven-release-plugin</artifactId>
>                                <version>2.0-beta-9</version>
>                                <configuration>
>
>  <allowTimestampedSnapshots>true</allowTimestampedSnapshots>
>                                </configuration>
>                        </plugin>
>
>
> Cheers,
> Bernard
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>