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/13 14:23:37 UTC

svn commit: r803859 - /maven/plugins/trunk/maven-checkstyle-plugin/pom.xml

Author: vsiveton
Date: Thu Aug 13 12:23:37 2009
New Revision: 803859

URL: http://svn.apache.org/viewvc?rev=803859&view=rev
Log:
o added current checkstyle version in the reporting profile

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

Modified: maven/plugins/trunk/maven-checkstyle-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/pom.xml?rev=803859&r1=803858&r2=803859&view=diff
==============================================================================
--- maven/plugins/trunk/maven-checkstyle-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-checkstyle-plugin/pom.xml Thu Aug 13 12:23:37 2009
@@ -103,6 +103,11 @@
     </dependency>
     <dependency>
       <groupId>org.apache.maven.doxia</groupId>
+      <artifactId>doxia-decoration-model</artifactId>
+      <version>${doxiaVersion}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven.doxia</groupId>
       <artifactId>doxia-site-renderer</artifactId>
       <version>${doxiaVersion}</version>
       <exclusions>
@@ -280,5 +285,21 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>reporting</id>
+      <reporting>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-checkstyle-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>
+          </plugin>
+        </plugins>
+      </reporting>
+    </profile>
   </profiles>
 </project>