You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by vs...@apache.org on 2009/08/05 15:06:37 UTC

svn commit: r801204 - /maven/plugins/trunk/maven-changes-plugin/pom.xml

Author: vsiveton
Date: Wed Aug  5 13:06:37 2009
New Revision: 801204

URL: http://svn.apache.org/viewvc?rev=801204&view=rev
Log:
o moved maven-changes-plugin to the reporting profile

Modified:
    maven/plugins/trunk/maven-changes-plugin/pom.xml

Modified: maven/plugins/trunk/maven-changes-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changes-plugin/pom.xml?rev=801204&r1=801203&r2=801204&view=diff
==============================================================================
--- maven/plugins/trunk/maven-changes-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-changes-plugin/pom.xml Wed Aug  5 13:06:37 2009
@@ -239,7 +239,7 @@
       <artifactId>velocity</artifactId>
       <version>1.5</version>
     </dependency>
-    
+
     <dependency>
       <groupId>org.apache.maven.shared</groupId>
       <artifactId>maven-filtering</artifactId>
@@ -359,36 +359,6 @@
     </plugins>
   </build>
 
-  <reporting>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-changes-plugin</artifactId>
-        <!-- latest release -->
-        <version>2.1</version>
-        <configuration>
-          <!-- For Announcement -->
-          <generateJiraAnnouncement>true</generateJiraAnnouncement>
-          <!-- For Changes-report -->
-          <xmlPath>${basedir}/src/site/changes/sample-changes.xml</xmlPath>
-          <!-- For JIRA-report -->
-          <columnNames>Type,Key,Summary,Assignee,Status,Resolution,Fix Version</columnNames>
-          <onlyCurrentVersion>true</onlyCurrentVersion>
-          <resolutionIds>Closed</resolutionIds>
-          <sortColumnNames>Type,Key</sortColumnNames>
-        </configuration>
-        <reportSets>
-          <reportSet>
-            <reports>
-              <report>changes-report</report>
-              <report>jira-report</report>
-            </reports>
-          </reportSet>
-        </reportSets>
-      </plugin>
-    </plugins>
-  </reporting>
-
   <profiles>
     <profile>
       <id>run-its</id>
@@ -452,7 +422,41 @@
           </plugin>
         </plugins>
       </build>
-    </profile>    
+    </profile>
+    <profile>
+      <id>reporting</id>
+      <reporting>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-changes-plugin</artifactId>
+            <!--
+              Use the current version to generate sample with the last features/fixes of the plugin.
+              It implies that the current version is already deployed to generate the site.
+            -->
+            <version>${pom.version}</version>
+            <configuration>
+              <!-- For Announcement -->
+              <generateJiraAnnouncement>true</generateJiraAnnouncement>
+              <!-- For Changes-report -->
+              <xmlPath>${basedir}/src/site/changes/sample-changes.xml</xmlPath>
+              <!-- For JIRA-report -->
+              <columnNames>Type,Key,Summary,Assignee,Status,Resolution,Fix Version</columnNames>
+              <onlyCurrentVersion>true</onlyCurrentVersion>
+              <resolutionIds>Closed</resolutionIds>
+              <sortColumnNames>Type,Key</sortColumnNames>
+            </configuration>
+            <reportSets>
+              <reportSet>
+                <reports>
+                  <report>changes-report</report>
+                  <report>jira-report</report>
+                </reports>
+              </reportSet>
+            </reportSets>
+          </plugin>
+        </plugins>
+      </reporting>
+    </profile>
   </profiles>
-
 </project>