maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <>
Subject Re: Generating release notes as part of release
Date Thu, 23 Dec 2010 09:26:30 GMT

On Dec 22, 2010, at 1:16 PM, Dennis Lundberg wrote:

> On 2010-12-22 22:09, Ralph Goers wrote:
>> On Dec 22, 2010, at 12:58 PM, Dennis Lundberg wrote:
>>> On 2010-12-22 20:31, Ralph Goers wrote:
>>>> My thought was to
>>>> a) enhance the release plugin to invoked the changes plugin and then commit
the release notes before tagging and then remove then after
>>>> b) enhance the changes plugin to have goals to commit and delete the release
>>>> or c) create a new plugin to do this.
>>>> I'm already able to use the changes plugin to create the release notes and
get them in the binary distribution. That isn't particularly hard. The problem is with the
source distribution where what is in the zip really also needs to be in svn under the release
>>> How about doing an "scm add" operation of the generated release notes
>>> directly to the tag? Do it after release:prepare, to be sure that the
>>> tag exists, but before release:perform so that it can be included in the
>>> released artifact.
>> I'm generally not in favor of modifying tags but in this case that might be the best
> I agree, in normal cases.
>> I might not even have to write any code to do that.
> Right, you can probably use maven-scm-plugin for that

This won't be as simple as I had hoped. It will require checking out the tag, generating the
file, doing the scm:add and then an scm:commit.  

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message