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 notes.
>>> 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 tag.
>>
>> 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 idea.

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
http://maven.apache.org/scm/maven-scm-plugin/add-mojo.html

> 
> Ralph
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 


-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to