Author: dennisl
Date: Wed Jan  4 19:51:45 2012
New Revision: 1227285

URL: http://svn.apache.org/viewvc?rev=1227285&view=rev
Log:
Extract the PMD version into a property, that is also included on the front 
page of the generated site.

Added:
    maven/plugins/trunk/maven-pmd-plugin/src/site/apt/index.apt.vm   (contents, 
props changed)
      - copied, changed from r1227266, 
maven/plugins/trunk/maven-pmd-plugin/src/site/apt/index.apt
Removed:
    maven/plugins/trunk/maven-pmd-plugin/src/site/apt/index.apt
Modified:
    maven/plugins/trunk/maven-pmd-plugin/pom.xml

Modified: maven/plugins/trunk/maven-pmd-plugin/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pmd-plugin/pom.xml?rev=1227285&r1=1227284&r2=1227285&view=diff
==============================================================================
--- maven/plugins/trunk/maven-pmd-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-pmd-plugin/pom.xml Wed Jan  4 19:51:45 2012
@@ -64,6 +64,7 @@ under the License.
   <properties>
     <mavenVersion>2.0.6</mavenVersion>
     <doxiaVersion>1.1.3</doxiaVersion>
+    <pmdVersion>4.2.6</pmdVersion>
     <sitePluginVersion>3.0</sitePluginVersion>
   </properties>
 
@@ -147,7 +148,7 @@ under the License.
     <dependency>
       <groupId>pmd</groupId>
       <artifactId>pmd</artifactId>
-      <version>4.2.6</version>
+      <version>${pmdVersion}</version>
     </dependency>
 
     <!-- misc -->

Copied: maven/plugins/trunk/maven-pmd-plugin/src/site/apt/index.apt.vm (from 
r1227266, maven/plugins/trunk/maven-pmd-plugin/src/site/apt/index.apt)
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pmd-plugin/src/site/apt/index.apt.vm?p2=maven/plugins/trunk/maven-pmd-plugin/src/site/apt/index.apt.vm&p1=maven/plugins/trunk/maven-pmd-plugin/src/site/apt/index.apt&r1=1227266&r2=1227285&rev=1227285&view=diff
==============================================================================
--- maven/plugins/trunk/maven-pmd-plugin/src/site/apt/index.apt (original)
+++ maven/plugins/trunk/maven-pmd-plugin/src/site/apt/index.apt.vm Wed Jan  4 
19:51:45 2012
@@ -1,7 +1,9 @@
  ------
  Introduction
  ------
- 06 January 2006
+ Dennis Lundberg
+ ------
+ 2012-01-04
  ------
 
  ~~ Licensed to the Apache Software Foundation (ASF) under one
@@ -23,10 +25,12 @@
 
 Maven PMD Plugin
 
-  The {{{http://pmd.sourceforge.net/}PMD}} plugin allows you to automatically 
run the PMD code analysis tool
+  The PMD Plugin allows you to automatically run the 
{{{http://pmd.sourceforge.net/}PMD}} code analysis tool
   on your project's source code and generate a site report with its results. 
It also supports the separate
   Copy/Paste Detector tool (or CPD) distributed with PMD.
 
+  This version of Maven PMD Plugin uses PMD ${pmdVersion}.
+
   The plugin accepts configuration parameters that can be used to customize 
the execution of the PMD tool.
 
 

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/site/apt/index.apt.vm
------------------------------------------------------------------------------
    svn:eol-style = native


Reply via email to