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 <[EMAIL PROTECTED]>:

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to