You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2012/05/08 17:16:46 UTC
svn commit: r816691 [18/44] - in
/websites/production/maventest/content/plugins/maven-pmd-plugin-latest: ./
apidocs/ apidocs/org/apache/maven/plugin/pmd/
apidocs/org/apache/maven/plugin/pmd/class-use/ cobertura/ cobertura/css/
css/ examples/ testapidoc...
Modified: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/examples/removeReport.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-pmd-plugin-latest/examples/removeReport.html (original)
+++ websites/production/maventest/content/plugins/maven-pmd-plugin-latest/examples/removeReport.html Tue May 8 15:16:42 2012
@@ -1,80 +1,52 @@
<!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 Nov 8, 2011 -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Maven PMD plugin - Remove Report</title>
+ <title>Remove Report</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="Dennis Lundberg" />
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <meta name="author" content="Dennis Lundberg" />
+ <meta name="Date-Creation-yyyymmdd" content="20071228" />
+ <meta name="Date-Revision-yyyymmdd" content="20111108" />
+ <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 src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
<script type="text/javascript">_uacct = "UA-140879-1";
urchinTracker();</script>
</head>
<body class="composite">
<div id="banner">
- <a href="http://maven.apache.org/" id="bannerLeft">
-
- <img src="http://maven.apache.org/images/apache-maven-project-2.png" alt="" />
-
- </a>
- <a href="http://maven.apache.org/" id="bannerRight">
-
- <img src="http://maven.apache.org/images/maven-logo-2.gif" alt="" />
-
- </a>
+ <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="http://maven.apache.org/index.html" class="externalLink">Maven</a>
- >
-
- <a href="http://maven.apache.org/plugins/index.html" class="externalLink">Plugins</a>
- >
-
- <a href="../../../../../../../../../../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Maven PMD Plugin</a>
- </div>
- <div class="xright">
-
-
-
-
-
-
-
- Last Published: 2010-05-01
- | Version: 2.5
+ <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="../">Maven PMD plugin</a>
+ >
+ Remove Report
+ </div>
+ <div class="xright">
+ Last Published: 2011-11-08
+ | Version: 2.6
</div>
<div class="clear">
<hr/>
@@ -82,184 +54,112 @@
</div>
<div id="leftColumn">
<div id="navcolumn">
-
-
-
-
-
-
-
-
- <h5>Overview</h5>
- <ul>
-
- <li class="none">
- <a href="../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Introduction</a>
- </li>
-
- <li class="none">
- <a href="../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Goals</a>
- </li>
-
- <li class="none">
- <a href="../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Usage</a>
- </li>
-
- <li class="none">
- <a href="../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">FAQ</a>
- </li>
+
+ <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">
- <a href="../../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Remove Report</a>
- </li>
-
- <li class="none">
- <a href="../../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Target JDK</a>
- </li>
-
- <li class="none">
- <a href="../../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Using Rule Sets</a>
- </li>
-
- <li class="none">
- <a href="../../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Violation Checking</a>
- </li>
+ <h5>Examples</h5>
+ <ul>
+ <li class="none">
+ <strong>Remove Report</strong>
+ </li>
+ <li class="none">
+ <a href="../examples/targetJdk.html">Target JDK</a>
+ </li>
+ <li class="none">
+ <a href="../examples/usingRuleSets.html">Using Rule Sets</a>
+ </li>
+ <li class="none">
+ <a href="../examples/violationChecking.html">Violation Checking</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>
+ <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="http://maven.apache.org/ant-tasks/index.html" class="externalLink">Ant Tasks</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/doxia/index.html" class="externalLink">Doxia</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/jxr/index.html" class="externalLink">JXR</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/maven-1.x/index.html" class="externalLink">Maven 1.x</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/index.html" class="externalLink">Maven 2</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/mercury/index.html" class="externalLink">Mercury</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/plugins/index.html" class="externalLink">Plugins</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/scm/index.html" class="externalLink">SCM</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/shared/index.html" class="externalLink">Shared Components</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/surefire/index.html" class="externalLink">Surefire</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/wagon/index.html" class="externalLink">Wagon</a>
- </li>
+ <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="../../index.html">Plugins</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="../../../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"></img>
- </a>
+ <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>
<div id="bodyColumn">
<div id="contentBox">
- <div class="section"><h2>Remove Report</h2>
-<p>You may want to generate only one of the reports, but not the other. To do this you can use the <tt><reportSets></tt> feature within your POM. Below is the default configuration for the plugin. To disable one of the reports, just copy the <tt><reportSets></tt> element below to your POM and remove the <tt><report></tt> you don't want to generate.</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/referen
ces/apt-format.html --><div class="section"><h2>Remove Report<a name="Remove_Report"></a></h2><p>You may want to generate only one of the reports, but not the other. To do this you can use the <tt><reportSets></tt> feature within your POM. Below is the default configuration for the plugin. To disable one of the reports, just copy the <tt><reportSets></tt> element below to your POM and remove the <tt><report></tt> you don't want to generate.</p><div class="source"><pre><project>
...
<reporting>
<plugins>
<plugin>
<artifactId>maven-pmd-plugin</artifactId>
- <version>2.5</version>
+ <version>2.6</version>
<reportSets>
<reportSet>
<reports>
@@ -272,29 +172,20 @@
</plugins>
</reporting>
...
-</project></pre>
-</div>
-</div>
-
+</project></pre></div></div>
</div>
</div>
<div class="clear">
<hr/>
</div>
<div id="footer">
- <div class="xright">©
- 2005-2010
-
- The Apache Software Foundation
-
-
-
-
-
+ <div class="xright">
+ © 2005-2011
+ The Apache Software Foundation
-
-
- - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a></div>
+ - <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>
Modified: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/examples/targetJdk.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-pmd-plugin-latest/examples/targetJdk.html (original)
+++ websites/production/maventest/content/plugins/maven-pmd-plugin-latest/examples/targetJdk.html Tue May 8 15:16:42 2012
@@ -1,80 +1,52 @@
<!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 Nov 8, 2011 -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Maven PMD plugin - Target JDK</title>
+ <title>Target JDK</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="Dennis Lundberg" />
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <meta name="author" content="Dennis Lundberg" />
+ <meta name="Date-Creation-yyyymmdd" content="20080102" />
+ <meta name="Date-Revision-yyyymmdd" content="20111108" />
+ <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 src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
<script type="text/javascript">_uacct = "UA-140879-1";
urchinTracker();</script>
</head>
<body class="composite">
<div id="banner">
- <a href="http://maven.apache.org/" id="bannerLeft">
-
- <img src="http://maven.apache.org/images/apache-maven-project-2.png" alt="" />
-
- </a>
- <a href="http://maven.apache.org/" id="bannerRight">
-
- <img src="http://maven.apache.org/images/maven-logo-2.gif" alt="" />
-
- </a>
+ <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="http://maven.apache.org/index.html" class="externalLink">Maven</a>
- >
-
- <a href="http://maven.apache.org/plugins/index.html" class="externalLink">Plugins</a>
- >
-
- <a href="../../../../../../../../../../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Maven PMD Plugin</a>
- </div>
- <div class="xright">
-
-
-
-
-
-
-
- Last Published: 2010-05-01
- | Version: 2.5
+ <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="../">Maven PMD plugin</a>
+ >
+ Target JDK
+ </div>
+ <div class="xright">
+ Last Published: 2011-11-08
+ | Version: 2.6
</div>
<div class="clear">
<hr/>
@@ -82,178 +54,106 @@
</div>
<div id="leftColumn">
<div id="navcolumn">
-
-
-
-
-
-
-
-
- <h5>Overview</h5>
- <ul>
-
- <li class="none">
- <a href="../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Introduction</a>
- </li>
-
- <li class="none">
- <a href="../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Goals</a>
- </li>
-
- <li class="none">
- <a href="../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Usage</a>
- </li>
-
- <li class="none">
- <a href="../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">FAQ</a>
- </li>
+
+ <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">
- <a href="../../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Remove Report</a>
- </li>
-
- <li class="none">
- <a href="../../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Target JDK</a>
- </li>
-
- <li class="none">
- <a href="../../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Using Rule Sets</a>
- </li>
-
- <li class="none">
- <a href="../../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Violation Checking</a>
- </li>
+ <h5>Examples</h5>
+ <ul>
+ <li class="none">
+ <a href="../examples/removeReport.html">Remove Report</a>
+ </li>
+ <li class="none">
+ <strong>Target JDK</strong>
+ </li>
+ <li class="none">
+ <a href="../examples/usingRuleSets.html">Using Rule Sets</a>
+ </li>
+ <li class="none">
+ <a href="../examples/violationChecking.html">Violation Checking</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>
+ <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="http://maven.apache.org/ant-tasks/index.html" class="externalLink">Ant Tasks</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/doxia/index.html" class="externalLink">Doxia</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/jxr/index.html" class="externalLink">JXR</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/maven-1.x/index.html" class="externalLink">Maven 1.x</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/index.html" class="externalLink">Maven 2</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/mercury/index.html" class="externalLink">Mercury</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/plugins/index.html" class="externalLink">Plugins</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/scm/index.html" class="externalLink">SCM</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/shared/index.html" class="externalLink">Shared Components</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/surefire/index.html" class="externalLink">Surefire</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/wagon/index.html" class="externalLink">Wagon</a>
- </li>
+ <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="../../index.html">Plugins</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="../../../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"></img>
- </a>
+ <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>
<div id="bodyColumn">
<div id="contentBox">
- <div class="section"><h2>Target JDK</h2>
-<p>There is a configuration element in the PMD plugin that let you set which target JDK to use. Often you want this to be in sync with the configuration for maven-compiler-plugin. The best practice for this is to set up a property and use that in the configuration section for each of the plugins. Here is an example on how to set that up:</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/referen
ces/apt-format.html --><div class="section"><h2>Target JDK<a name="Target_JDK"></a></h2><p>There is a configuration element in the PMD plugin that let you set which target JDK to use. Often you want this to be in sync with the configuration for maven-compiler-plugin. The best practice for this is to set up a property and use that in the configuration section for each of the plugins. Here is an example on how to set that up:</p><div class="source"><pre><project>
...
<build>
<plugins>
@@ -271,7 +171,7 @@
<plugins>
<plugin>
<artifactId>maven-pmd-plugin</artifactId>
- <version>2.5</version>
+ <version>2.6</version>
<configuration>
<targetJdk>${compileSource}</targetJdk>
</configuration>
@@ -283,29 +183,20 @@
<compileSource>1.5</compileSource>
</properties>
...
-</project></pre>
-</div>
-</div>
-
+</project></pre></div></div>
</div>
</div>
<div class="clear">
<hr/>
</div>
<div id="footer">
- <div class="xright">©
- 2005-2010
-
- The Apache Software Foundation
-
-
-
-
-
+ <div class="xright">
+ © 2005-2011
+ The Apache Software Foundation
-
-
- - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a></div>
+ - <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>
Modified: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/examples/usingRuleSets.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-pmd-plugin-latest/examples/usingRuleSets.html (original)
+++ websites/production/maventest/content/plugins/maven-pmd-plugin-latest/examples/usingRuleSets.html Tue May 8 15:16:42 2012
@@ -1,80 +1,51 @@
<!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 Nov 8, 2011 -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Maven PMD plugin - Using Rule Sets</title>
+ <title>Using Rule Sets</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="Maria Odea Ching" />
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <meta name="author" content="Maria Odea Ching" />
+ <meta name="Date-Revision-yyyymmdd" content="20111108" />
+ <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 src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
<script type="text/javascript">_uacct = "UA-140879-1";
urchinTracker();</script>
</head>
<body class="composite">
<div id="banner">
- <a href="http://maven.apache.org/" id="bannerLeft">
-
- <img src="http://maven.apache.org/images/apache-maven-project-2.png" alt="" />
-
- </a>
- <a href="http://maven.apache.org/" id="bannerRight">
-
- <img src="http://maven.apache.org/images/maven-logo-2.gif" alt="" />
-
- </a>
+ <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="http://maven.apache.org/index.html" class="externalLink">Maven</a>
- >
-
- <a href="http://maven.apache.org/plugins/index.html" class="externalLink">Plugins</a>
- >
-
- <a href="../../../../../../../../../../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Maven PMD Plugin</a>
- </div>
- <div class="xright">
-
-
-
-
-
-
-
- Last Published: 2010-05-01
- | Version: 2.5
+ <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="../">Maven PMD plugin</a>
+ >
+ Using Rule Sets
+ </div>
+ <div class="xright">
+ Last Published: 2011-11-08
+ | Version: 2.6
</div>
<div class="clear">
<hr/>
@@ -82,186 +53,113 @@
</div>
<div id="leftColumn">
<div id="navcolumn">
-
-
-
-
-
-
-
-
- <h5>Overview</h5>
- <ul>
-
- <li class="none">
- <a href="../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Introduction</a>
- </li>
-
- <li class="none">
- <a href="../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Goals</a>
- </li>
-
- <li class="none">
- <a href="../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Usage</a>
- </li>
-
- <li class="none">
- <a href="../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">FAQ</a>
- </li>
+
+ <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">
- <a href="../../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Remove Report</a>
- </li>
-
- <li class="none">
- <a href="../../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Target JDK</a>
- </li>
-
- <li class="none">
- <a href="../../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Using Rule Sets</a>
- </li>
-
- <li class="none">
- <a href="../../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Violation Checking</a>
- </li>
+ <h5>Examples</h5>
+ <ul>
+ <li class="none">
+ <a href="../examples/removeReport.html">Remove Report</a>
+ </li>
+ <li class="none">
+ <a href="../examples/targetJdk.html">Target JDK</a>
+ </li>
+ <li class="none">
+ <strong>Using Rule Sets</strong>
+ </li>
+ <li class="none">
+ <a href="../examples/violationChecking.html">Violation Checking</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>
+ <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="http://maven.apache.org/ant-tasks/index.html" class="externalLink">Ant Tasks</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/doxia/index.html" class="externalLink">Doxia</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/jxr/index.html" class="externalLink">JXR</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/maven-1.x/index.html" class="externalLink">Maven 1.x</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/index.html" class="externalLink">Maven 2</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/mercury/index.html" class="externalLink">Mercury</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/plugins/index.html" class="externalLink">Plugins</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/scm/index.html" class="externalLink">SCM</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/shared/index.html" class="externalLink">Shared Components</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/surefire/index.html" class="externalLink">Surefire</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/wagon/index.html" class="externalLink">Wagon</a>
- </li>
+ <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="../../index.html">Plugins</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="../../../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"></img>
- </a>
+ <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>
<div id="bodyColumn">
<div id="contentBox">
- <div class="section"><h2>Using Rule Sets</h2>
-<p>The PMD plugin uses three default rule sets: <i>basic.xml</i>, <i>unusedcode.xml</i> and <i>imports.xml</i>. These rule sets are bundled in the PMD code analysis tool (see the <a href="http://pmd.sourceforge.net/rules/index.html" class="externalLink">ruleset index</a>). To use other rule sets, you can configure it in the plugin as shown below.</p>
-<p>The rule sets may reside in the classpath, filesystem or at a URL. For rule sets that are bundled with the PMD tool, you do not need to specificy the absolute path of the file. It will be resolved by the plugin. But if the rule set is a custom rule set, you need to specify its absolute path.</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/referen
ces/apt-format.html --><div class="section"><h2>Using Rule Sets<a name="Using_Rule_Sets"></a></h2><p>The PMD plugin uses three default rule sets: <i>basic.xml</i>, <i>unusedcode.xml</i> and <i>imports.xml</i>. These rule sets are bundled in the PMD code analysis tool (see the <a class="externalLink" href="http://pmd.sourceforge.net/rules/index.html">ruleset index</a>). To use other rule sets, you can configure it in the plugin as shown below.</p><p>The rule sets may reside in the classpath, filesystem or at a URL. For rule sets that are bundled with the PMD tool, you do not need to specificy the absolute path of the file. It will be resolved by the plugin. But if the rule set is a custom rule set, you need to specify its absolute path.</p><div class="source"><pre><project>
...
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>2.5</version>
+ <version>2.6</version>
<configuration>
<rulesets>
<!-- Two rule sets that come bundled with PMD -->
@@ -277,29 +175,20 @@
</plugins>
</reporting>
...
-</project></pre>
-</div>
-</div>
-
+</project></pre></div></div>
</div>
</div>
<div class="clear">
<hr/>
</div>
<div id="footer">
- <div class="xright">©
- 2005-2010
-
- The Apache Software Foundation
-
-
-
-
-
+ <div class="xright">
+ © 2005-2011
+ The Apache Software Foundation
-
-
- - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a></div>
+ - <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>
Modified: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/examples/violationChecking.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-pmd-plugin-latest/examples/violationChecking.html (original)
+++ websites/production/maventest/content/plugins/maven-pmd-plugin-latest/examples/violationChecking.html Tue May 8 15:16:42 2012
@@ -1,80 +1,51 @@
<!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 Nov 8, 2011 -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Maven PMD plugin - Violation Checking</title>
+ <title>Violation Checking</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="23 June 2006" />
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <meta name="author" content="23 June 2006" />
+ <meta name="Date-Revision-yyyymmdd" content="20111108" />
+ <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 src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
<script type="text/javascript">_uacct = "UA-140879-1";
urchinTracker();</script>
</head>
<body class="composite">
<div id="banner">
- <a href="http://maven.apache.org/" id="bannerLeft">
-
- <img src="http://maven.apache.org/images/apache-maven-project-2.png" alt="" />
-
- </a>
- <a href="http://maven.apache.org/" id="bannerRight">
-
- <img src="http://maven.apache.org/images/maven-logo-2.gif" alt="" />
-
- </a>
+ <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="http://maven.apache.org/index.html" class="externalLink">Maven</a>
- >
-
- <a href="http://maven.apache.org/plugins/index.html" class="externalLink">Plugins</a>
- >
-
- <a href="../../../../../../../../../../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Maven PMD Plugin</a>
- </div>
- <div class="xright">
-
-
-
-
-
-
-
- Last Published: 2010-05-01
- | Version: 2.5
+ <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="../">Maven PMD plugin</a>
+ >
+ Violation Checking
+ </div>
+ <div class="xright">
+ Last Published: 2011-11-08
+ | Version: 2.6
</div>
<div class="clear">
<hr/>
@@ -82,187 +53,113 @@
</div>
<div id="leftColumn">
<div id="navcolumn">
-
-
-
-
-
-
-
-
- <h5>Overview</h5>
- <ul>
-
- <li class="none">
- <a href="../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Introduction</a>
- </li>
-
- <li class="none">
- <a href="../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Goals</a>
- </li>
-
- <li class="none">
- <a href="../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Usage</a>
- </li>
-
- <li class="none">
- <a href="../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">FAQ</a>
- </li>
+
+ <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">
- <a href="../../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Remove Report</a>
- </li>
-
- <li class="none">
- <a href="../../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Target JDK</a>
- </li>
-
- <li class="none">
- <a href="../../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Using Rule Sets</a>
- </li>
-
- <li class="none">
- <a href="../../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Violation Checking</a>
+ <h5>Examples</h5>
+ <ul>
+ <li class="none">
+ <a href="../examples/removeReport.html">Remove Report</a>
+ </li>
+ <li class="none">
+ <a href="../examples/targetJdk.html">Target JDK</a>
+ </li>
+ <li class="none">
+ <a href="../examples/usingRuleSets.html">Using Rule Sets</a>
+ </li>
+ <li class="none">
+ <strong>Violation Checking</strong>
</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>
+ <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="http://maven.apache.org/ant-tasks/index.html" class="externalLink">Ant Tasks</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/doxia/index.html" class="externalLink">Doxia</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/jxr/index.html" class="externalLink">JXR</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/maven-1.x/index.html" class="externalLink">Maven 1.x</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/index.html" class="externalLink">Maven 2</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/mercury/index.html" class="externalLink">Mercury</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/plugins/index.html" class="externalLink">Plugins</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/scm/index.html" class="externalLink">SCM</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/shared/index.html" class="externalLink">Shared Components</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/surefire/index.html" class="externalLink">Surefire</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/wagon/index.html" class="externalLink">Wagon</a>
- </li>
+ <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="../../index.html">Plugins</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="../../../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"></img>
- </a>
+ <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>
<div id="bodyColumn">
<div id="contentBox">
- <div class="section"><h2>Violation Checking</h2>
-<p>The <tt>pmd:check</tt> and <tt>pmd:cpd-check</tt> goals allow you to configure your build to fail if any errors are found in the PMD or CPD reports respectively. In doing so you can enforce your own custom code quality rules.</p>
-<p>The rule violations may optionally be displayed on the build output using the <tt>verbose</tt> setting.</p>
-<p>The following code fragment enables both the standard PMD check and the CPD check in a build, during the <tt>verify</tt> phase.</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/referen
ces/apt-format.html --><div class="section"><h2>Violation Checking<a name="Violation_Checking"></a></h2><p>The <tt>pmd:check</tt> and <tt>pmd:cpd-check</tt> goals allow you to configure your build to fail if any errors are found in the PMD or CPD reports respectively. In doing so you can enforce your own custom code quality rules.</p><p>The rule violations may optionally be displayed on the build output using the <tt>verbose</tt> setting.</p><p>The following code fragment enables both the standard PMD check and the CPD check in a build, during the <tt>verify</tt> phase.</p><div class="source"><pre><project>
...
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>2.5</version>
+ <version>2.6</version>
<executions>
<execution>
<goals>
@@ -275,29 +172,20 @@
</plugins>
</build>
...
-</project></pre>
-</div>
-</div>
-
+</project></pre></div></div>
</div>
</div>
<div class="clear">
<hr/>
</div>
<div id="footer">
- <div class="xright">©
- 2005-2010
-
- The Apache Software Foundation
-
-
-
-
-
+ <div class="xright">
+ © 2005-2011
+ The Apache Software Foundation
-
-
- - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a></div>
+ - <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>
Modified: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/faq.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-pmd-plugin-latest/faq.html (original)
+++ websites/production/maventest/content/plugins/maven-pmd-plugin-latest/faq.html Tue May 8 15:16:42 2012
@@ -1,79 +1,50 @@
<!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 Nov 8, 2011 -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Maven PMD plugin - Frequently Asked Questions</title>
+ <title>Frequently Asked Questions</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 http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <meta name="Date-Revision-yyyymmdd" content="20111108" />
+ <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 src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
<script type="text/javascript">_uacct = "UA-140879-1";
urchinTracker();</script>
</head>
<body class="composite">
<div id="banner">
- <a href="http://maven.apache.org/" id="bannerLeft">
-
- <img src="http://maven.apache.org/images/apache-maven-project-2.png" alt="" />
-
- </a>
- <a href="http://maven.apache.org/" id="bannerRight">
-
- <img src="http://maven.apache.org/images/maven-logo-2.gif" alt="" />
-
- </a>
+ <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="http://maven.apache.org/index.html" class="externalLink">Maven</a>
- >
-
- <a href="http://maven.apache.org/plugins/index.html" class="externalLink">Plugins</a>
- >
-
- <a href="../../../../../../../../../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Maven PMD Plugin</a>
- </div>
- <div class="xright">
-
-
-
-
-
-
- Last Published: 2010-05-01
- | Version: 2.5
+ <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="./">Maven PMD plugin</a>
+ >
+ Frequently Asked Questions
+ </div>
+ <div class="xright">
+ Last Published: 2011-11-08
+ | Version: 2.6
</div>
<div class="clear">
<hr/>
@@ -81,214 +52,161 @@
</div>
<div id="leftColumn">
<div id="navcolumn">
-
-
-
-
-
-
-
-
- <h5>Overview</h5>
- <ul>
-
- <li class="none">
- <a href="../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Introduction</a>
- </li>
-
- <li class="none">
- <a href="../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Goals</a>
- </li>
-
- <li class="none">
- <a href="../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Usage</a>
- </li>
-
- <li class="none">
- <a href="../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">FAQ</a>
+
+ <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">
+ <strong>FAQ</strong>
</li>
</ul>
- <h5>Examples</h5>
- <ul>
-
- <li class="none">
- <a href="../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Remove Report</a>
- </li>
-
- <li class="none">
- <a href="../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Target JDK</a>
- </li>
-
- <li class="none">
- <a href="../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Using Rule Sets</a>
- </li>
-
- <li class="none">
- <a href="../../home/herve/projet/maven/plugins/trunk/maven-pmd-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-pmd-plugin">Violation Checking</a>
- </li>
+ <h5>Examples</h5>
+ <ul>
+ <li class="none">
+ <a href="examples/removeReport.html">Remove Report</a>
+ </li>
+ <li class="none">
+ <a href="examples/targetJdk.html">Target JDK</a>
+ </li>
+ <li class="none">
+ <a href="examples/usingRuleSets.html">Using Rule Sets</a>
+ </li>
+ <li class="none">
+ <a href="examples/violationChecking.html">Violation Checking</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>
+ <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="http://maven.apache.org/ant-tasks/index.html" class="externalLink">Ant Tasks</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/doxia/index.html" class="externalLink">Doxia</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/jxr/index.html" class="externalLink">JXR</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/maven-1.x/index.html" class="externalLink">Maven 1.x</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/index.html" class="externalLink">Maven 2</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/mercury/index.html" class="externalLink">Mercury</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/plugins/index.html" class="externalLink">Plugins</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/scm/index.html" class="externalLink">SCM</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/shared/index.html" class="externalLink">Shared Components</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/surefire/index.html" class="externalLink">Surefire</a>
- </li>
-
- <li class="none">
- <a href="http://maven.apache.org/wagon/index.html" class="externalLink">Wagon</a>
- </li>
+ <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="../index.html">Plugins</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="../../surefire/index.html">Surefire</a>
+ </li>
+ <li class="none">
+ <a href="../../wagon/index.html">Wagon</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"></img>
- </a>
+ <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>
<div id="bodyColumn">
<div id="contentBox">
- <div class="section"><h2><a name="top">Frequently Asked Questions</a></h2>
-<ol type="1"><li><a href="#Is_there_any_way_to_skip_the_PMD_or_CPD_reports_temporarily">
+ <!-- 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. --><div class="section"><h2><a name="top">Frequently Asked Questions</a><a name="Frequently_Asked_Questions"></a></h2><ol style="list-style-type: decimal"><li><a href="#Is_there_any_way_to_skip_the_PMD_or_CPD_reports_temporarily">
The PMD report takes a long time to generate. Is there any way to skip
the PMD or CPD reports temporarily?
- </a></li>
-</ol>
-</div>
-<dl><dt><a name="Is_there_any_way_to_skip_the_PMD_or_CPD_reports_temporarily">
+ </a></li><li><a href="#xref_links">
+ How can I generate links to the JXR cross-referenced source?
+ </a></li></ol></div><dl><dt><a name="Is_there_any_way_to_skip_the_PMD_or_CPD_reports_temporarily">
The PMD report takes a long time to generate. Is there any way to skip
the PMD or CPD reports temporarily?
- </a></dt>
-<dd>
+ </a></dt><dd>
<p>
Yes, each report supports a skip parameter which you can pass on the
- command line, <code>-Dpmd.skip=true</code> and
- <code>-Dcpd.skip=true</code> respectively.
+ command line, <tt>-Dpmd.skip=true</tt> and
+ <tt>-Dcpd.skip=true</tt> respectively.
</p>
- <table border="0"><tr><td align="right"><a href="#top">[top]</a></td></tr></table></dd>
-</dl>
-
+ <p align="right"><a href="#top">[top]</a></p><hr /></dd><dt><a name="xref_links">
+ How can I generate links to the JXR cross-referenced source?
+ </a></dt><dd>
+ <p>
+ First make sure that the <a href="pmd-mojo.html#linkXRef">linkXRef</a> parameter is configured
+ correctly (it is switched on by default).
+ </p>
+ <p>
+ Then, the jxr plugin has to run first so that the links can be picked up by the pmd report.
+ If you run from the command line, use <tt>mvn jxr:jxr pmd:pmd</tt>, or if you want the
+ reports generated by the site plugin, configure the jxr plugin in your reporting section, see
+ <a class="externalLink" href="http://maven.apache.org/plugins/maven-jxr-plugin/usage.html">JXR usage</a>.
+ </p>
+ <p align="right"><a href="#top">[top]</a></p></dd></dl>
</div>
</div>
<div class="clear">
<hr/>
</div>
<div id="footer">
- <div class="xright">©
- 2005-2010
-
- The Apache Software Foundation
-
-
-
-
-
+ <div class="xright">
+ © 2005-2011
+ The Apache Software Foundation
-
-
- - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a></div>
+ - <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>