vmassol     2004/07/08 08:45:09

  Modified:    xdoc/src/plugin-resources/templates downloads.jelly
  Log:
  Generate announcement files only once
  
  Revision  Changes    Path
  1.4       +7 -2      
maven-plugins/xdoc/src/plugin-resources/templates/downloads.jelly
  
  Index: downloads.jelly
  ===================================================================
  RCS file: 
/home/cvs/maven-plugins/xdoc/src/plugin-resources/templates/downloads.jelly,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- downloads.jelly   2 Jul 2004 21:28:36 -0000       1.3
  +++ downloads.jelly   8 Jul 2004 15:45:09 -0000       1.4
  @@ -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>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to