You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mark Hewett <ma...@gmail.com> on 2006/07/01 00:15:45 UTC
[m2] release:prepare generateReleasePoms?
I have been trying to work out how to use release:prepare to create
reproducible releases of our projects - i.e. trying to get a
release-pom.xml generated with the versions of all the plugins
resolved (as documented in the Mergere book and the plugin
documentation). It seems like I should just specify
-DgenerateReleasePoms=true (not sure why this wouldn't be the
default), but this doesn't seem to result in a release-pom.xml being
checked into the release-tag version in my SCM.
After not being able to get it to work, I had a look at the code for
the release plugin and it seems that the code in
GenerateReleasePomsPhase.java that would actually do anything (other
than printing out "Generating release POMs...") is all commented out!
I guess this would explain the results I am seeing, but does anyone
know why this is the case?
If this really isn't implemented, should we at least update the
documentation to indicate this? Also, if anyone can confirm if the
commented code worked at some point maybe I can take a look at it and
see if it still works.
Thanks,
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: release:perform
Posted by Andreas Guther <An...@markettools.com>.
Isn't the release plug-in asking for the tag version during the prepare
phase? If I remember correctly you then could just correct the version
number in the pom manually before you run the prepare.
Andreas
-----Original Message-----
From: Douglas Ferguson [mailto:douglas.ferguson@epsiia.com]
Sent: Saturday, September 02, 2006 7:07 AM
To: Maven Users List
Subject: release:perform
Is there a way to do a release:perform off a tag but have it release to
a new version?
I have a tag app-x.x-RC-1 and I'd like to release it to app-x.x
Thanks,
D-
---------------------------------------------------------------------
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
release:perform
Posted by Douglas Ferguson <do...@epsiia.com>.
Is there a way to do a release:perform off a tag but have it release to a new version?
I have a tag app-x.x-RC-1 and I'd like to release it to app-x.x
Thanks,
D-
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [m2] release:prepare generateReleasePoms?
Posted by Yann Le Du <le...@gmail.com>.
Hi,
Are there any news about the generation of release-pom.xml with
release:prepare ?
The Mergere book talks about release-pom.xml without even mentioning
generateReleasePoms argument - which anyway seems to be useless since, as
stated below, the related code is not implemented (yet ?).
Has there been a policy change about this ? Are evolutions planned ? I
looked into JIRA but couldn't find anything.
TIA,
- Yann
2006/7/1, Mark Hewett <ma...@gmail.com>:
>
> I have been trying to work out how to use release:prepare to create
> reproducible releases of our projects - i.e. trying to get a
> release-pom.xml generated with the versions of all the plugins
> resolved (as documented in the Mergere book and the plugin
> documentation). It seems like I should just specify
> -DgenerateReleasePoms=true (not sure why this wouldn't be the
> default), but this doesn't seem to result in a release-pom.xml being
> checked into the release-tag version in my SCM.
>
> After not being able to get it to work, I had a look at the code for
> the release plugin and it seems that the code in
> GenerateReleasePomsPhase.java that would actually do anything (other
> than printing out "Generating release POMs...") is all commented out!
> I guess this would explain the results I am seeing, but does anyone
> know why this is the case?
>
> If this really isn't implemented, should we at least update the
> documentation to indicate this? Also, if anyone can confirm if the
> commented code worked at some point maybe I can take a look at it and
> see if it still works.
>
> Thanks,
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>