You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by de...@apache.org on 2011/01/02 00:17:34 UTC

svn commit: r1054311 - /maven/plugins/trunk/maven-changes-plugin/src/site/apt/examples/include-announcement-file.apt.vm

Author: dennisl
Date: Sat Jan  1 23:17:34 2011
New Revision: 1054311

URL: http://svn.apache.org/viewvc?rev=1054311&view=rev
Log:
[MCHANGES-160] Support creating a plain text version of the report

o Move the configuration into the execution so that it doesn't affect other uses of the Changes Plugin, i.e. reports

Modified:
    maven/plugins/trunk/maven-changes-plugin/src/site/apt/examples/include-announcement-file.apt.vm

Modified: maven/plugins/trunk/maven-changes-plugin/src/site/apt/examples/include-announcement-file.apt.vm
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changes-plugin/src/site/apt/examples/include-announcement-file.apt.vm?rev=1054311&r1=1054310&r2=1054311&view=diff
==============================================================================
--- maven/plugins/trunk/maven-changes-plugin/src/site/apt/examples/include-announcement-file.apt.vm (original)
+++ maven/plugins/trunk/maven-changes-plugin/src/site/apt/examples/include-announcement-file.apt.vm Sat Jan  1 23:17:34 2011
@@ -48,10 +48,6 @@ Include an Announcement File in Your Pac
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-changes-plugin</artifactId>
         <version>${project.version}</version>
-        <configuration>
-          <announcementFile>CHANGES.txt</announcementFile>
-          <outputDirectory>\${project.build.outputDirectory}/META-INF</outputDirectory>
-        </configuration>
         <executions>
           <execution>
             <id>include-announcement-file</id>
@@ -59,6 +55,10 @@ Include an Announcement File in Your Pac
             <goals>
               <goal>announcement-generate</goal>
             </goals>
+            <configuration>
+              <announcementFile>CHANGES.txt</announcementFile>
+              <outputDirectory>\${project.build.outputDirectory}/META-INF</outputDirectory>
+            </configuration>
           </execution>
         </executions>
       </plugin>