maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yann Le Du" <le.du.y...@gmail.com>
Subject Re: [m2] release:prepare generateReleasePoms?
Date Fri, 01 Sep 2006 14:14:42 GMT
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 <mark.hewett@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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message