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 2014/03/08 23:39:47 UTC
svn commit: r900631 [11/34] - in
/websites/production/maven/content/plugins-archives/maven-checkstyle-plugin-LATEST:
./ apidocs/ apidocs/org/apache/maven/plugin/checkstyle/
apidocs/org/apache/maven/plugin/checkstyle/class-use/
apidocs/org/apache/maven/...
Modified: websites/production/maven/content/plugins-archives/maven-checkstyle-plugin-LATEST/dependency-info.html
==============================================================================
--- websites/production/maven/content/plugins-archives/maven-checkstyle-plugin-LATEST/dependency-info.html (original)
+++ websites/production/maven/content/plugins-archives/maven-checkstyle-plugin-LATEST/dependency-info.html Sat Mar 8 22:39:44 2014
@@ -1,18 +1,18 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
- | Generated by Apache Maven Doxia at Feb 22, 2013
+ | Generated by Apache Maven Doxia at 2014-03-08
| Rendered using Apache Maven Stylus Skin 1.5
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Maven Checkstyle Plugin - Dependency Information</title>
+ <title>Apache Maven Checkstyle Plugin - Dependency Information</title>
<style type="text/css" media="all">
@import url("./css/maven-base.css");
@import url("./css/maven-theme.css");
@import url("./css/site.css");
</style>
<link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
- <meta name="Date-Revision-yyyymmdd" content="20130222" />
+ <meta name="Date-Revision-yyyymmdd" content="20140308" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="http://www.google-analytics.com/urchin.js"></script>
@@ -41,13 +41,13 @@
>
<a href="../index.html">Plugins</a>
>
- <a href="./">Maven Checkstyle Plugin</a>
+ <a href="./">Apache Maven Checkstyle Plugin</a>
>
Dependency Information
</div>
<div class="xright">
- Last Published: 2013-02-22
- | Version: 2.10
+ Last Published: 2014-03-08
+ | Version: 2.12
</div>
<div class="clear">
<hr/>
@@ -74,6 +74,9 @@
<h5>Examples</h5>
<ul>
<li class="none">
+ <a href="examples/inline-checker-config.html">Using an Inline Checkstyle Checker Configuration</a>
+ </li>
+ <li class="none">
<a href="examples/custom-checker-config.html">Using a Custom Checkstyle Checker Configuration</a>
</li>
<li class="none">
@@ -98,42 +101,42 @@
<a href="index.html">About</a>
</li>
<li class="none">
- <a href="team-list.html">Project Team</a>
+ <a href="plugin-management.html">Plugin Management</a>
+ </li>
+ <li class="none">
+ <a href="distribution-management.html">Distribution Management</a>
</li>
<li class="none">
<strong>Dependency Information</strong>
</li>
<li class="none">
- <a href="dependency-management.html">Dependency Management</a>
+ <a href="source-repository.html">Source Repository</a>
</li>
<li class="none">
- <a href="plugins.html">Project Plugins</a>
+ <a href="mail-lists.html">Mailing Lists</a>
</li>
<li class="none">
- <a href="integration.html">Continuous Integration</a>
+ <a href="issue-tracking.html">Issue Tracking</a>
</li>
<li class="none">
- <a href="issue-tracking.html">Issue Tracking</a>
+ <a href="integration.html">Continuous Integration</a>
</li>
<li class="none">
- <a href="source-repository.html">Source Repository</a>
+ <a href="plugins.html">Project Plugins</a>
</li>
<li class="none">
<a href="license.html">Project License</a>
</li>
<li class="none">
- <a href="plugin-management.html">Plugin Management</a>
+ <a href="dependency-management.html">Dependency Management</a>
</li>
<li class="none">
- <a href="distribution-management.html">Distribution Management</a>
+ <a href="team-list.html">Project Team</a>
</li>
<li class="none">
<a href="project-summary.html">Project Summary</a>
</li>
<li class="none">
- <a href="mail-lists.html">Mailing Lists</a>
- </li>
- <li class="none">
<a href="dependencies.html">Dependencies</a>
</li>
</ul>
@@ -210,16 +213,45 @@
</div>
<div id="bodyColumn">
<div id="contentBox">
- <div class="section"><h2>Dependency Information<a name="Dependency_Information"></a></h2><a name="Dependency_Information"></a><div class="section"><h3>Apache Maven<a name="Apache_Maven"></a></h3><a name="Apache_Maven"></a><div class="source"><pre><dependency>
+ <div class="section">
+<h2>Dependency Information<a name="Dependency_Information"></a></h2><a name="Dependency_Information"></a>
+<div class="section">
+<h3>Apache Maven<a name="Apache_Maven"></a></h3><a name="Apache_Maven"></a>
+<div class="source">
+<pre><dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>2.10</version>
+ <version>2.12</version>
<type>maven-plugin</type>
-</dependency></pre></div></div><div class="section"><h3>Apache Buildr<a name="Apache_Buildr"></a></h3><a name="Apache_Buildr"></a><div class="source"><pre>'org.apache.maven.plugins:maven-checkstyle-plugin:maven-plugin:2.10'</pre></div></div><div class="section"><h3>Apache Ant<a name="Apache_Ant"></a></h3><a name="Apache_Ant"></a><div class="source"><pre><dependency org="org.apache.maven.plugins" name="maven-checkstyle-plugin" rev="2.10">
+</dependency></pre></div></div>
+<div class="section">
+<h3>Apache Buildr<a name="Apache_Buildr"></a></h3><a name="Apache_Buildr"></a>
+<div class="source">
+<pre>'org.apache.maven.plugins:maven-checkstyle-plugin:maven-plugin:2.12'</pre></div></div>
+<div class="section">
+<h3>Apache Ant<a name="Apache_Ant"></a></h3><a name="Apache_Ant"></a>
+<div class="source">
+<pre><dependency org="org.apache.maven.plugins" name="maven-checkstyle-plugin" rev="2.12">
<artifact name="maven-checkstyle-plugin" type="maven-plugin" />
-</dependency></pre></div></div><div class="section"><h3>Groovy Grape<a name="Groovy_Grape"></a></h3><a name="Groovy_Grape"></a><div class="source"><pre>@Grapes(
-@Grab(group='org.apache.maven.plugins', module='maven-checkstyle-plugin', version='2.10')
-)</pre></div></div><div class="section"><h3>Grails<a name="Grails"></a></h3><a name="Grails"></a><div class="source"><pre>compile 'org.apache.maven.plugins:maven-checkstyle-plugin:2.10'</pre></div></div><div class="section"><h3>Leiningen<a name="Leiningen"></a></h3><a name="Leiningen"></a><div class="source"><pre>[org.apache.maven.plugins/maven-checkstyle-plugin "2.10"]</pre></div></div><div class="section"><h3>SBT<a name="SBT"></a></h3><a name="SBT"></a><div class="source"><pre>libraryDependencies += "org.apache.maven.plugins" %% "maven-checkstyle-plugin" % "2.10"</pre></div></div></div>
+</dependency></pre></div></div>
+<div class="section">
+<h3>Groovy Grape<a name="Groovy_Grape"></a></h3><a name="Groovy_Grape"></a>
+<div class="source">
+<pre>@Grapes(
+@Grab(group='org.apache.maven.plugins', module='maven-checkstyle-plugin', version='2.12')
+)</pre></div></div>
+<div class="section">
+<h3>Grails<a name="Grails"></a></h3><a name="Grails"></a>
+<div class="source">
+<pre>compile 'org.apache.maven.plugins:maven-checkstyle-plugin:2.12'</pre></div></div>
+<div class="section">
+<h3>Leiningen<a name="Leiningen"></a></h3><a name="Leiningen"></a>
+<div class="source">
+<pre>[org.apache.maven.plugins/maven-checkstyle-plugin "2.12"]</pre></div></div>
+<div class="section">
+<h3>SBT<a name="SBT"></a></h3><a name="SBT"></a>
+<div class="source">
+<pre>libraryDependencies += "org.apache.maven.plugins" %% "maven-checkstyle-plugin" % "2.12"</pre></div></div></div>
</div>
</div>
<div class="clear">
@@ -227,7 +259,7 @@
</div>
<div id="footer">
<div class="xright">
- © 2005-2013
+ © 2005-2014
The Apache Software Foundation
- <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>.
Modified: websites/production/maven/content/plugins-archives/maven-checkstyle-plugin-LATEST/dependency-management.html
==============================================================================
--- websites/production/maven/content/plugins-archives/maven-checkstyle-plugin-LATEST/dependency-management.html (original)
+++ websites/production/maven/content/plugins-archives/maven-checkstyle-plugin-LATEST/dependency-management.html Sat Mar 8 22:39:44 2014
@@ -1,18 +1,18 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
- | Generated by Apache Maven Doxia at Feb 22, 2013
+ | Generated by Apache Maven Doxia at 2014-03-08
| Rendered using Apache Maven Stylus Skin 1.5
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Maven Checkstyle Plugin - Project Dependency Management</title>
+ <title>Apache Maven Checkstyle Plugin - Project Dependency Management</title>
<style type="text/css" media="all">
@import url("./css/maven-base.css");
@import url("./css/maven-theme.css");
@import url("./css/site.css");
</style>
<link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
- <meta name="Date-Revision-yyyymmdd" content="20130222" />
+ <meta name="Date-Revision-yyyymmdd" content="20140308" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="http://www.google-analytics.com/urchin.js"></script>
@@ -41,13 +41,13 @@
>
<a href="../index.html">Plugins</a>
>
- <a href="./">Maven Checkstyle Plugin</a>
+ <a href="./">Apache Maven Checkstyle Plugin</a>
>
Project Dependency Management
</div>
<div class="xright">
- Last Published: 2013-02-22
- | Version: 2.10
+ Last Published: 2014-03-08
+ | Version: 2.12
</div>
<div class="clear">
<hr/>
@@ -74,6 +74,9 @@
<h5>Examples</h5>
<ul>
<li class="none">
+ <a href="examples/inline-checker-config.html">Using an Inline Checkstyle Checker Configuration</a>
+ </li>
+ <li class="none">
<a href="examples/custom-checker-config.html">Using a Custom Checkstyle Checker Configuration</a>
</li>
<li class="none">
@@ -98,40 +101,40 @@
<a href="index.html">About</a>
</li>
<li class="none">
- <a href="team-list.html">Project Team</a>
+ <a href="plugin-management.html">Plugin Management</a>
</li>
<li class="none">
- <a href="dependency-info.html">Dependency Information</a>
+ <a href="distribution-management.html">Distribution Management</a>
</li>
<li class="none">
- <strong>Dependency Management</strong>
- </li>
+ <a href="dependency-info.html">Dependency Information</a>
+ </li>
<li class="none">
- <a href="plugins.html">Project Plugins</a>
+ <a href="source-repository.html">Source Repository</a>
</li>
<li class="none">
- <a href="integration.html">Continuous Integration</a>
+ <a href="mail-lists.html">Mailing Lists</a>
</li>
<li class="none">
<a href="issue-tracking.html">Issue Tracking</a>
</li>
<li class="none">
- <a href="source-repository.html">Source Repository</a>
+ <a href="integration.html">Continuous Integration</a>
</li>
<li class="none">
- <a href="license.html">Project License</a>
+ <a href="plugins.html">Project Plugins</a>
</li>
<li class="none">
- <a href="plugin-management.html">Plugin Management</a>
+ <a href="license.html">Project License</a>
</li>
<li class="none">
- <a href="distribution-management.html">Distribution Management</a>
- </li>
+ <strong>Dependency Management</strong>
+ </li>
<li class="none">
- <a href="project-summary.html">Project Summary</a>
+ <a href="team-list.html">Project Team</a>
</li>
<li class="none">
- <a href="mail-lists.html">Mailing Lists</a>
+ <a href="project-summary.html">Project Summary</a>
</li>
<li class="none">
<a href="dependencies.html">Dependencies</a>
@@ -210,7 +213,40 @@
</div>
<div id="bodyColumn">
<div id="contentBox">
- <div class="section"><h2>Project Dependency Management<a name="Project_Dependency_Management"></a></h2><a name="Project_Dependency_Management"></a><div class="section"><h3>compile<a name="compile"></a></h3><a name="compile"></a><p>The following is a list of compile dependencies in the DependencyManagement of this project. These dependencies can be included in the submodules to compile and run the submodule:</p><table border="0" class="bodyTable"><tr class="a"><th>GroupId</th><th>ArtifactId</th><th>Version</th><th>Type</th><th>License</th></tr><tr class="b"><td>org.codehaus.plexus</td><td><a class="externalLink" href="http://plexus.codehaus.org/plexus-containers/plexus-component-annotations">plexus-component-annotations</a></td><td>1.5.5</td><td>jar</td><td><a class="externalLink" href="http://www.apache.org/licenses/LICENSE-2.0.txt">The Apache Software License, Version 2.0</a></td></tr></table></div><div class="section"><h3>provided<a name="provided"></a></h3><a name="provid
ed"></a><p>The following is a list of provided dependencies in the DependencyManagement of this project. These dependencies can be included in the submodules to compile the submodule, but should be provided by default when using the library:</p><table border="0" class="bodyTable"><tr class="a"><th>GroupId</th><th>ArtifactId</th><th>Version</th><th>Type</th><th>License</th></tr><tr class="b"><td>org.apache.maven.plugin-tools</td><td><a class="externalLink" href="http://maven.apache.org/plugin-tools/maven-plugin-annotations">maven-plugin-annotations</a></td><td>3.2</td><td>jar</td><td><a class="externalLink" href="http://www.apache.org/licenses/LICENSE-2.0.txt">The Apache Software License, Version 2.0</a></td></tr></table></div></div>
+ <div class="section">
+<h2>Project Dependency Management<a name="Project_Dependency_Management"></a></h2><a name="Project_Dependency_Management"></a>
+<div class="section">
+<h3>compile<a name="compile"></a></h3><a name="compile"></a>
+<p>The following is a list of compile dependencies in the DependencyManagement of this project. These dependencies can be included in the submodules to compile and run the submodule:</p>
+<table border="0" class="bodyTable">
+<tr class="a">
+<th>GroupId</th>
+<th>ArtifactId</th>
+<th>Version</th>
+<th>Type</th>
+<th>License</th></tr>
+<tr class="b">
+<td>org.codehaus.plexus</td>
+<td><a class="externalLink" href="http://plexus.codehaus.org/plexus-containers/plexus-component-annotations">plexus-component-annotations</a></td>
+<td>1.5.5</td>
+<td>jar</td>
+<td><a class="externalLink" href="http://www.apache.org/licenses/LICENSE-2.0.txt">The Apache Software License, Version 2.0</a></td></tr></table></div>
+<div class="section">
+<h3>provided<a name="provided"></a></h3><a name="provided"></a>
+<p>The following is a list of provided dependencies in the DependencyManagement of this project. These dependencies can be included in the submodules to compile the submodule, but should be provided by default when using the library:</p>
+<table border="0" class="bodyTable">
+<tr class="a">
+<th>GroupId</th>
+<th>ArtifactId</th>
+<th>Version</th>
+<th>Type</th>
+<th>License</th></tr>
+<tr class="b">
+<td>org.apache.maven.plugin-tools</td>
+<td><a class="externalLink" href="http://maven.apache.org/plugin-tools/maven-plugin-annotations">maven-plugin-annotations</a></td>
+<td>3.2</td>
+<td>jar</td>
+<td><a class="externalLink" href="http://www.apache.org/licenses/LICENSE-2.0.txt">The Apache Software License, Version 2.0</a></td></tr></table></div></div>
</div>
</div>
<div class="clear">
@@ -218,7 +254,7 @@
</div>
<div id="footer">
<div class="xright">
- © 2005-2013
+ © 2005-2014
The Apache Software Foundation
- <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>.
Modified: websites/production/maven/content/plugins-archives/maven-checkstyle-plugin-LATEST/distribution-management.html
==============================================================================
--- websites/production/maven/content/plugins-archives/maven-checkstyle-plugin-LATEST/distribution-management.html (original)
+++ websites/production/maven/content/plugins-archives/maven-checkstyle-plugin-LATEST/distribution-management.html Sat Mar 8 22:39:44 2014
@@ -1,18 +1,18 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
- | Generated by Apache Maven Doxia at Feb 22, 2013
+ | Generated by Apache Maven Doxia at 2014-03-08
| Rendered using Apache Maven Stylus Skin 1.5
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Maven Checkstyle Plugin - Project Distribution Management</title>
+ <title>Apache Maven Checkstyle Plugin - Project Distribution Management</title>
<style type="text/css" media="all">
@import url("./css/maven-base.css");
@import url("./css/maven-theme.css");
@import url("./css/site.css");
</style>
<link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
- <meta name="Date-Revision-yyyymmdd" content="20130222" />
+ <meta name="Date-Revision-yyyymmdd" content="20140308" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="http://www.google-analytics.com/urchin.js"></script>
@@ -41,13 +41,13 @@
>
<a href="../index.html">Plugins</a>
>
- <a href="./">Maven Checkstyle Plugin</a>
+ <a href="./">Apache Maven Checkstyle Plugin</a>
>
Project Distribution Management
</div>
<div class="xright">
- Last Published: 2013-02-22
- | Version: 2.10
+ Last Published: 2014-03-08
+ | Version: 2.12
</div>
<div class="clear">
<hr/>
@@ -74,6 +74,9 @@
<h5>Examples</h5>
<ul>
<li class="none">
+ <a href="examples/inline-checker-config.html">Using an Inline Checkstyle Checker Configuration</a>
+ </li>
+ <li class="none">
<a href="examples/custom-checker-config.html">Using a Custom Checkstyle Checker Configuration</a>
</li>
<li class="none">
@@ -98,40 +101,40 @@
<a href="index.html">About</a>
</li>
<li class="none">
- <a href="team-list.html">Project Team</a>
+ <a href="plugin-management.html">Plugin Management</a>
</li>
<li class="none">
+ <strong>Distribution Management</strong>
+ </li>
+ <li class="none">
<a href="dependency-info.html">Dependency Information</a>
</li>
<li class="none">
- <a href="dependency-management.html">Dependency Management</a>
+ <a href="source-repository.html">Source Repository</a>
</li>
<li class="none">
- <a href="plugins.html">Project Plugins</a>
+ <a href="mail-lists.html">Mailing Lists</a>
</li>
<li class="none">
- <a href="integration.html">Continuous Integration</a>
+ <a href="issue-tracking.html">Issue Tracking</a>
</li>
<li class="none">
- <a href="issue-tracking.html">Issue Tracking</a>
+ <a href="integration.html">Continuous Integration</a>
</li>
<li class="none">
- <a href="source-repository.html">Source Repository</a>
+ <a href="plugins.html">Project Plugins</a>
</li>
<li class="none">
<a href="license.html">Project License</a>
</li>
<li class="none">
- <a href="plugin-management.html">Plugin Management</a>
+ <a href="dependency-management.html">Dependency Management</a>
</li>
<li class="none">
- <strong>Distribution Management</strong>
- </li>
- <li class="none">
- <a href="project-summary.html">Project Summary</a>
+ <a href="team-list.html">Project Team</a>
</li>
<li class="none">
- <a href="mail-lists.html">Mailing Lists</a>
+ <a href="project-summary.html">Project Summary</a>
</li>
<li class="none">
<a href="dependencies.html">Dependencies</a>
@@ -210,7 +213,16 @@
</div>
<div id="bodyColumn">
<div id="contentBox">
- <div class="section"><h2>Overview<a name="Overview"></a></h2><a name="Overview"></a><p>The following is the distribution management information used by this project.</p><div class="section"><h3>Repository - apache.releases.https<a name="Repository_-_apache.releases.https"></a></h3><a name="Repository_-_apache.releases.https"></a><a class="externalLink" href="https://repository.apache.org/service/local/staging/deploy/maven2">https://repository.apache.org/service/local/staging/deploy/maven2</a></div><div class="section"><h3>Snapshot Repository - apache.snapshots.https<a name="Snapshot_Repository_-_apache.snapshots.https"></a></h3><a name="Snapshot_Repository_-_apache.snapshots.https"></a><a class="externalLink" href="https://repository.apache.org/content/repositories/snapshots">https://repository.apache.org/content/repositories/snapshots</a></div><div class="section"><h3>Site - apache.website<a name="Site_-_apache.website"></a></h3><a name="Site_-_apache.website"></a><p>scm:sv
n:https://svn.apache.org/repos/infra/websites/production/maven/content/plugins/maven-checkstyle-plugin</p></div></div>
+ <div class="section">
+<h2>Overview<a name="Overview"></a></h2><a name="Overview"></a>
+<p>The following is the distribution management information used by this project.</p>
+<div class="section">
+<h3>Repository - apache.releases.https<a name="Repository_-_apache.releases.https"></a></h3><a name="Repository_-_apache.releases.https"></a><a class="externalLink" href="https://repository.apache.org/service/local/staging/deploy/maven2">https://repository.apache.org/service/local/staging/deploy/maven2</a></div>
+<div class="section">
+<h3>Snapshot Repository - apache.snapshots.https<a name="Snapshot_Repository_-_apache.snapshots.https"></a></h3><a name="Snapshot_Repository_-_apache.snapshots.https"></a><a class="externalLink" href="https://repository.apache.org/content/repositories/snapshots">https://repository.apache.org/content/repositories/snapshots</a></div>
+<div class="section">
+<h3>Site - apache.website<a name="Site_-_apache.website"></a></h3><a name="Site_-_apache.website"></a>
+<p>scm:svn:https://svn.apache.org/repos/infra/websites/production/maven/content/plugins-archives/maven-checkstyle-plugin-LATEST</p></div></div>
</div>
</div>
<div class="clear">
@@ -218,7 +230,7 @@
</div>
<div id="footer">
<div class="xright">
- © 2005-2013
+ © 2005-2014
The Apache Software Foundation
- <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>.
Modified: websites/production/maven/content/plugins-archives/maven-checkstyle-plugin-LATEST/examples/custom-checker-config.html
==============================================================================
--- websites/production/maven/content/plugins-archives/maven-checkstyle-plugin-LATEST/examples/custom-checker-config.html (original)
+++ websites/production/maven/content/plugins-archives/maven-checkstyle-plugin-LATEST/examples/custom-checker-config.html Sat Mar 8 22:39:44 2014
@@ -1,11 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
- | Generated by Apache Maven Doxia at Feb 17, 2013
+ | Generated by Apache Maven Doxia at 2014-03-08
| Rendered using Apache Maven Stylus Skin 1.5
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Maven Checkstyle Plugin - Using a Custom Checkstyle Checker Configuration</title>
+ <title>Apache Maven Checkstyle Plugin - Using a Custom Checkstyle Checker Configuration</title>
<style type="text/css" media="all">
@import url("../css/maven-base.css");
@import url("../css/maven-theme.css");
@@ -13,7 +13,7 @@
</style>
<link rel="stylesheet" href="../css/print.css" type="text/css" media="print" />
<meta name="author" content="July 2006" />
- <meta name="Date-Revision-yyyymmdd" content="20130217" />
+ <meta name="Date-Revision-yyyymmdd" content="20140308" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="http://www.google-analytics.com/urchin.js"></script>
@@ -42,13 +42,13 @@
>
<a href="../../index.html">Plugins</a>
>
- <a href="../">Maven Checkstyle Plugin</a>
+ <a href="../">Apache Maven Checkstyle Plugin</a>
>
Using a Custom Checkstyle Checker Configuration
</div>
<div class="xright">
- Last Published: 2013-02-17
- | Version: 2.10
+ Last Published: 2014-03-08
+ | Version: 2.12
</div>
<div class="clear">
<hr/>
@@ -75,6 +75,9 @@
<h5>Examples</h5>
<ul>
<li class="none">
+ <a href="../examples/inline-checker-config.html">Using an Inline Checkstyle Checker Configuration</a>
+ </li>
+ <li class="none">
<strong>Using a Custom Checkstyle Checker Configuration</strong>
</li>
<li class="none">
@@ -167,14 +170,19 @@
</div>
<div id="bodyColumn">
<div id="contentBox">
- <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/references/apt-
format.html --><div class="section"><h2>Using a Custom Checkstyle Checker Configuration<a name="Using_a_Custom_Checkstyle_Checker_Configuration"></a></h2><p>A custom <a class="externalLink" href="http://checkstyle.sourceforge.net/config.html#Checker">Checker configuration xml file</a> can be defined and then referenced via a URL, File, or build classpath resource reference.</p><p>To reference a custom Checkstyle Checker configuration, use the <tt>configLocation</tt> parameter.</p><div class="source"><pre><project>
+ <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/references/apt-
format.html --><div class="section">
+<h2>Using a Custom Checkstyle Checker Configuration<a name="Using_a_Custom_Checkstyle_Checker_Configuration"></a></h2>
+<p>A custom <a class="externalLink" href="http://checkstyle.sourceforge.net/config.html#Checker">Checker configuration xml file</a> can be defined and then referenced via a URL, File, or build classpath resource reference.</p>
+<p>To reference a custom Checkstyle Checker configuration, use the <tt>configLocation</tt> parameter.</p>
+<div class="source">
+<pre><project>
...
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>2.10</version>
+ <version>2.12</version>
<configuration>
<configLocation>checkstyle.xml</configLocation>
</configuration>
@@ -183,7 +191,14 @@
</reporting>
...
</project>
-</pre></div><p>This example causes the Checkstyle Plugin to check for a File named <tt>checkstyle.xml</tt> or a resource named <tt>checkstyle.xml</tt> within the compile scope of the dependencies or build extensions classpath.</p><p>There are 4 predefined Checkstyle configuration definitions that ship with the Checkstyle Plugin, the Sun Microsystems Definition is selected by default.</p><ul><li><b>config/sun_checks.xml</b> - Sun Microsystems Definition (default).</li><li><b>config/maven_checks.xml</b> - Maven Development Definitions.</li><li><b>config/turbine_checks.xml</b> - Turbine Development Definitions.</li><li><b>config/avalon_checks.xml</b> - Avalon Development Definitions.</li></ul></div>
+</pre></div>
+<p>This example causes the Checkstyle Plugin to check for a File named <tt>checkstyle.xml</tt> or a resource named <tt>checkstyle.xml</tt> within the compile scope of the dependencies or build extensions classpath.</p>
+<p>There are 4 predefined Checkstyle configuration definitions that ship with the Checkstyle Plugin, the Sun Microsystems Definition is selected by default.</p>
+<ul>
+<li><b>config/sun_checks.xml</b> - Sun Microsystems Definition (default).</li>
+<li><b>config/maven_checks.xml</b> - Maven Development Definitions.</li>
+<li><b>config/turbine_checks.xml</b> - Turbine Development Definitions.</li>
+<li><b>config/avalon_checks.xml</b> - Avalon Development Definitions.</li></ul></div>
</div>
</div>
<div class="clear">
@@ -191,7 +206,7 @@
</div>
<div id="footer">
<div class="xright">
- © 2005-2013
+ © 2005-2014
The Apache Software Foundation
- <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>.
Modified: websites/production/maven/content/plugins-archives/maven-checkstyle-plugin-LATEST/examples/custom-developed-checkstyle.html
==============================================================================
--- websites/production/maven/content/plugins-archives/maven-checkstyle-plugin-LATEST/examples/custom-developed-checkstyle.html (original)
+++ websites/production/maven/content/plugins-archives/maven-checkstyle-plugin-LATEST/examples/custom-developed-checkstyle.html Sat Mar 8 22:39:44 2014
@@ -1,11 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
- | Generated by Apache Maven Doxia at Feb 17, 2013
+ | Generated by Apache Maven Doxia at 2014-03-08
| Rendered using Apache Maven Stylus Skin 1.5
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Maven Checkstyle Plugin - Using Custom Developed Checkstyle Checks</title>
+ <title>Apache Maven Checkstyle Plugin - Using Custom Developed Checkstyle Checks</title>
<style type="text/css" media="all">
@import url("../css/maven-base.css");
@import url("../css/maven-theme.css");
@@ -13,7 +13,7 @@
</style>
<link rel="stylesheet" href="../css/print.css" type="text/css" media="print" />
<meta name="author" content="2008-02-04" />
- <meta name="Date-Revision-yyyymmdd" content="20130217" />
+ <meta name="Date-Revision-yyyymmdd" content="20140308" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="http://www.google-analytics.com/urchin.js"></script>
@@ -42,13 +42,13 @@
>
<a href="../../index.html">Plugins</a>
>
- <a href="../">Maven Checkstyle Plugin</a>
+ <a href="../">Apache Maven Checkstyle Plugin</a>
>
Using Custom Developed Checkstyle Checks
</div>
<div class="xright">
- Last Published: 2013-02-17
- | Version: 2.10
+ Last Published: 2014-03-08
+ | Version: 2.12
</div>
<div class="clear">
<hr/>
@@ -75,6 +75,9 @@
<h5>Examples</h5>
<ul>
<li class="none">
+ <a href="../examples/inline-checker-config.html">Using an Inline Checkstyle Checker Configuration</a>
+ </li>
+ <li class="none">
<a href="../examples/custom-checker-config.html">Using a Custom Checkstyle Checker Configuration</a>
</li>
<li class="none">
@@ -167,7 +170,16 @@
</div>
<div id="bodyColumn">
<div id="contentBox">
- <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/references/apt-
format.html --><div class="section"><h2>Using Custom Developed Checkstyle Checks<a name="Using_Custom_Developed_Checkstyle_Checks"></a></h2><p>We will guide you through creating a Maven project that produces a jar file of your custom checks. Then we'll include it in one of your projects by adding it as a dependency to the Checkstyle Plugin.</p><p>The plugin also provides the ability to define the <a class="externalLink" href="http://checkstyle.sourceforge.net/config.html#Packages">package names XML document</a> required to reference your custom check modules more easily.</p><p>In this example we will be using the <a class="externalLink" href="http://checkstyle.sourceforge.net/writingchecks.html#Visitor%20in%20action">example check</a> that can be found on the Checkstyle web site.</p><div class="section"><h3>Structuring your project<a name="Structuring_your_project"></a></h3><p>First we set up the directory structure for the custom ckecks project. It looks like this:</p><div class="s
ource"><pre>mycompany-checkstyle-checks
+ <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/references/apt-
format.html --><div class="section">
+<h2>Using Custom Developed Checkstyle Checks<a name="Using_Custom_Developed_Checkstyle_Checks"></a></h2>
+<p>We will guide you through creating a Maven project that produces a jar file of your custom checks. Then we'll include it in one of your projects by adding it as a dependency to the Checkstyle Plugin.</p>
+<p>The plugin also provides the ability to define the <a class="externalLink" href="http://checkstyle.sourceforge.net/config.html#Packages">package names XML document</a> required to reference your custom check modules more easily.</p>
+<p>In this example we will be using the <a class="externalLink" href="http://checkstyle.sourceforge.net/writingchecks.html#Visitor%20in%20action">example check</a> that can be found on the Checkstyle web site.</p>
+<div class="section">
+<h3>Structuring your project<a name="Structuring_your_project"></a></h3>
+<p>First we set up the directory structure for the custom ckecks project. It looks like this:</p>
+<div class="source">
+<pre>mycompany-checkstyle-checks
|-- pom.xml
`-- src
`-- main
@@ -177,7 +189,13 @@
`-- checks
|-- packagenames.xml
`-- MethodLimitCheck.java
-</pre></div><p>Now we'll go through each of the three files one at a time.</p><div class="section"><h4><tt>pom.xml</tt><a name="pom.xml"></a></h4><p>Not much to say here, except that we add a dependency on Checkstyle.</p><div class="source"><pre><project>
+</pre></div>
+<p>Now we'll go through each of the three files one at a time.</p>
+<div class="section">
+<h4><tt>pom.xml</tt><a name="pom.xml"></a></h4>
+<p>Not much to say here, except that we add a dependency on Checkstyle.</p>
+<div class="source">
+<pre><project>
<modelVersion>4.0.0</modelVersion>
<groupId>com.mycompany</groupId>
<artifactId>mycompany-checkstyle-checks</artifactId>
@@ -187,11 +205,16 @@
<dependency>
<groupId>checkstyle</groupId>
<artifactId>checkstyle</artifactId>
- <version>2.10</version>
+ <version>2.12</version>
</dependency>
</dependencies>
</project>
-</pre></div></div><div class="section"><h4><tt>packagenames.xml</tt><a name="packagenames.xml"></a></h4><p>This file lets you specify the names of the packages that you want to be able to use. Here we have added <tt>com.mycompany.checks</tt> to the standard set of Checkstyle packages. That means that you can use your custom checks in the Checkstyle configuration file, without having to specify their package name.</p><div class="source"><pre><?xml version="1.0" encoding="UTF-8"?>
+</pre></div></div>
+<div class="section">
+<h4><tt>packagenames.xml</tt><a name="packagenames.xml"></a></h4>
+<p>This file lets you specify the names of the packages that you want to be able to use. Here we have added <tt>com.mycompany.checks</tt> to the standard set of Checkstyle packages. That means that you can use your custom checks in the Checkstyle configuration file, without having to specify their package name.</p>
+<div class="source">
+<pre><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE checkstyle-packages PUBLIC
"-//Puppy Crawl//DTD Package Names 1.0//EN"
@@ -219,7 +242,12 @@
<package name="filters"/>
</package>
</checkstyle-packages>
-</pre></div></div><div class="section"><h4><tt>MethodLimitCheck.java</tt><a name="MethodLimitCheck.java"></a></h4><p>Here is the example check from the Checkstyle site. It checks that your source files don't have more that 30 methods.</p><div class="source"><pre>package com.mycompany.checks;
+</pre></div></div>
+<div class="section">
+<h4><tt>MethodLimitCheck.java</tt><a name="MethodLimitCheck.java"></a></h4>
+<p>Here is the example check from the Checkstyle site. It checks that your source files don't have more that 30 methods.</p>
+<div class="source">
+<pre>package com.mycompany.checks;
import com.puppycrawl.tools.checkstyle.api.*;
public class MethodLimitCheck extends Check
@@ -245,8 +273,18 @@ public class MethodLimitCheck extends Ch
}
}
}
-</pre></div></div></div><div class="section"><h3>Building a JAR for your custom checks project<a name="Building_a_JAR_for_your_custom_checks_project"></a></h3><p>To be able to use your custom checks in other projects, you need to package and install them. To do that, just run this on the command line:</p><div class="source"><pre>mvn install
-</pre></div><p>This produces a JAR file with the following contents and installs it into your local repository.</p><div class="section"><h4><tt>mycompany-checkstyle-checks-1.0.jar</tt><a name="mycompany-checkstyle-checks-1.0.jar"></a></h4><div class="source"><pre>mycompany-checkstyle-checks-1.0.jar
+</pre></div></div></div>
+<div class="section">
+<h3>Building a JAR for your custom checks project<a name="Building_a_JAR_for_your_custom_checks_project"></a></h3>
+<p>To be able to use your custom checks in other projects, you need to package and install them. To do that, just run this on the command line:</p>
+<div class="source">
+<pre>mvn install
+</pre></div>
+<p>This produces a JAR file with the following contents and installs it into your local repository.</p>
+<div class="section">
+<h4><tt>mycompany-checkstyle-checks-1.0.jar</tt><a name="mycompany-checkstyle-checks-1.0.jar"></a></h4>
+<div class="source">
+<pre>mycompany-checkstyle-checks-1.0.jar
|-- pom.xml
|-- META-INF
| |-- MANIFEST.MF
@@ -260,7 +298,16 @@ public class MethodLimitCheck extends Ch
`-- checks
|-- packagenames.xml
`-- MethodLimitCheck.class
-</pre></div></div></div><div class="section"><h3>Using your checks in another project<a name="Using_your_checks_in_another_project"></a></h3><p>Now you are ready to make use of your custom checks in another project.</p><div class="section"><h4>Create a Checkstyle configuration<a name="Create_a_Checkstyle_configuration"></a></h4><p>Create the file <tt>checkstyle.xml</tt> in the root of the project that wants to use your custom checks. In this file you tell Checkstyle which checks you want to use.</p><p><b>Note:</b> We don't have to specify the fully qualified classname of our check here. That's because we used the <tt>packagenames.xml</tt> file earlier.</p><div class="source"><pre><?xml version="1.0" ?>
+</pre></div></div></div>
+<div class="section">
+<h3>Using your checks in another project<a name="Using_your_checks_in_another_project"></a></h3>
+<p>Now you are ready to make use of your custom checks in another project.</p>
+<div class="section">
+<h4>Create a Checkstyle configuration<a name="Create_a_Checkstyle_configuration"></a></h4>
+<p>Create the file <tt>checkstyle.xml</tt> in the root of the project that wants to use your custom checks. In this file you tell Checkstyle which checks you want to use.</p>
+<p><b>Note:</b> We don't have to specify the fully qualified classname of our check here. That's because we used the <tt>packagenames.xml</tt> file earlier.</p>
+<div class="source">
+<pre><?xml version="1.0" ?>
<!DOCTYPE module PUBLIC
"-//Puppy Crawl//DTD Check Configuration 1.2//EN"
@@ -271,14 +318,20 @@ public class MethodLimitCheck extends Ch
<module name="MethodLimit"/>
</module>
</module>
-</pre></div></div><div class="section"><h4>Configure the Checkstyle Plugin to use your custom checks<a name="Configure_the_Checkstyle_Plugin_to_use_your_custom_checks"></a></h4><p>Finally we need to tell the other project that you want it to use your custom Checkstyle checks. In the <tt>pom.xml</tt> of that project, add the following configuration.</p><p><b>Note:</b> You have to specify a plugin dependency on <tt>mycompany-checkstyle-checks</tt> in the <tt><build></tt> element of your <tt>pom.xml</tt>. It will not work inside the <tt><reporting></tt> element, because <tt><reporting></tt> does not support plugin dependencies. The rest of the configuration is done in the normal way in the <tt><reporting></tt> element.</p><div class="source"><pre><project>
+</pre></div></div>
+<div class="section">
+<h4>Configure the Checkstyle Plugin to use your custom checks<a name="Configure_the_Checkstyle_Plugin_to_use_your_custom_checks"></a></h4>
+<p>Finally we need to tell the other project that you want it to use your custom Checkstyle checks. In the <tt>pom.xml</tt> of that project, add the following configuration.</p>
+<p><b>Note:</b> You have to specify a plugin dependency on <tt>mycompany-checkstyle-checks</tt> in the <tt><build></tt> element of your <tt>pom.xml</tt>. It will not work inside the <tt><reporting></tt> element, because <tt><reporting></tt> does not support plugin dependencies. The rest of the configuration is done in the normal way in the <tt><reporting></tt> element.</p>
+<div class="source">
+<pre><project>
...
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>2.10</version>
+ <version>2.12</version>
<dependencies>
<dependency>
<groupId>com.mycompany</groupId>
@@ -294,7 +347,7 @@ public class MethodLimitCheck extends Ch
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>2.10</version>
+ <version>2.12</version>
<configuration>
<configLocation>checkstyle.xml</configLocation>
<packageNamesLocation>com/mycompany/checks/packagenames.xml</packageNamesLocation>
@@ -312,7 +365,7 @@ public class MethodLimitCheck extends Ch
</div>
<div id="footer">
<div class="xright">
- © 2005-2013
+ © 2005-2014
The Apache Software Foundation
- <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>.
Modified: websites/production/maven/content/plugins-archives/maven-checkstyle-plugin-LATEST/examples/custom-property-expansion.html
==============================================================================
--- websites/production/maven/content/plugins-archives/maven-checkstyle-plugin-LATEST/examples/custom-property-expansion.html (original)
+++ websites/production/maven/content/plugins-archives/maven-checkstyle-plugin-LATEST/examples/custom-property-expansion.html Sat Mar 8 22:39:44 2014
@@ -1,11 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
- | Generated by Apache Maven Doxia at Feb 17, 2013
+ | Generated by Apache Maven Doxia at 2014-03-08
| Rendered using Apache Maven Stylus Skin 1.5
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Maven Checkstyle Plugin - Using Custom Checkstyle Property Expansion Definitions</title>
+ <title>Apache Maven Checkstyle Plugin - Using Custom Checkstyle Property Expansion Definitions</title>
<style type="text/css" media="all">
@import url("../css/maven-base.css");
@import url("../css/maven-theme.css");
@@ -13,7 +13,7 @@
</style>
<link rel="stylesheet" href="../css/print.css" type="text/css" media="print" />
<meta name="author" content="July 2006" />
- <meta name="Date-Revision-yyyymmdd" content="20130217" />
+ <meta name="Date-Revision-yyyymmdd" content="20140308" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="http://www.google-analytics.com/urchin.js"></script>
@@ -42,13 +42,13 @@
>
<a href="../../index.html">Plugins</a>
>
- <a href="../">Maven Checkstyle Plugin</a>
+ <a href="../">Apache Maven Checkstyle Plugin</a>
>
Using Custom Checkstyle Property Expansion Definitions
</div>
<div class="xright">
- Last Published: 2013-02-17
- | Version: 2.10
+ Last Published: 2014-03-08
+ | Version: 2.12
</div>
<div class="clear">
<hr/>
@@ -75,6 +75,9 @@
<h5>Examples</h5>
<ul>
<li class="none">
+ <a href="../examples/inline-checker-config.html">Using an Inline Checkstyle Checker Configuration</a>
+ </li>
+ <li class="none">
<a href="../examples/custom-checker-config.html">Using a Custom Checkstyle Checker Configuration</a>
</li>
<li class="none">
@@ -167,7 +170,13 @@
</div>
<div id="bodyColumn">
<div id="contentBox">
- <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/references/apt-
format.html --><div class="section"><h2>Using Custom Checkstyle Property Expansion Definitions<a name="Using_Custom_Checkstyle_Property_Expansion_Definitions"></a></h2><p>Custom <a class="externalLink" href="http://checkstyle.sourceforge.net/config.html#Properties">property expansion definitions</a> for the Checker can be defined.</p><p>Checkstyle uses the property expansion mechanism to allow injection of specific values into a pre-defined Checker configuration. Using property expansion alone is an insufficient means to customize the checks performed by Checkstyle.</p><p>Example: <tt>checkstyle.xml</tt> - only checks the package name in use to ensure that it conforms to the desired scheme, but allows for users of this Checker to specify their own projectname.</p><div class="source"><pre><?xml version="1.0" ?>
+ <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/references/apt-
format.html --><div class="section">
+<h2>Using Custom Checkstyle Property Expansion Definitions<a name="Using_Custom_Checkstyle_Property_Expansion_Definitions"></a></h2>
+<p>Custom <a class="externalLink" href="http://checkstyle.sourceforge.net/config.html#Properties">property expansion definitions</a> for the Checker can be defined.</p>
+<p>Checkstyle uses the property expansion mechanism to allow injection of specific values into a pre-defined Checker configuration. Using property expansion alone is an insufficient means to customize the checks performed by Checkstyle.</p>
+<p>Example: <tt>checkstyle.xml</tt> - only checks the package name in use to ensure that it conforms to the desired scheme, but allows for users of this Checker to specify their own projectname.</p>
+<div class="source">
+<pre><?xml version="1.0" ?>
<!DOCTYPE module PUBLIC
"-//Puppy Crawl//DTD Check Configuration 1.2//EN"
@@ -181,14 +190,17 @@
</module>
</module>
</module>
-</pre></div><p>Example: <tt>pom.xml</tt> - Specifies the <tt>projectname</tt> property expansion that Checkstyle will use when encountering such a variable in the above Checker configuration.</p><div class="source"><pre><project>
+</pre></div>
+<p>Example: <tt>pom.xml</tt> - Specifies the <tt>projectname</tt> property expansion that Checkstyle will use when encountering such a variable in the above Checker configuration.</p>
+<div class="source">
+<pre><project>
...
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>2.10</version>
+ <version>2.12</version>
<configuration>
<configLocation>checkstyle.xml</configLocation>
<propertyExpansion>projectname=whizbang</propertyExpansion>
@@ -198,14 +210,17 @@
</reporting>
...
</project>
-</pre></div><p>The property expansion information can also come from a location using the <tt>propertiesLocation</tt> parameter as shown below. The <tt>propertiesLocation</tt> can point to a URL, File or build classpath resource reference.</p><div class="source"><pre><project>
+</pre></div>
+<p>The property expansion information can also come from a location using the <tt>propertiesLocation</tt> parameter as shown below. The <tt>propertiesLocation</tt> can point to a URL, File or build classpath resource reference.</p>
+<div class="source">
+<pre><project>
...
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>2.10</version>
+ <version>2.12</version>
<configuration>
<configLocation>checkstyle.xml</configLocation>
<propertesLocation>${basedir}/checkstyle.properties</propertiesLocation>
@@ -223,7 +238,7 @@
</div>
<div id="footer">
<div class="xright">
- © 2005-2013
+ © 2005-2014
The Apache Software Foundation
- <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>.
Added: websites/production/maven/content/plugins-archives/maven-checkstyle-plugin-LATEST/examples/inline-checker-config.html
==============================================================================
--- websites/production/maven/content/plugins-archives/maven-checkstyle-plugin-LATEST/examples/inline-checker-config.html (added)
+++ websites/production/maven/content/plugins-archives/maven-checkstyle-plugin-LATEST/examples/inline-checker-config.html Sat Mar 8 22:39:44 2014
@@ -0,0 +1,245 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+ | Generated by Apache Maven Doxia at 2014-03-08
+ | Rendered using Apache Maven Stylus Skin 1.5
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>Apache Maven Checkstyle Plugin - Using an 'inlined' Checkstyle Checker Configuration</title>
+ <style type="text/css" media="all">
+ @import url("../css/maven-base.css");
+ @import url("../css/maven-theme.css");
+ @import url("../css/site.css");
+ </style>
+ <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" />
+ <meta name="author" content="Feb 2014" />
+ <meta name="Date-Revision-yyyymmdd" content="20140308" />
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+
+<script type="text/javascript" src="http://www.google-analytics.com/urchin.js"></script>
+
+<script type="text/javascript">_uacct = "UA-140879-1";
+ urchinTracker();</script>
+ </head>
+ <body class="composite">
+ <div id="banner">
+ <a href="../../../" id="bannerLeft">
+ <img src="../../../images/apache-maven-project-2.png" alt="" />
+ </a>
+ <span id="bannerRight">
+ <img src="../../../images/maven-logo-2.gif" alt="" />
+ </span>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="breadcrumbs">
+
+ <div class="xleft">
+ <a href="http://www.apache.org/" class="externalLink">Apache</a>
+ >
+ <a href="../../../index.html">Maven</a>
+ >
+ <a href="../../index.html">Plugins</a>
+ >
+ <a href="../">Apache Maven Checkstyle Plugin</a>
+ >
+ Using an 'inlined' Checkstyle Checker Configuration
+ </div>
+ <div class="xright">
+ Last Published: 2014-03-08
+ | Version: 2.12
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="leftColumn">
+ <div id="navcolumn">
+
+ <h5>Overview</h5>
+ <ul>
+ <li class="none">
+ <a href="../index.html">Introduction</a>
+ </li>
+ <li class="none">
+ <a href="../plugin-info.html">Goals</a>
+ </li>
+ <li class="none">
+ <a href="../usage.html">Usage</a>
+ </li>
+ <li class="none">
+ <a href="../faq.html">FAQ</a>
+ </li>
+ </ul>
+ <h5>Examples</h5>
+ <ul>
+ <li class="none">
+ <strong>Using an Inline Checkstyle Checker Configuration</strong>
+ </li>
+ <li class="none">
+ <a href="../examples/custom-checker-config.html">Using a Custom Checkstyle Checker Configuration</a>
+ </li>
+ <li class="none">
+ <a href="../examples/custom-property-expansion.html">Using Custom Checkstyle Property Expansion Definitions</a>
+ </li>
+ <li class="none">
+ <a href="../examples/suppressions-filter.html">Using a Suppressions Filter</a>
+ </li>
+ <li class="none">
+ <a href="../examples/custom-developed-checkstyle.html">Using Custom Developed Checkstyle Checks</a>
+ </li>
+ <li class="none">
+ <a href="../examples/multi-module-config.html">Multimodule Configuration</a>
+ </li>
+ </ul>
+ <h5>Project Documentation</h5>
+ <ul>
+ <li class="collapsed">
+ <a href="../project-info.html">Project Information</a>
+ </li>
+ <li class="collapsed">
+ <a href="../project-reports.html">Project Reports</a>
+ </li>
+ </ul>
+ <h5>Maven Projects</h5>
+ <ul>
+ <li class="none">
+ <a href="../../../ant-tasks/index.html">Ant Tasks</a>
+ </li>
+ <li class="none">
+ <a href="../../../archetype/index.html">Archetype</a>
+ </li>
+ <li class="none">
+ <a href="../../../doxia/index.html">Doxia</a>
+ </li>
+ <li class="none">
+ <a href="../../../jxr/index.html">JXR</a>
+ </li>
+ <li class="none">
+ <a href="../../../maven-1.x/index.html">Maven 1.x</a>
+ </li>
+ <li class="none">
+ <a href="../../../index.html">Maven 2 & 3</a>
+ </li>
+ <li class="none">
+ <a href="../../../pom/index.html">Parent POMs</a>
+ </li>
+ <li class="none">
+ <a href="../../index.html">Plugins</a>
+ </li>
+ <li class="none">
+ <a href="../../../plugin-tools/index.html">Plugin Tools</a>
+ </li>
+ <li class="none">
+ <a href="../../../scm/index.html">SCM</a>
+ </li>
+ <li class="none">
+ <a href="../../../shared/index.html">Shared Components</a>
+ </li>
+ <li class="none">
+ <a href="../../../skins/index.html">Skins</a>
+ </li>
+ <li class="none">
+ <a href="../../../surefire/index.html">Surefire</a>
+ </li>
+ <li class="none">
+ <a href="../../../wagon/index.html">Wagon</a>
+ </li>
+ </ul>
+ <h5>ASF</h5>
+ <ul>
+ <li class="none">
+ <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink">How Apache Works</a>
+ </li>
+ <li class="none">
+ <a href="http://www.apache.org/foundation/" class="externalLink">Foundation</a>
+ </li>
+ <li class="none">
+ <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink">Sponsoring Apache</a>
+ </li>
+ <li class="none">
+ <a href="http://www.apache.org/foundation/thanks.html" class="externalLink">Thanks</a>
+ </li>
+ </ul>
+ <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+ <img alt="Built by Maven" src="../images/logos/maven-feather.png"/>
+ </a>
+
+ </div>
+ </div>
+ <div id="bodyColumn">
+ <div id="contentBox">
+ <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/references/apt-
format.html --><div class="section">
+<h2>Using an Inline Checkstyle Checker Configuration<a name="Using_an_Inline_Checkstyle_Checker_Configuration"></a></h2>
+<p>Since version 2.12, an inlined <a class="externalLink" href="http://checkstyle.sourceforge.net/config.html#Checker">Checker configuration</a> can be defined directly in the <tt>configuration</tt> section of the plugin itself inside your <tt>pom.xml</tt>.</p>
+<p>This is especially useful when the Checkstyle checks should be executed with every compile and you do not like to create an own project for your Checkstyle rules and neither like to have a separate parent POM structure.</p>
+<p>To define a custom Checkstyle checker configuration inside your <tt>pom.xml</tt>, use the <tt>checkstyleRules</tt> parameter.</p>
+<div class="source">
+<pre><project>
+ ...
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>2.12</version>
+ <executions>
+ <execution>
+ <id>verify-style</id>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <logViolationsToConsole>true</logViolationsToConsole>
+ <checkstyleRules>
+ <module name="Checker">
+
+ <!-- Checks for Size Violations. -->
+ <!-- See http://checkstyle.sf.net/config_sizes.html -->
+ <module name="FileLength">
+ <property name="max" value="3500" />
+ <property name="fileExtensions" value="java"/>
+ </module>
+
+ <!-- Checks for whitespace -->
+ <!-- See http://checkstyle.sf.net/config_whitespace.html -->
+ <module name="FileTabCharacter"/>
+
+ <module name="TreeWalker">
+ <module name="StaticVariableName"/>
+ <module name="TypeName">
+ <property name="format" value="^_?[A-Z][a-zA-Z0-9]*$"/>
+ </module>
+ </module>
+ </module>
+ </checkstyleRules>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ ...
+</project>
+</pre></div></div>
+ </div>
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ <div id="footer">
+ <div class="xright">
+ © 2005-2014
+ The Apache Software Foundation
+
+ - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>.
+ Apache Maven, Maven, Apache, the Apache feather logo, and the Apache Maven project logos are trademarks of The Apache Software Foundation.
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ </body>
+</html>
\ No newline at end of file
Propchange: websites/production/maven/content/plugins-archives/maven-checkstyle-plugin-LATEST/examples/inline-checker-config.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: websites/production/maven/content/plugins-archives/maven-checkstyle-plugin-LATEST/examples/inline-checker-config.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Modified: websites/production/maven/content/plugins-archives/maven-checkstyle-plugin-LATEST/examples/multi-module-config.html
==============================================================================
--- websites/production/maven/content/plugins-archives/maven-checkstyle-plugin-LATEST/examples/multi-module-config.html (original)
+++ websites/production/maven/content/plugins-archives/maven-checkstyle-plugin-LATEST/examples/multi-module-config.html Sat Mar 8 22:39:44 2014
@@ -1,11 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
- | Generated by Apache Maven Doxia at Feb 17, 2013
+ | Generated by Apache Maven Doxia at 2014-03-08
| Rendered using Apache Maven Stylus Skin 1.5
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Maven Checkstyle Plugin - Multimodule Configuration</title>
+ <title>Apache Maven Checkstyle Plugin - Multimodule Configuration</title>
<style type="text/css" media="all">
@import url("../css/maven-base.css");
@import url("../css/maven-theme.css");
@@ -13,7 +13,7 @@
</style>
<link rel="stylesheet" href="../css/print.css" type="text/css" media="print" />
<meta name="author" content="2008-02-05" />
- <meta name="Date-Revision-yyyymmdd" content="20130217" />
+ <meta name="Date-Revision-yyyymmdd" content="20140308" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="http://www.google-analytics.com/urchin.js"></script>
@@ -42,13 +42,13 @@
>
<a href="../../index.html">Plugins</a>
>
- <a href="../">Maven Checkstyle Plugin</a>
+ <a href="../">Apache Maven Checkstyle Plugin</a>
>
Multimodule Configuration
</div>
<div class="xright">
- Last Published: 2013-02-17
- | Version: 2.10
+ Last Published: 2014-03-08
+ | Version: 2.12
</div>
<div class="clear">
<hr/>
@@ -75,6 +75,9 @@
<h5>Examples</h5>
<ul>
<li class="none">
+ <a href="../examples/inline-checker-config.html">Using an Inline Checkstyle Checker Configuration</a>
+ </li>
+ <li class="none">
<a href="../examples/custom-checker-config.html">Using a Custom Checkstyle Checker Configuration</a>
</li>
<li class="none">
@@ -167,7 +170,12 @@
</div>
<div id="bodyColumn">
<div id="contentBox">
- <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/references/apt-
format.html --><div class="section"><h2>Multimodule Configuration<a name="Multimodule_Configuration"></a></h2><p>Configuring the Checkstyle Plugin for use within large multimodule projects can be done, but it requires a little setup.</p><p>This example will use a mysterious project called <i>whizbang</i>. This is what the structure of that project looks like:</p><div class="source"><pre>whizbang
+ <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/references/apt-
format.html --><div class="section">
+<h2>Multimodule Configuration<a name="Multimodule_Configuration"></a></h2>
+<p>Configuring the Checkstyle Plugin for use within large multimodule projects can be done, but it requires a little setup.</p>
+<p>This example will use a mysterious project called <i>whizbang</i>. This is what the structure of that project looks like:</p>
+<div class="source">
+<pre>whizbang
|-- pom.xml
|-- core
| `-- pom.xml
@@ -176,7 +184,12 @@
|-- jmx
| `-- pom.xml
`-- src
-</pre></div><div class="section"><h3>Create a subproject to house the resources<a name="Create_a_subproject_to_house_the_resources"></a></h3><p>We'll start by adding another sub project that will house our common configuration. Let's call it <i>build-tools</i>. In it we put the resources that we want to include. In this example, we will add configuration files for the Checkstyle Plugin. Configuration files for other plugins, like the PMD plugin, can be included in the same subproject if you like.</p><div class="source"><pre>whizbang
+</pre></div>
+<div class="section">
+<h3>Create a subproject to house the resources<a name="Create_a_subproject_to_house_the_resources"></a></h3>
+<p>We'll start by adding another sub project that will house our common configuration. Let's call it <i>build-tools</i>. In it we put the resources that we want to include. In this example, we will add configuration files for the Checkstyle Plugin. Configuration files for other plugins, like the PMD plugin, can be included in the same subproject if you like.</p>
+<div class="source">
+<pre>whizbang
|-- pom.xml
|-- build-tools
| |-- src
@@ -190,14 +203,24 @@
|-- gui
|-- jmx
`-- src
-</pre></div><p><b>Tip:</b> put the resources into a subdirectory that you can ensure will be unique and not conflict with anyone else.</p><p>The <tt>pom.xml</tt> file for <i>build-tools</i> should look like this:</p><div class="source"><pre><project>
+</pre></div>
+<p><b>Tip:</b> put the resources into a subdirectory that you can ensure will be unique and not conflict with anyone else.</p>
+<p>The <tt>pom.xml</tt> file for <i>build-tools</i> should look like this:</p>
+<div class="source">
+<pre><project>
<modelVersion>4.0.0</modelVersion>
<groupId>com.example.whizbang</groupId>
<artifactId>build-tools</artifactId>
<version>1.0</version>
<name>Build Tools</name>
</project>
-</pre></div></div><div class="section"><h3>Configure the other projects to use it<a name="Configure_the_other_projects_to_use_it"></a></h3><p>Now we can include the Checkstyle configuration in the top level <tt>pom.xml</tt>.</p><p><b>Note:</b> You have to specify a plugin dependency on <tt>build-tools</tt> in the <tt><build></tt> element of your <tt>pom.xml</tt>. It will not work inside the <tt><reporting></tt> element, because <tt><reporting></tt> does not support plugin dependencies. The rest of the configuration is done in the normal way in the <tt><reporting></tt> element.</p><div class="source"><pre><project>
+</pre></div></div>
+<div class="section">
+<h3>Configure the other projects to use it<a name="Configure_the_other_projects_to_use_it"></a></h3>
+<p>Now we can include the Checkstyle configuration in the top level <tt>pom.xml</tt>.</p>
+<p><b>Note:</b> You have to specify a plugin dependency on <tt>build-tools</tt> in the <tt><build></tt> element of your <tt>pom.xml</tt>. It will not work inside the <tt><reporting></tt> element, because <tt><reporting></tt> does not support plugin dependencies. The rest of the configuration is done in the normal way in the <tt><reporting></tt> element.</p>
+<div class="source">
+<pre><project>
<modelVersion>4.0.0</modelVersion>
<groupId>com.example.whizbang</groupId>
<artifactId>whizbang-parent</artifactId>
@@ -209,7 +232,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>2.10</version>
+ <version>2.12</version>
<dependencies>
<dependency>
<groupId>com.example.whizbang</groupId>
@@ -225,7 +248,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>2.10</version>
+ <version>2.12</version>
<configuration>
<configLocation>whizbang/checkstyle.xml</configLocation>
<headerLocation>whizbang/LICENSE.txt</headerLocation>
@@ -240,8 +263,14 @@
<module>gui</module>
</modules>
</project>
-</pre></div><p>Once you are done with that, ensure that you do not include the Maven Checkstyle Plugin in your sub modules, as their definition and configuration, will override the top level parent pom's definition.</p><p>Based on the Checkstyle Plugin configuration above, the values of <tt>configLocation</tt> and <tt>headerLocation</tt> will be resolved from the classpath. The <i>build-tools</i> JAR was included in the classpath when it was declared as a dependency to the plugin.</p><p>Lastly, kick off a build of the site.</p><div class="source"><pre>mvn site
-</pre></div><p>Every sub project will now use the same Checkstyle setup and configuration.</p></div></div>
+</pre></div>
+<p>Once you are done with that, ensure that you do not include the Maven Checkstyle Plugin in your sub modules, as their definition and configuration, will override the top level parent pom's definition.</p>
+<p>Based on the Checkstyle Plugin configuration above, the values of <tt>configLocation</tt> and <tt>headerLocation</tt> will be resolved from the classpath. The <i>build-tools</i> JAR was included in the classpath when it was declared as a dependency to the plugin.</p>
+<p>Lastly, kick off a build of the site.</p>
+<div class="source">
+<pre>mvn site
+</pre></div>
+<p>Every sub project will now use the same Checkstyle setup and configuration.</p></div></div>
</div>
</div>
<div class="clear">
@@ -249,7 +278,7 @@
</div>
<div id="footer">
<div class="xright">
- © 2005-2013
+ © 2005-2014
The Apache Software Foundation
- <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>.