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/08/01 22:07:15 UTC
svn commit: r1152915 - in /maven/plugins/trunk/maven-checkstyle-plugin:
pom.xml src/site/apt/index.apt src/site/apt/index.apt.vm
Author: dennisl
Date: Mon Aug 1 20:07:14 2011
New Revision: 1152915
URL: http://svn.apache.org/viewvc?rev=1152915&view=rev
Log:
Add a property to hold the Checkstyle version.
Inject that property into the generated site.
Added:
maven/plugins/trunk/maven-checkstyle-plugin/src/site/apt/index.apt.vm
- copied, changed from r1152912, maven/plugins/trunk/maven-checkstyle-plugin/src/site/apt/index.apt
Removed:
maven/plugins/trunk/maven-checkstyle-plugin/src/site/apt/index.apt
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=1152915&r1=1152914&r2=1152915&view=diff
==============================================================================
--- maven/plugins/trunk/maven-checkstyle-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-checkstyle-plugin/pom.xml Mon Aug 1 20:07:14 2011
@@ -60,6 +60,7 @@ under the License.
<properties>
<mavenVersion>2.0.6</mavenVersion>
+ <checkstyleVersion>5.4</checkstyleVersion>
<doxiaVersion>1.1.3</doxiaVersion>
<sitePluginVersion>2.1.1</sitePluginVersion>
</properties>
@@ -178,7 +179,7 @@ under the License.
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
- <version>5.4</version>
+ <version>${checkstyleVersion}</version>
<exclusions>
<!-- MCHECKSTYLE-156 -->
<exclusion>
Copied: maven/plugins/trunk/maven-checkstyle-plugin/src/site/apt/index.apt.vm (from r1152912, maven/plugins/trunk/maven-checkstyle-plugin/src/site/apt/index.apt)
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/src/site/apt/index.apt.vm?p2=maven/plugins/trunk/maven-checkstyle-plugin/src/site/apt/index.apt.vm&p1=maven/plugins/trunk/maven-checkstyle-plugin/src/site/apt/index.apt&r1=1152912&r2=1152915&rev=1152915&view=diff
==============================================================================
--- maven/plugins/trunk/maven-checkstyle-plugin/src/site/apt/index.apt (original)
+++ maven/plugins/trunk/maven-checkstyle-plugin/src/site/apt/index.apt.vm Mon Aug 1 20:07:14 2011
@@ -3,7 +3,7 @@
------
Maria Odea Ching
------
- 20 July 2006
+ 2011-08-01
------
~~ Licensed to the Apache Software Foundation (ASF) under one
@@ -31,7 +31,7 @@ Maven Checkstyle Plugin
The Checkstyle Plugin generates a report regarding the code style used by the developers. For more information about Checkstyle,
see {{{http://checkstyle.sourceforge.net/}http://checkstyle.sourceforge.net/}}.
- This version of the plugin uses Checkstyle 5.0.
+ This version of the plugin uses Checkstyle ${checkstyleVersion}.
The plugin can be configured in the project's POM. Predefined rulesets are included with the plugin, these are:
<<<sun_checks.xml>>>, <<<turbine_checks.xml>>>, <<<avalon_checks.xml>>> and <<<maven_checks.xml>>>. You can also use a custom ruleset by