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/08/07 18:00:27 UTC

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

vmassol     2004/08/07 09:00:27

  Modified:    announcement/xdocs changes.xml properties.xml
               announcement plugin.jelly plugin.properties
  Log:
  Added new optional <code>maven.announcement.encoding</code> property that defines which charset encoding to use to generate the text announcement (defaults to UTF-8).
  
  Revision  Changes    Path
  1.23      +5 -0      maven-plugins/announcement/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/maven-plugins/announcement/xdocs/changes.xml,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- changes.xml	7 Aug 2004 15:49:37 -0000	1.22
  +++ changes.xml	7 Aug 2004 16:00:27 -0000	1.23
  @@ -25,6 +25,11 @@
     </properties>
     <body>
       <release version="1.3-SNAPSHOT" date="in CVS">
  +      <action dev="vmassol" type="add" issue="MPANNOUNCEMENT-13" due-to="Felipe Leme">
  +        Added new optional <code>maven.announcement.encoding</code> property 
  +        that defines which charset encoding to use to generate the text announcement
  +        (defaults to UTF-8).
  +      </action>
         <action dev="vmassol" type="add" issue="MPANNOUNCEMENT-9" due-to="Felipe Leme">
           Added new <code>announcement:mail</code> goal to automatically
           send the generated announcement by email.
  
  
  
  1.11      +10 -0     maven-plugins/announcement/xdocs/properties.xml
  
  Index: properties.xml
  ===================================================================
  RCS file: /home/cvs/maven-plugins/announcement/xdocs/properties.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- properties.xml	7 Aug 2004 15:49:37 -0000	1.10
  +++ properties.xml	7 Aug 2004 16:00:27 -0000	1.11
  @@ -119,6 +119,16 @@
             <td>none
             </td>
           </tr>
  +        <tr>
  +          <td>maven.announcement.encoding</td>
  +          <td>Yes</td>
  +          <td>
  +            Encoding used to generate the announcement file.
  +          </td>
  +          <td>
  +            <code>UTF-8</code>
  +          </td>
  +        </tr>
         </table>
       </section>
     </body>
  
  
  
  1.13      +3 -2      maven-plugins/announcement/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/maven-plugins/announcement/plugin.jelly,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- plugin.jelly	7 Aug 2004 15:49:37 -0000	1.12
  +++ plugin.jelly	7 Aug 2004 16:00:27 -0000	1.13
  @@ -127,10 +127,11 @@
       
         <j:set var="stylesheetURI" value="file:${maven.announcement.stylesheet.path}"/>
   
  -      <echo>Using stylesheet located at ${stylesheetURI}</echo>
  -
  +      <echo>Using stylesheet located at ${stylesheetURI} and ${maven.announcement.encoding} encoding</echo>
  +      
         <j:file
             name="${file}"
  +          encoding="${maven.announcement.encoding}"
             outputMode="xml"
             omitXmlDeclaration="true"
             prettyPrint="false">
  
  
  
  1.13      +3 -0      maven-plugins/announcement/plugin.properties
  
  Index: plugin.properties
  ===================================================================
  RCS file: /home/cvs/maven-plugins/announcement/plugin.properties,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- plugin.properties	7 Aug 2004 15:49:37 -0000	1.12
  +++ plugin.properties	7 Aug 2004 16:00:27 -0000	1.13
  @@ -34,6 +34,9 @@
   # Stylesheet to use to generate the text announcement
   maven.announcement.stylesheet.path = ${plugin.resources}/announcement.jsl
   
  +# Encoding to be used to generate the file
  +maven.announcement.encoding = UTF-8
  +
   # IP address or name of the SMTP server used to send an announcement email
   # maven.announcement.mail.server = 
   
  
  
  

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