You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm-users@maven.apache.org by "Edelbroek, J.H. (Jan)" <Ja...@isc.nl> on 2007/02/02 08:45:27 UTC

tag main module only, not recursive into submodules

I want to use the scm:tag to tag my nightly builds in Continuum with a timestamp. Therefore i want to do something like:
mvn clean install scm:tag -DaddTimestamp=true etcetera

However, i noticed that scm:tag starts tagging the main module (which contains the main pom). After that it tries to tag the submodules with the same tag.
This goes wrong because the submodules are already tagged with the same tag in the first place.

Is there a possibility to prevent the scm:tag to tag the submodules?
I cannot use the --non-recursive argument because the submodules need to build.
I cannot use a separate build definition for tagging, because i only want to tag my sources when the build is succesful.
Does anybody have a solution for this?

With kind regards,
Jan




-------------------------Disclaimer-------------------------------
De informatie verzonden met dit e-mailbericht (en bijlagen) is uitsluitend bestemd voor de geadresseerde(n) en zij die van de geadresseerde(n) toestemming kregen dit bericht te lezen. Gebruik door anderen dan geadresseerde(n) is verboden. De informatie in dit e-mailbericht (en bijlagen) kan vertrouwelijk van aard zijn en kan binnen het bereik vallen van een geheimhoudingsplicht en een verschoningsrecht.
-------------------------------------------------------------------


Re: tag main module only, not recursive into submodules

Posted by Emmanuel Venisse <em...@venisse.net>.
Please file an issue and we'll look at it.

Emmanuel

Edelbroek, J.H. (Jan) a écrit :
> I want to use the scm:tag to tag my nightly builds in Continuum with a timestamp. Therefore i want to do something like:
> mvn clean install scm:tag -DaddTimestamp=true etcetera
> 
> However, i noticed that scm:tag starts tagging the main module (which contains the main pom). After that it tries to tag the submodules with the same tag.
> This goes wrong because the submodules are already tagged with the same tag in the first place.
> 
> Is there a possibility to prevent the scm:tag to tag the submodules?
> I cannot use the --non-recursive argument because the submodules need to build.
> I cannot use a separate build definition for tagging, because i only want to tag my sources when the build is succesful.
> Does anybody have a solution for this?
> 
> With kind regards,
> Jan
> 
> 
> 
> 
> -------------------------Disclaimer-------------------------------
> De informatie verzonden met dit e-mailbericht (en bijlagen) is uitsluitend bestemd voor de geadresseerde(n) en zij die van de geadresseerde(n) toestemming kregen dit bericht te lezen. Gebruik door anderen dan geadresseerde(n) is verboden. De informatie in dit e-mailbericht (en bijlagen) kan vertrouwelijk van aard zijn en kan binnen het bereik vallen van een geheimhoudingsplicht en een verschoningsrecht.
> -------------------------------------------------------------------
> 
> 
> 
>