Applied MPANNOUNCEMENT-12: Fixed error message when current version is not available at <code>xdocs/changes.xml</code>. Thanks Felipe.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115830 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
vmassol
2004-07-15 19:19:48 +00:00
parent 30a1422cbb
commit d53e83548a
3 changed files with 11 additions and 2 deletions

View File

@@ -67,7 +67,7 @@
</jsl:stylesheet>
<j:if test="${versionFound == null}">
<ant:fail>The release '${maven.announcement.version}' could not be found in change log</ant:fail>
<ant:fail>The release '${versionVariable}' could not be found in change log</ant:fail>
</j:if>
</goal>

View File

@@ -23,7 +23,7 @@
<pomVersion>3</pomVersion>
<id>maven-announcement-plugin</id>
<name>Maven Announcement Plugin</name>
<currentVersion>1.2</currentVersion>
<currentVersion>1.3-SNAPSHOT</currentVersion>
<description>The Announcement plugin generates release announcements. It uses the information found in both the POM and in the changes.xml file to generate the announcement text.</description>&gt;
<shortDescription>Produce release announcement</shortDescription>
<url>http://maven.apache.org/reference/plugins/announcement/</url>
@@ -76,6 +76,9 @@
<contributor>
<name>Fabrizio Giustina</name>
</contributor>
<contributor>
<name>Felipe Leme</name>
</contributor>
</contributors>
<dependencies>
<dependency>

View File

@@ -24,6 +24,12 @@
<author email="vmassol@apache.org">Vincent Massol</author>
</properties>
<body>
<release version="1.3-SNAPSHOT" date="in CVS">
<action dev="vmassol" type="fix" issue="MPANNOUNCEMENT-12" due-to="Felipe Leme">
Fixed error message when current version is not available at
<code>xdocs/changes.xml</code>.
</action>
</release>
<release version="1.2" date="2004-07-08">
<action dev="vmassol" type="add">Added new
<code>announcement:generate-all</code>to generate announcement files for all releases.