Generate announcement files only once

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115729 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
vmassol
2004-07-08 15:45:09 +00:00
parent e953d22c67
commit d64b8620eb

View File

@@ -72,6 +72,13 @@
<th>Release notes</th>
</j:if>
</tr>
<!-- Call the Announcement plugin to generate release notes if the changes.xml
file exists -->
<j:if test="${changesAsFile.exists()}">
<attainGoal name="announcement:generate-all"/>
</j:if>
<j:forEach var="version" items="${pom.versions}">
<!-- Exclude the version being worked on (i.e. the one
that has a HEAD tag -->
@@ -82,8 +89,6 @@
</td>
<j:if test="${changesAsFile.exists()}">
<td>
<!-- Call the Announcement plugin to generate release notes -->
<attainGoal name="announcement:generate-all"/>
<a href="announcements/announcement-${version}.txt">${version} release notes</a>
</td>
</j:if>