commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <phil.ste...@gmail.com>
Subject Re: [math] Releasing 2.0
Date Sun, 19 Jul 2009 16:23:39 GMT
Luc Maisonobe wrote:
> Phil Steitz a écrit :
>   
>> Luc Maisonobe wrote:
>>     
>>> Phil Steitz a écrit :
>>>  
>>>       
>>>>>> How about we use the changes plugin to generate a text file and then
>>>>>> edit and commit as RELEASE-NOTES.txt.
>>>>>>             
>>>>>>             
>>>>> I will try to do it tomorrow
>>>>>
>>>>>         
>>>>>           
>>>> I added a velocity template and directed the changes plugin to use it.
>>>> mvn changes:announcement-generate
>>>> mv target/announcement/math-release-notes.vm RELEASE-NOTES.txt
>>>>     
>>>>         
>>> The changes plugin does not find the template. As per
>>> http://maven.apache.org/plugins/maven-changes-plugin/examples/using-a-custom-announcement-template.html
>>>
>>> the templateDirectory should be a subdirectory of
>>> ${basedir}/src/main/resources/. I can change this location, of course,
>>> but it raises two issues to me:
>>>  - should we change the complete layout to follow the maven way and also
>>>    change src/java into src/main/java src/test into src/test/java and so
>>>    on ?
>>>  - why does this location don't work since it seems to be the same for
>>>    [pool] ?
>>>   
>>>       
>> Did you update pom.xml?  The mods I committed to the pom specify the
>> template directory.
>>     
>
> Yes. I saw the update and the specification
> <templateDirectory>src/template</templateDirectory> but the plugin
> looked at this below src/main/resources.
>   
This is strange.  Should work.  What exactly is the error message you 
are getting when you do

mvn changes:announcement-generate

from trunk/ ?

Phil


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message