Index: plugin.jelly =================================================================== RCS file: /home/cvspublic/maven-plugins/announcement/plugin.jelly,v retrieving revision 1.9 diff -u -r1.9 plugin.jelly --- plugin.jelly 2 Jul 2004 20:57:16 -0000 1.9 +++ plugin.jelly 13 Jul 2004 17:45:36 -0000 @@ -39,6 +39,10 @@ + + @@ -105,8 +109,29 @@ Generating announcement for release ${versionVariable} in ${file}... - + + + + + + + + + + + + + + + + + + + + Using ${stylesheetURI} as stylesheet. 3 maven-announcement-plugin Maven Announcement Plugin - 1.2 + 1.3-SNAPSHOT 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.> Produce release announcement http://maven.apache.org/reference/plugins/announcement/ @@ -75,6 +75,12 @@ Fabrizio Giustina + + + Felipe Leme + + + Raphael Philipe Mendes da Silva Index: xdocs/changes.xml =================================================================== RCS file: /home/cvspublic/maven-plugins/announcement/xdocs/changes.xml,v retrieving revision 1.19 diff -u -r1.19 changes.xml --- xdocs/changes.xml 8 Jul 2004 14:27:57 -0000 1.19 +++ xdocs/changes.xml 13 Jul 2004 17:45:37 -0000 @@ -24,6 +24,9 @@ Vincent Massol + + Added new properties that defines where the stylesheet is located. + Added new announcement:generate-allto generate announcement files for all releases. Index: xdocs/properties.xml =================================================================== RCS file: /home/cvspublic/maven-plugins/announcement/xdocs/properties.xml,v retrieving revision 1.8 diff -u -r1.8 properties.xml --- xdocs/properties.xml 2 Jul 2004 20:57:16 -0000 1.8 +++ xdocs/properties.xml 13 Jul 2004 17:45:37 -0000 @@ -61,7 +61,41 @@ ${maven.repo.remote}/${pom.groupId}/plugins + + maven.announcement.stylesheet.locationType + Yes + + Determines where the stylesheet is located. In other words, defines the meaning of the property maven.announcement.stylesheet.locationValue.
+ Permitted values (and their meaning) are: +
    +
  • +uri - path is an absolute URI (ex: file:/etc/myAnnouncements.jcl) +
  • +
  • +resource - path is relative to $MAVEN_REPO/${pom.groupId}/plugin-resources) (ex: myAnnouncements.jcl) +
  • +
  • +project - path is relative to the project's basedir (ex: resources/etc/myAnnouncements.jcl) +
  • +
+ + + resource + + + + maven.announcement.stylesheet.locationValue + Yes + + Defines the path of the stylesheet. Note that the path only makes sense according to the value of maven.announcement.stylesheet.locationType. + + + announcement.jsl + + + +