Author: sebb
Date: Tue Jun 4 21:44:34 2013
New Revision: 1489637
URL: http://svn.apache.org/r1489637
Log:
Add usage of release-notes profile
Modified:
commons/cms-site/trunk/content/xdoc/releases/prepare.xml
Modified: commons/cms-site/trunk/content/xdoc/releases/prepare.xml
URL:
http://svn.apache.org/viewvc/commons/cms-site/trunk/content/xdoc/releases/prepare.xml?rev=1489637&r1=1489636&r2=1489637&view=diff
==============================================================================
--- commons/cms-site/trunk/content/xdoc/releases/prepare.xml (original)
+++ commons/cms-site/trunk/content/xdoc/releases/prepare.xml Tue Jun 4
21:44:34 2013
@@ -254,6 +254,10 @@
<pre>
mvn changes:announcement-generate
mv target/announcement/foo-release-notes.vm RELEASE-NOTES.txt </pre></p>
+ <p>The Commons Parent pom has a "release-notes" profile which
automatically sets the output
+ file, so you can just run the following instead:
+ <pre>mvn changes:announcement-generate -Prelease-notes
[-Dchanges.version=nnn]</pre>
+ </p>
<p>The commons parent project ships with a
<a
href="http://svn.apache.org/repos/asf/commons/proper/commons-parent/trunk/src/changes/release-notes.vm">default
template</a>. If you want to configure your own you need to set