You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by vm...@apache.org on 2004/05/01 19:59:08 UTC

cvs commit: maven-plugins/announcement plugin.jelly plugin.properties

vmassol     2004/05/01 10:59:08

  Modified:    announcement/xdocs changes.xml properties.xml
               announcement plugin.jelly plugin.properties
  Log:
  The <code>maven.announcement.version</code> property does no longer needs to be defined. It defaults to <code>${pom.currentVersion}</code> if not defined.
  
  Revision  Changes    Path
  1.13      +6 -1      maven-plugins/announcement/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/maven-plugins/announcement/xdocs/changes.xml,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- changes.xml	1 May 2004 17:53:24 -0000	1.12
  +++ changes.xml	1 May 2004 17:59:08 -0000	1.13
  @@ -24,7 +24,12 @@
       <author email="vmassol@apache.org">Vincent Massol</author>
     </properties>
     <body>
  -    <release version="1.1" date="in CVS">
  +    <release version="1.1-SNAPSHOT" date="in CVS">
  +      <action dev="vmassol" type="update">
  +        The <code>maven.announcement.version</code> property does no longer
  +        needs to be defined. It defaults to <code>${pom.currentVersion}</code>
  +        if not defined.
  +      </action>
         <action dev="vmassol" type="add">
           Improved web site documentation.
         </action>
  
  
  
  1.6       +1 -1      maven-plugins/announcement/xdocs/properties.xml
  
  Index: properties.xml
  ===================================================================
  RCS file: /home/cvs/maven-plugins/announcement/xdocs/properties.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- properties.xml	25 Apr 2004 18:19:41 -0000	1.5
  +++ properties.xml	1 May 2004 17:59:08 -0000	1.6
  @@ -35,7 +35,7 @@
               Version for which to create a release note.       	
             </td>
             <td>
  -            <code>${pom.version}</code>
  +            <code>${pom.currentVersion}</code>
             </td>
           </tr>
           <tr>
  
  
  
  1.7       +0 -4      maven-plugins/announcement/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/maven-plugins/announcement/plugin.jelly,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- plugin.jelly	1 May 2004 17:52:36 -0000	1.6
  +++ plugin.jelly	1 May 2004 17:59:08 -0000	1.7
  @@ -34,10 +34,6 @@
     <goal name="announcement:generate"
       description="Generate release announcement">
   
  -    <j:if test="${context.getVariable('maven.announcement.version') == null}">
  -      <ant:fail>The 'maven.announcement.version' property needs to be defined.</ant:fail>
  -    </j:if>
  -  
       <echo>Generating announcement for release ${maven.announcement.version} in ${maven.announcement.file}...</echo>
   
       <util:file var="inputFile" name="${maven.docs.src}/changes.xml"/>
  
  
  
  1.7       +7 -4      maven-plugins/announcement/plugin.properties
  
  Index: plugin.properties
  ===================================================================
  RCS file: /home/cvs/maven-plugins/announcement/plugin.properties,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- plugin.properties	25 Apr 2004 18:19:41 -0000	1.6
  +++ plugin.properties	1 May 2004 17:59:08 -0000	1.7
  @@ -18,7 +18,10 @@
   # Properties for the Announcement plugin
   # -------------------------------------------------------------------
   
  -# Version for which to create a release note. This property needs to
  -# be defined in your project. For example:
  -maven.announcement.version = ${pom.version}
  -maven.announcement.file=${maven.build.dir}/announcement.txt
  \ No newline at end of file
  +# Version for which to create a release note. If not defined, it 
  +# defaults to ${pom.currentVersion}.
  +# For example:
  +# maven.announcement.version = ${pom.version}
  +
  +# Name and location of generated announcement file
  +maven.announcement.file=${maven.build.dir}/announcement.txt
  
  
  

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