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:14:51 UTC
svn commit: r816688 [29/33] - in
/websites/production/maventest/content/plugins/maven-pmd-plugin-latest: ./
apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/maven/
apidocs/org/apache/maven/plugin/ apidocs/org/apache/maven/plugin/pmd/
apidoc...
Added: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/PmdViolationCheckMojoTest.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/PmdViolationCheckMojoTest.html (added)
+++ websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/PmdViolationCheckMojoTest.html Tue May 8 15:14:44 2012
@@ -0,0 +1,129 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+<title>PmdViolationCheckMojoTest xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a> <strong class="jxr_keyword">package</strong> org.apache.maven.plugin.pmd;
+<a name="2" href="#2">2</a>
+<a name="3" href="#3">3</a> <em class="jxr_comment">/*</em>
+<a name="4" href="#4">4</a> <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one</em>
+<a name="5" href="#5">5</a> <em class="jxr_comment"> * or more contributor license agreements. See the NOTICE file</em>
+<a name="6" href="#6">6</a> <em class="jxr_comment"> * distributed with this work for additional information</em>
+<a name="7" href="#7">7</a> <em class="jxr_comment"> * regarding copyright ownership. The ASF licenses this file</em>
+<a name="8" href="#8">8</a> <em class="jxr_comment"> * to you under the Apache License, Version 2.0 (the</em>
+<a name="9" href="#9">9</a> <em class="jxr_comment"> * "License"); you may not use this file except in compliance</em>
+<a name="10" href="#10">10</a> <em class="jxr_comment"> * with the License. You may obtain a copy of the License at</em>
+<a name="11" href="#11">11</a> <em class="jxr_comment"> *</em>
+<a name="12" href="#12">12</a> <em class="jxr_comment"> * <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="13" href="#13">13</a> <em class="jxr_comment"> *</em>
+<a name="14" href="#14">14</a> <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing,</em>
+<a name="15" href="#15">15</a> <em class="jxr_comment"> * software distributed under the License is distributed on an</em>
+<a name="16" href="#16">16</a> <em class="jxr_comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em>
+<a name="17" href="#17">17</a> <em class="jxr_comment"> * KIND, either express or implied. See the License for the</em>
+<a name="18" href="#18">18</a> <em class="jxr_comment"> * specific language governing permissions and limitations</em>
+<a name="19" href="#19">19</a> <em class="jxr_comment"> * under the License.</em>
+<a name="20" href="#20">20</a> <em class="jxr_comment"> */</em>
+<a name="21" href="#21">21</a>
+<a name="22" href="#22">22</a> <strong class="jxr_keyword">import</strong> org.apache.maven.plugin.MojoFailureException;
+<a name="23" href="#23">23</a> <strong class="jxr_keyword">import</strong> org.apache.maven.plugin.testing.AbstractMojoTestCase;
+<a name="24" href="#24">24</a>
+<a name="25" href="#25">25</a> <strong class="jxr_keyword">import</strong> java.io.File;
+<a name="26" href="#26">26</a>
+<a name="27" href="#27">27</a> <em class="jxr_javadoccomment">/**</em>
+<a name="28" href="#28">28</a> <em class="jxr_javadoccomment"> * @author <a href="<a href="mailto:oching@apache.org" target="alexandria_uri">mailto:oching@apache.org</a>">Maria Odea Ching</a></em>
+<a name="29" href="#29">29</a> <em class="jxr_javadoccomment"> * @version $Id$</em>
+<a name="30" href="#30">30</a> <em class="jxr_javadoccomment"> */</em>
+<a name="31" href="#31">31</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/maven/plugin/pmd/PmdViolationCheckMojoTest.html">PmdViolationCheckMojoTest</a>
+<a name="32" href="#32">32</a> <strong class="jxr_keyword">extends</strong> AbstractMojoTestCase
+<a name="33" href="#33">33</a> {
+<a name="34" href="#34">34</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> {@inheritDoc} */</em>
+<a name="35" href="#35">35</a> <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> setUp()
+<a name="36" href="#36">36</a> <strong class="jxr_keyword">throws</strong> Exception
+<a name="37" href="#37">37</a> {
+<a name="38" href="#38">38</a> <strong class="jxr_keyword">super</strong>.setUp();
+<a name="39" href="#39">39</a> }
+<a name="40" href="#40">40</a>
+<a name="41" href="#41">41</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testDefaultConfiguration()
+<a name="42" href="#42">42</a> <strong class="jxr_keyword">throws</strong> Exception
+<a name="43" href="#43">43</a> {
+<a name="44" href="#44">44</a> <strong class="jxr_keyword">try</strong>
+<a name="45" href="#45">45</a> {
+<a name="46" href="#46">46</a> File testPom = <strong class="jxr_keyword">new</strong> File( getBasedir(),
+<a name="47" href="#47">47</a> <span class="jxr_string">"src/test/resources/unit/default-configuration/pmd-check-default-configuration-plugin-config.xml"</span> );
+<a name="48" href="#48">48</a> PmdViolationCheckMojo mojo = (PmdViolationCheckMojo) lookupMojo( <span class="jxr_string">"check"</span>, testPom );
+<a name="49" href="#49">49</a> mojo.execute();
+<a name="50" href="#50">50</a>
+<a name="51" href="#51">51</a> fail( <span class="jxr_string">"MojoFailureException should be thrown."</span> );
+<a name="52" href="#52">52</a> }
+<a name="53" href="#53">53</a> <strong class="jxr_keyword">catch</strong> ( Exception e )
+<a name="54" href="#54">54</a> {
+<a name="55" href="#55">55</a> assertTrue( <strong class="jxr_keyword">true</strong> );
+<a name="56" href="#56">56</a> }
+<a name="57" href="#57">57</a> }
+<a name="58" href="#58">58</a>
+<a name="59" href="#59">59</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testNotFailOnViolation()
+<a name="60" href="#60">60</a> <strong class="jxr_keyword">throws</strong> Exception
+<a name="61" href="#61">61</a> {
+<a name="62" href="#62">62</a> File testPom = <strong class="jxr_keyword">new</strong> File( getBasedir(),
+<a name="63" href="#63">63</a> <span class="jxr_string">"src/test/resources/unit/default-configuration/default-configuration-plugin-config.xml"</span> );
+<a name="64" href="#64">64</a> PmdReport mojo = (PmdReport) lookupMojo( <span class="jxr_string">"pmd"</span>, testPom );
+<a name="65" href="#65">65</a> mojo.execute();
+<a name="66" href="#66">66</a>
+<a name="67" href="#67">67</a> testPom = <strong class="jxr_keyword">new</strong> File( getBasedir(),
+<a name="68" href="#68">68</a> <span class="jxr_string">"src/test/resources/unit/default-configuration/pmd-check-notfailonviolation-plugin-config.xml"</span> );
+<a name="69" href="#69">69</a> PmdViolationCheckMojo pmdViolationMojo = (PmdViolationCheckMojo) lookupMojo( <span class="jxr_string">"check"</span>, testPom );
+<a name="70" href="#70">70</a> pmdViolationMojo.execute();
+<a name="71" href="#71">71</a>
+<a name="72" href="#72">72</a> assertTrue( <strong class="jxr_keyword">true</strong> );
+<a name="73" href="#73">73</a> }
+<a name="74" href="#74">74</a>
+<a name="75" href="#75">75</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testFailurePriority()
+<a name="76" href="#76">76</a> <strong class="jxr_keyword">throws</strong> Exception
+<a name="77" href="#77">77</a> {
+<a name="78" href="#78">78</a> File testPom = <strong class="jxr_keyword">new</strong> File( getBasedir(),
+<a name="79" href="#79">79</a> <span class="jxr_string">"src/test/resources/unit/default-configuration/pmd-check-failonpriority-plugin-config.xml"</span> );
+<a name="80" href="#80">80</a> PmdViolationCheckMojo pmdViolationMojo = (PmdViolationCheckMojo) lookupMojo( <span class="jxr_string">"check"</span>, testPom );
+<a name="81" href="#81">81</a> pmdViolationMojo.execute();
+<a name="82" href="#82">82</a>
+<a name="83" href="#83">83</a> testPom = <strong class="jxr_keyword">new</strong> File( getBasedir(),
+<a name="84" href="#84">84</a> <span class="jxr_string">"src/test/resources/unit/default-configuration/pmd-check-failandwarnonpriority-plugin-config.xml"</span> );
+<a name="85" href="#85">85</a> pmdViolationMojo = (PmdViolationCheckMojo) lookupMojo( <span class="jxr_string">"check"</span>, testPom );
+<a name="86" href="#86">86</a> <strong class="jxr_keyword">try</strong>
+<a name="87" href="#87">87</a> {
+<a name="88" href="#88">88</a> pmdViolationMojo.execute();
+<a name="89" href="#89">89</a> fail( <span class="jxr_string">"Exception Expected"</span> );
+<a name="90" href="#90">90</a> }
+<a name="91" href="#91">91</a> <strong class="jxr_keyword">catch</strong> ( MojoFailureException e )
+<a name="92" href="#92">92</a> {
+<a name="93" href="#93">93</a> System.out.println( <span class="jxr_string">"Caught Expected Message: "</span> + e.getMessage() );<em class="jxr_comment">// expected</em>
+<a name="94" href="#94">94</a> }
+<a name="95" href="#95">95</a>
+<a name="96" href="#96">96</a> }
+<a name="97" href="#97">97</a>
+<a name="98" href="#98">98</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testException()
+<a name="99" href="#99">99</a> <strong class="jxr_keyword">throws</strong> Exception
+<a name="100" href="#100">100</a> {
+<a name="101" href="#101">101</a> <strong class="jxr_keyword">try</strong>
+<a name="102" href="#102">102</a> {
+<a name="103" href="#103">103</a> File testPom = <strong class="jxr_keyword">new</strong> File( getBasedir(),
+<a name="104" href="#104">104</a> <span class="jxr_string">"src/test/resources/unit/custom-configuration/pmd-check-exception-test-plugin-config.xml"</span> );
+<a name="105" href="#105">105</a> PmdViolationCheckMojo mojo = (PmdViolationCheckMojo) lookupMojo( <span class="jxr_string">"check"</span>, testPom );
+<a name="106" href="#106">106</a> mojo.execute();
+<a name="107" href="#107">107</a>
+<a name="108" href="#108">108</a> fail( <span class="jxr_string">"MojoFailureException should be thrown."</span> );
+<a name="109" href="#109">109</a> }
+<a name="110" href="#110">110</a> <strong class="jxr_keyword">catch</strong> ( Exception e )
+<a name="111" href="#111">111</a> {
+<a name="112" href="#112">112</a> assertTrue( <strong class="jxr_keyword">true</strong> );
+<a name="113" href="#113">113</a> }
+<a name="114" href="#114">114</a>
+<a name="115" href="#115">115</a> }
+<a name="116" href="#116">116</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
Propchange: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/PmdViolationCheckMojoTest.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/PmdViolationCheckMojoTest.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/package-frame.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/package-frame.html (added)
+++ websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/package-frame.html Tue May 8 15:14:44 2012
@@ -0,0 +1,39 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+<html xml:lang="en" lang="en">
+ <head>
+ <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+ <title>Maven PMD Plugin 2.5 Reference Package org.apache.maven.plugin.pmd</title>
+ <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
+ </head>
+ <body>
+
+ <h3>
+ <a href="package-summary.html" target="classFrame">org.apache.maven.plugin.pmd</a>
+ </h3>
+
+ <h3>Classes</h3>
+
+ <ul>
+ <li>
+ <a href="AbstractPmdReportTest.html" target="classFrame">AbstractPmdReportTest</a>
+ </li>
+ <li>
+ <a href="CpdReportTest.html" target="classFrame">CpdReportTest</a>
+ </li>
+ <li>
+ <a href="CpdViolationCheckMojoTest.html" target="classFrame">CpdViolationCheckMojoTest</a>
+ </li>
+ <li>
+ <a href="CpdReportTest.html" target="classFrame">MockCpd</a>
+ </li>
+ <li>
+ <a href="PmdReportTest.html" target="classFrame">PmdReportTest</a>
+ </li>
+ <li>
+ <a href="PmdViolationCheckMojoTest.html" target="classFrame">PmdViolationCheckMojoTest</a>
+ </li>
+ </ul>
+
+ </body>
+</html>
\ No newline at end of file
Propchange: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/package-frame.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/package-frame.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/package-summary.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/package-summary.html (added)
+++ websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/package-summary.html Tue May 8 15:14:44 2012
@@ -0,0 +1,92 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+<html xml:lang="en" lang="en">
+ <head>
+ <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+ <title>Maven PMD Plugin 2.5 Reference Package org.apache.maven.plugin.pmd</title>
+ <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
+ </head>
+ <body>
+ <div class="overview">
+ <ul>
+ <li>
+ <a href="../../../../../overview-summary.html">Overview</a>
+ </li>
+ <li class="selected">Package</li>
+ </ul>
+ </div>
+ <div class="framenoframe">
+ <ul>
+ <li>
+ <a href="../../../../../index.html" target="_top">FRAMES</a>
+ </li>
+ <li>
+ <a href="package-summary.html" target="_top">NO FRAMES</a>
+ </li>
+ </ul>
+ </div>
+
+ <h2>Package org.apache.maven.plugin.pmd</h2>
+
+ <table class="summary">
+ <thead>
+ <tr>
+ <th>Class Summary</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>
+ <a href="AbstractPmdReportTest.html" target="classFrame">AbstractPmdReportTest</a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <a href="CpdReportTest.html" target="classFrame">CpdReportTest</a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <a href="CpdViolationCheckMojoTest.html" target="classFrame">CpdViolationCheckMojoTest</a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <a href="CpdReportTest.html" target="classFrame">MockCpd</a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <a href="PmdReportTest.html" target="classFrame">PmdReportTest</a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <a href="PmdViolationCheckMojoTest.html" target="classFrame">PmdViolationCheckMojoTest</a>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+
+ <div class="overview">
+ <ul>
+ <li>
+ <a href="../../../../../overview-summary.html">Overview</a>
+ </li>
+ <li class="selected">Package</li>
+ </ul>
+ </div>
+ <div class="framenoframe">
+ <ul>
+ <li>
+ <a href="../../../../../index.html" target="_top">FRAMES</a>
+ </li>
+ <li>
+ <a href="package-summary.html" target="_top">NO FRAMES</a>
+ </li>
+ </ul>
+ </div>
+ <hr />
+ Copyright © 2005-2010 The Apache Software Foundation. All Rights Reserved.
+ </body>
+</html>
\ No newline at end of file
Propchange: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/package-summary.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/package-summary.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/CustomConfigurationMavenProjectStub.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/CustomConfigurationMavenProjectStub.html (added)
+++ websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/CustomConfigurationMavenProjectStub.html Tue May 8 15:14:44 2012
@@ -0,0 +1,128 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+<title>CustomConfigurationMavenProjectStub xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a> <strong class="jxr_keyword">package</strong> org.apache.maven.plugin.pmd.stubs;
+<a name="2" href="#2">2</a>
+<a name="3" href="#3">3</a> <em class="jxr_comment">/*</em>
+<a name="4" href="#4">4</a> <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one</em>
+<a name="5" href="#5">5</a> <em class="jxr_comment"> * or more contributor license agreements. See the NOTICE file</em>
+<a name="6" href="#6">6</a> <em class="jxr_comment"> * distributed with this work for additional information</em>
+<a name="7" href="#7">7</a> <em class="jxr_comment"> * regarding copyright ownership. The ASF licenses this file</em>
+<a name="8" href="#8">8</a> <em class="jxr_comment"> * to you under the Apache License, Version 2.0 (the</em>
+<a name="9" href="#9">9</a> <em class="jxr_comment"> * "License"); you may not use this file except in compliance</em>
+<a name="10" href="#10">10</a> <em class="jxr_comment"> * with the License. You may obtain a copy of the License at</em>
+<a name="11" href="#11">11</a> <em class="jxr_comment"> *</em>
+<a name="12" href="#12">12</a> <em class="jxr_comment"> * <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="13" href="#13">13</a> <em class="jxr_comment"> *</em>
+<a name="14" href="#14">14</a> <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing,</em>
+<a name="15" href="#15">15</a> <em class="jxr_comment"> * software distributed under the License is distributed on an</em>
+<a name="16" href="#16">16</a> <em class="jxr_comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em>
+<a name="17" href="#17">17</a> <em class="jxr_comment"> * KIND, either express or implied. See the License for the</em>
+<a name="18" href="#18">18</a> <em class="jxr_comment"> * specific language governing permissions and limitations</em>
+<a name="19" href="#19">19</a> <em class="jxr_comment"> * under the License.</em>
+<a name="20" href="#20">20</a> <em class="jxr_comment"> */</em>
+<a name="21" href="#21">21</a>
+<a name="22" href="#22">22</a> <strong class="jxr_keyword">import</strong> org.apache.maven.artifact.Artifact;
+<a name="23" href="#23">23</a> <strong class="jxr_keyword">import</strong> org.apache.maven.model.Build;
+<a name="24" href="#24">24</a> <strong class="jxr_keyword">import</strong> org.apache.maven.model.Model;
+<a name="25" href="#25">25</a> <strong class="jxr_keyword">import</strong> org.apache.maven.model.Scm;
+<a name="26" href="#26">26</a> <strong class="jxr_keyword">import</strong> org.apache.maven.model.io.xpp3.MavenXpp3Reader;
+<a name="27" href="#27">27</a> <strong class="jxr_keyword">import</strong> org.apache.maven.plugin.testing.stubs.MavenProjectStub;
+<a name="28" href="#28">28</a>
+<a name="29" href="#29">29</a> <strong class="jxr_keyword">import</strong> java.io.File;
+<a name="30" href="#30">30</a> <strong class="jxr_keyword">import</strong> java.io.FileReader;
+<a name="31" href="#31">31</a> <strong class="jxr_keyword">import</strong> java.util.ArrayList;
+<a name="32" href="#32">32</a> <strong class="jxr_keyword">import</strong> java.util.List;
+<a name="33" href="#33">33</a>
+<a name="34" href="#34">34</a> <em class="jxr_javadoccomment">/**</em>
+<a name="35" href="#35">35</a> <em class="jxr_javadoccomment"> * @author <a href="<a href="mailto:oching@apache.org" target="alexandria_uri">mailto:oching@apache.org</a>">Maria Odea Ching</a></em>
+<a name="36" href="#36">36</a> <em class="jxr_javadoccomment"> * @version $Id$</em>
+<a name="37" href="#37">37</a> <em class="jxr_javadoccomment"> */</em>
+<a name="38" href="#38">38</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/maven/plugin/pmd/stubs/CustomConfigurationMavenProjectStub.html">CustomConfigurationMavenProjectStub</a>
+<a name="39" href="#39">39</a> <strong class="jxr_keyword">extends</strong> MavenProjectStub
+<a name="40" href="#40">40</a> {
+<a name="41" href="#41">41</a> <strong class="jxr_keyword">private</strong> Build build;
+<a name="42" href="#42">42</a>
+<a name="43" href="#43">43</a> <strong class="jxr_keyword">private</strong> List reportPlugins = <strong class="jxr_keyword">new</strong> ArrayList();
+<a name="44" href="#44">44</a>
+<a name="45" href="#45">45</a> <strong class="jxr_keyword">public</strong> <a href="../../../../../../org/apache/maven/plugin/pmd/stubs/CustomConfigurationMavenProjectStub.html">CustomConfigurationMavenProjectStub</a>()
+<a name="46" href="#46">46</a> {
+<a name="47" href="#47">47</a> MavenXpp3Reader pomReader = <strong class="jxr_keyword">new</strong> MavenXpp3Reader();
+<a name="48" href="#48">48</a> Model model = <strong class="jxr_keyword">null</strong>;
+<a name="49" href="#49">49</a>
+<a name="50" href="#50">50</a> <strong class="jxr_keyword">try</strong>
+<a name="51" href="#51">51</a> {
+<a name="52" href="#52">52</a> model = pomReader.read( <strong class="jxr_keyword">new</strong> FileReader( <strong class="jxr_keyword">new</strong> File( getBasedir() +
+<a name="53" href="#53">53</a> <span class="jxr_string">"/src/test/resources/unit/custom-configuration/custom-configuration-plugin-config.xml"</span> ) ) );
+<a name="54" href="#54">54</a> setModel( model );
+<a name="55" href="#55">55</a> }
+<a name="56" href="#56">56</a> <strong class="jxr_keyword">catch</strong> ( Exception e )
+<a name="57" href="#57">57</a> {
+<a name="58" href="#58">58</a>
+<a name="59" href="#59">59</a> }
+<a name="60" href="#60">60</a>
+<a name="61" href="#61">61</a> setGroupId( model.getGroupId() );
+<a name="62" href="#62">62</a> setArtifactId( model.getArtifactId() );
+<a name="63" href="#63">63</a> setVersion( model.getVersion() );
+<a name="64" href="#64">64</a> setName( model.getName() );
+<a name="65" href="#65">65</a> setUrl( model.getUrl() );
+<a name="66" href="#66">66</a> setPackaging( model.getPackaging() );
+<a name="67" href="#67">67</a>
+<a name="68" href="#68">68</a> Scm scm = <strong class="jxr_keyword">new</strong> Scm();
+<a name="69" href="#69">69</a> scm.setConnection( <span class="jxr_string">"scm:svn:http://svn.apache.org/maven/sample/trunk"</span> );
+<a name="70" href="#70">70</a> setScm( scm );
+<a name="71" href="#71">71</a>
+<a name="72" href="#72">72</a> Build build = <strong class="jxr_keyword">new</strong> Build();
+<a name="73" href="#73">73</a> build.setFinalName( model.getBuild().getFinalName() );
+<a name="74" href="#74">74</a> build.setDirectory( getBasedir() + <span class="jxr_string">"/target/test/unit/custom-configuration/target"</span> );
+<a name="75" href="#75">75</a> build.setSourceDirectory( getBasedir() + <span class="jxr_string">"/src/test/resources/unit/custom-configuration"</span> );
+<a name="76" href="#76">76</a> setBuild( build );
+<a name="77" href="#77">77</a>
+<a name="78" href="#78">78</a> setReportPlugins( model.getReporting().getPlugins() );
+<a name="79" href="#79">79</a>
+<a name="80" href="#80">80</a> String basedir = getBasedir().getAbsolutePath();
+<a name="81" href="#81">81</a> List compileSourceRoots = <strong class="jxr_keyword">new</strong> ArrayList();
+<a name="82" href="#82">82</a> compileSourceRoots.add( basedir + <span class="jxr_string">"/src/test/resources/unit/custom-configuration/custom/configuration"</span> );
+<a name="83" href="#83">83</a> setCompileSourceRoots( compileSourceRoots );
+<a name="84" href="#84">84</a>
+<a name="85" href="#85">85</a> Artifact artifact = <strong class="jxr_keyword">new</strong> <a href="../../../../../../org/apache/maven/plugin/pmd/stubs/PmdPluginArtifactStub.html">PmdPluginArtifactStub</a>( getGroupId(), getArtifactId(), getVersion(), getPackaging() );
+<a name="86" href="#86">86</a> artifact.setArtifactHandler( <strong class="jxr_keyword">new</strong> DefaultArtifactHandlerStub() );
+<a name="87" href="#87">87</a> setArtifact( artifact );
+<a name="88" href="#88">88</a>
+<a name="89" href="#89">89</a> setFile(<strong class="jxr_keyword">new</strong> File(getBasedir().getAbsolutePath() + <span class="jxr_string">"/pom.xml"</span>));
+<a name="90" href="#90">90</a> }
+<a name="91" href="#91">91</a>
+<a name="92" href="#92">92</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> {@inheritDoc} */</em>
+<a name="93" href="#93">93</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setBuild( Build build )
+<a name="94" href="#94">94</a> {
+<a name="95" href="#95">95</a> <strong class="jxr_keyword">this</strong>.build = build;
+<a name="96" href="#96">96</a> }
+<a name="97" href="#97">97</a>
+<a name="98" href="#98">98</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> {@inheritDoc} */</em>
+<a name="99" href="#99">99</a> <strong class="jxr_keyword">public</strong> Build getBuild()
+<a name="100" href="#100">100</a> {
+<a name="101" href="#101">101</a> <strong class="jxr_keyword">return</strong> build;
+<a name="102" href="#102">102</a> }
+<a name="103" href="#103">103</a>
+<a name="104" href="#104">104</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setReportPlugins( List plugins )
+<a name="105" href="#105">105</a> {
+<a name="106" href="#106">106</a> <strong class="jxr_keyword">this</strong>.reportPlugins = plugins;
+<a name="107" href="#107">107</a> }
+<a name="108" href="#108">108</a>
+<a name="109" href="#109">109</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> {@inheritDoc} */</em>
+<a name="110" href="#110">110</a> <strong class="jxr_keyword">public</strong> List getReportPlugins()
+<a name="111" href="#111">111</a> {
+<a name="112" href="#112">112</a> <strong class="jxr_keyword">return</strong> reportPlugins;
+<a name="113" href="#113">113</a> }
+<a name="114" href="#114">114</a>
+<a name="115" href="#115">115</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
Propchange: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/CustomConfigurationMavenProjectStub.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/CustomConfigurationMavenProjectStub.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/DefaultArtifactHandlerStub.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/DefaultArtifactHandlerStub.html (added)
+++ websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/DefaultArtifactHandlerStub.html Tue May 8 15:14:44 2012
@@ -0,0 +1,61 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+<title>DefaultArtifactHandlerStub xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a> <strong class="jxr_keyword">package</strong> org.apache.maven.plugin.pmd.stubs;
+<a name="2" href="#2">2</a>
+<a name="3" href="#3">3</a> <em class="jxr_comment">/*</em>
+<a name="4" href="#4">4</a> <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one</em>
+<a name="5" href="#5">5</a> <em class="jxr_comment"> * or more contributor license agreements. See the NOTICE file</em>
+<a name="6" href="#6">6</a> <em class="jxr_comment"> * distributed with this work for additional information</em>
+<a name="7" href="#7">7</a> <em class="jxr_comment"> * regarding copyright ownership. The ASF licenses this file</em>
+<a name="8" href="#8">8</a> <em class="jxr_comment"> * to you under the Apache License, Version 2.0 (the</em>
+<a name="9" href="#9">9</a> <em class="jxr_comment"> * "License"); you may not use this file except in compliance</em>
+<a name="10" href="#10">10</a> <em class="jxr_comment"> * with the License. You may obtain a copy of the License at</em>
+<a name="11" href="#11">11</a> <em class="jxr_comment"> *</em>
+<a name="12" href="#12">12</a> <em class="jxr_comment"> * <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="13" href="#13">13</a> <em class="jxr_comment"> *</em>
+<a name="14" href="#14">14</a> <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing,</em>
+<a name="15" href="#15">15</a> <em class="jxr_comment"> * software distributed under the License is distributed on an</em>
+<a name="16" href="#16">16</a> <em class="jxr_comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em>
+<a name="17" href="#17">17</a> <em class="jxr_comment"> * KIND, either express or implied. See the License for the</em>
+<a name="18" href="#18">18</a> <em class="jxr_comment"> * specific language governing permissions and limitations</em>
+<a name="19" href="#19">19</a> <em class="jxr_comment"> * under the License.</em>
+<a name="20" href="#20">20</a> <em class="jxr_comment"> */</em>
+<a name="21" href="#21">21</a>
+<a name="22" href="#22">22</a> <strong class="jxr_keyword">import</strong> org.apache.maven.artifact.handler.DefaultArtifactHandler;
+<a name="23" href="#23">23</a>
+<a name="24" href="#24">24</a> <em class="jxr_javadoccomment">/**</em>
+<a name="25" href="#25">25</a> <em class="jxr_javadoccomment"> * @author <a href="<a href="mailto:oching@apache.org" target="alexandria_uri">mailto:oching@apache.org</a>">Maria Odea Ching</a></em>
+<a name="26" href="#26">26</a> <em class="jxr_javadoccomment"> * @version $Id$</em>
+<a name="27" href="#27">27</a> <em class="jxr_javadoccomment"> */</em>
+<a name="28" href="#28">28</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/maven/plugin/pmd/stubs/DefaultArtifactHandlerStub.html">DefaultArtifactHandlerStub</a>
+<a name="29" href="#29">29</a> <strong class="jxr_keyword">extends</strong> DefaultArtifactHandler
+<a name="30" href="#30">30</a> {
+<a name="31" href="#31">31</a> <strong class="jxr_keyword">private</strong> String language;
+<a name="32" href="#32">32</a>
+<a name="33" href="#33">33</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> {@inheritDoc} */</em>
+<a name="34" href="#34">34</a> <strong class="jxr_keyword">public</strong> String getLanguage()
+<a name="35" href="#35">35</a> {
+<a name="36" href="#36">36</a> <strong class="jxr_keyword">if</strong> ( language == <strong class="jxr_keyword">null</strong> )
+<a name="37" href="#37">37</a> {
+<a name="38" href="#38">38</a> language = <span class="jxr_string">"java"</span>;
+<a name="39" href="#39">39</a> }
+<a name="40" href="#40">40</a>
+<a name="41" href="#41">41</a> <strong class="jxr_keyword">return</strong> language;
+<a name="42" href="#42">42</a> }
+<a name="43" href="#43">43</a>
+<a name="44" href="#44">44</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setLanguage( String language )
+<a name="45" href="#45">45</a> {
+<a name="46" href="#46">46</a> <strong class="jxr_keyword">this</strong>.language = language;
+<a name="47" href="#47">47</a> }
+<a name="48" href="#48">48</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
Propchange: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/DefaultArtifactHandlerStub.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/DefaultArtifactHandlerStub.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/DefaultConfigurationMavenProjectStub.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/DefaultConfigurationMavenProjectStub.html (added)
+++ websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/DefaultConfigurationMavenProjectStub.html Tue May 8 15:14:44 2012
@@ -0,0 +1,129 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+<title>DefaultConfigurationMavenProjectStub xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a> <strong class="jxr_keyword">package</strong> org.apache.maven.plugin.pmd.stubs;
+<a name="2" href="#2">2</a>
+<a name="3" href="#3">3</a> <em class="jxr_comment">/*</em>
+<a name="4" href="#4">4</a> <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one</em>
+<a name="5" href="#5">5</a> <em class="jxr_comment"> * or more contributor license agreements. See the NOTICE file</em>
+<a name="6" href="#6">6</a> <em class="jxr_comment"> * distributed with this work for additional information</em>
+<a name="7" href="#7">7</a> <em class="jxr_comment"> * regarding copyright ownership. The ASF licenses this file</em>
+<a name="8" href="#8">8</a> <em class="jxr_comment"> * to you under the Apache License, Version 2.0 (the</em>
+<a name="9" href="#9">9</a> <em class="jxr_comment"> * "License"); you may not use this file except in compliance</em>
+<a name="10" href="#10">10</a> <em class="jxr_comment"> * with the License. You may obtain a copy of the License at</em>
+<a name="11" href="#11">11</a> <em class="jxr_comment"> *</em>
+<a name="12" href="#12">12</a> <em class="jxr_comment"> * <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="13" href="#13">13</a> <em class="jxr_comment"> *</em>
+<a name="14" href="#14">14</a> <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing,</em>
+<a name="15" href="#15">15</a> <em class="jxr_comment"> * software distributed under the License is distributed on an</em>
+<a name="16" href="#16">16</a> <em class="jxr_comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em>
+<a name="17" href="#17">17</a> <em class="jxr_comment"> * KIND, either express or implied. See the License for the</em>
+<a name="18" href="#18">18</a> <em class="jxr_comment"> * specific language governing permissions and limitations</em>
+<a name="19" href="#19">19</a> <em class="jxr_comment"> * under the License.</em>
+<a name="20" href="#20">20</a> <em class="jxr_comment"> */</em>
+<a name="21" href="#21">21</a>
+<a name="22" href="#22">22</a> <strong class="jxr_keyword">import</strong> org.apache.maven.artifact.Artifact;
+<a name="23" href="#23">23</a> <strong class="jxr_keyword">import</strong> org.apache.maven.model.Build;
+<a name="24" href="#24">24</a> <strong class="jxr_keyword">import</strong> org.apache.maven.model.Model;
+<a name="25" href="#25">25</a> <strong class="jxr_keyword">import</strong> org.apache.maven.model.Scm;
+<a name="26" href="#26">26</a> <strong class="jxr_keyword">import</strong> org.apache.maven.model.io.xpp3.MavenXpp3Reader;
+<a name="27" href="#27">27</a> <strong class="jxr_keyword">import</strong> org.apache.maven.plugin.testing.stubs.MavenProjectStub;
+<a name="28" href="#28">28</a>
+<a name="29" href="#29">29</a> <strong class="jxr_keyword">import</strong> java.io.File;
+<a name="30" href="#30">30</a> <strong class="jxr_keyword">import</strong> java.io.FileReader;
+<a name="31" href="#31">31</a> <strong class="jxr_keyword">import</strong> java.util.ArrayList;
+<a name="32" href="#32">32</a> <strong class="jxr_keyword">import</strong> java.util.List;
+<a name="33" href="#33">33</a>
+<a name="34" href="#34">34</a> <em class="jxr_javadoccomment">/**</em>
+<a name="35" href="#35">35</a> <em class="jxr_javadoccomment"> * @author <a href="<a href="mailto:oching@apache.org" target="alexandria_uri">mailto:oching@apache.org</a>">Maria Odea Ching</a></em>
+<a name="36" href="#36">36</a> <em class="jxr_javadoccomment"> * @version $Id$</em>
+<a name="37" href="#37">37</a> <em class="jxr_javadoccomment"> */</em>
+<a name="38" href="#38">38</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/maven/plugin/pmd/stubs/DefaultConfigurationMavenProjectStub.html">DefaultConfigurationMavenProjectStub</a>
+<a name="39" href="#39">39</a> <strong class="jxr_keyword">extends</strong> MavenProjectStub
+<a name="40" href="#40">40</a> {
+<a name="41" href="#41">41</a> <strong class="jxr_keyword">private</strong> List reportPlugins = <strong class="jxr_keyword">new</strong> ArrayList();
+<a name="42" href="#42">42</a>
+<a name="43" href="#43">43</a> <strong class="jxr_keyword">private</strong> Build build;
+<a name="44" href="#44">44</a>
+<a name="45" href="#45">45</a> <strong class="jxr_keyword">public</strong> <a href="../../../../../../org/apache/maven/plugin/pmd/stubs/DefaultConfigurationMavenProjectStub.html">DefaultConfigurationMavenProjectStub</a>()
+<a name="46" href="#46">46</a> {
+<a name="47" href="#47">47</a> MavenXpp3Reader pomReader = <strong class="jxr_keyword">new</strong> MavenXpp3Reader();
+<a name="48" href="#48">48</a> Model model = <strong class="jxr_keyword">null</strong>;
+<a name="49" href="#49">49</a>
+<a name="50" href="#50">50</a> <strong class="jxr_keyword">try</strong>
+<a name="51" href="#51">51</a> {
+<a name="52" href="#52">52</a> model = pomReader.read( <strong class="jxr_keyword">new</strong> FileReader( <strong class="jxr_keyword">new</strong> File( getBasedir() +
+<a name="53" href="#53">53</a> <span class="jxr_string">"/src/test/resources/unit/default-configuration/default-configuration-plugin-config.xml"</span> ) ) );
+<a name="54" href="#54">54</a> setModel( model );
+<a name="55" href="#55">55</a> }
+<a name="56" href="#56">56</a> <strong class="jxr_keyword">catch</strong> ( Exception e )
+<a name="57" href="#57">57</a> {
+<a name="58" href="#58">58</a>
+<a name="59" href="#59">59</a> }
+<a name="60" href="#60">60</a>
+<a name="61" href="#61">61</a> setGroupId( model.getGroupId() );
+<a name="62" href="#62">62</a> setArtifactId( model.getArtifactId() );
+<a name="63" href="#63">63</a> setVersion( model.getVersion() );
+<a name="64" href="#64">64</a> setName( model.getName() );
+<a name="65" href="#65">65</a> setUrl( model.getUrl() );
+<a name="66" href="#66">66</a> setPackaging( model.getPackaging() );
+<a name="67" href="#67">67</a>
+<a name="68" href="#68">68</a> Scm scm = <strong class="jxr_keyword">new</strong> Scm();
+<a name="69" href="#69">69</a> scm.setConnection( <span class="jxr_string">"scm:svn:http://svn.apache.org/maven/sample/trunk"</span> );
+<a name="70" href="#70">70</a> setScm( scm );
+<a name="71" href="#71">71</a>
+<a name="72" href="#72">72</a> Build build = <strong class="jxr_keyword">new</strong> Build();
+<a name="73" href="#73">73</a> build.setFinalName( model.getBuild().getFinalName() );
+<a name="74" href="#74">74</a> build.setDirectory( getBasedir() + <span class="jxr_string">"/target/test/unit/default-configuration/target"</span> );
+<a name="75" href="#75">75</a> build.setSourceDirectory( getBasedir() + <span class="jxr_string">"/src/test/resources/unit/default-configuration"</span> );
+<a name="76" href="#76">76</a> setBuild( build );
+<a name="77" href="#77">77</a>
+<a name="78" href="#78">78</a> setReportPlugins( model.getReporting().getPlugins() );
+<a name="79" href="#79">79</a>
+<a name="80" href="#80">80</a> String basedir = getBasedir().getAbsolutePath();
+<a name="81" href="#81">81</a> List compileSourceRoots = <strong class="jxr_keyword">new</strong> ArrayList();
+<a name="82" href="#82">82</a> compileSourceRoots.add( basedir + <span class="jxr_string">"/src/test/resources/unit/default-configuration/def/configuration"</span> );
+<a name="83" href="#83">83</a> setCompileSourceRoots( compileSourceRoots );
+<a name="84" href="#84">84</a>
+<a name="85" href="#85">85</a> File file = <strong class="jxr_keyword">new</strong> File(getBasedir().getAbsolutePath() + <span class="jxr_string">"/pom.xml"</span>);
+<a name="86" href="#86">86</a> setFile(file);
+<a name="87" href="#87">87</a>
+<a name="88" href="#88">88</a> Artifact artifact = <strong class="jxr_keyword">new</strong> <a href="../../../../../../org/apache/maven/plugin/pmd/stubs/PmdPluginArtifactStub.html">PmdPluginArtifactStub</a>( getGroupId(), getArtifactId(), getVersion(), getPackaging() );
+<a name="89" href="#89">89</a> artifact.setArtifactHandler( <strong class="jxr_keyword">new</strong> DefaultArtifactHandlerStub() );
+<a name="90" href="#90">90</a> setArtifact( artifact );
+<a name="91" href="#91">91</a>
+<a name="92" href="#92">92</a> }
+<a name="93" href="#93">93</a>
+<a name="94" href="#94">94</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setReportPlugins( List plugins )
+<a name="95" href="#95">95</a> {
+<a name="96" href="#96">96</a> <strong class="jxr_keyword">this</strong>.reportPlugins = plugins;
+<a name="97" href="#97">97</a> }
+<a name="98" href="#98">98</a>
+<a name="99" href="#99">99</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> {@inheritDoc} */</em>
+<a name="100" href="#100">100</a> <strong class="jxr_keyword">public</strong> List getReportPlugins()
+<a name="101" href="#101">101</a> {
+<a name="102" href="#102">102</a> <strong class="jxr_keyword">return</strong> reportPlugins;
+<a name="103" href="#103">103</a> }
+<a name="104" href="#104">104</a>
+<a name="105" href="#105">105</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> {@inheritDoc} */</em>
+<a name="106" href="#106">106</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setBuild( Build build )
+<a name="107" href="#107">107</a> {
+<a name="108" href="#108">108</a> <strong class="jxr_keyword">this</strong>.build = build;
+<a name="109" href="#109">109</a> }
+<a name="110" href="#110">110</a>
+<a name="111" href="#111">111</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> {@inheritDoc} */</em>
+<a name="112" href="#112">112</a> <strong class="jxr_keyword">public</strong> Build getBuild()
+<a name="113" href="#113">113</a> {
+<a name="114" href="#114">114</a> <strong class="jxr_keyword">return</strong> build;
+<a name="115" href="#115">115</a> }
+<a name="116" href="#116">116</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
Propchange: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/DefaultConfigurationMavenProjectStub.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/DefaultConfigurationMavenProjectStub.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/InvalidFormatMavenProjectStub.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/InvalidFormatMavenProjectStub.html (added)
+++ websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/InvalidFormatMavenProjectStub.html Tue May 8 15:14:44 2012
@@ -0,0 +1,113 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+<title>InvalidFormatMavenProjectStub xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a> <strong class="jxr_keyword">package</strong> org.apache.maven.plugin.pmd.stubs;
+<a name="2" href="#2">2</a>
+<a name="3" href="#3">3</a> <em class="jxr_comment">/*</em>
+<a name="4" href="#4">4</a> <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one</em>
+<a name="5" href="#5">5</a> <em class="jxr_comment"> * or more contributor license agreements. See the NOTICE file</em>
+<a name="6" href="#6">6</a> <em class="jxr_comment"> * distributed with this work for additional information</em>
+<a name="7" href="#7">7</a> <em class="jxr_comment"> * regarding copyright ownership. The ASF licenses this file</em>
+<a name="8" href="#8">8</a> <em class="jxr_comment"> * to you under the Apache License, Version 2.0 (the</em>
+<a name="9" href="#9">9</a> <em class="jxr_comment"> * "License"); you may not use this file except in compliance</em>
+<a name="10" href="#10">10</a> <em class="jxr_comment"> * with the License. You may obtain a copy of the License at</em>
+<a name="11" href="#11">11</a> <em class="jxr_comment"> *</em>
+<a name="12" href="#12">12</a> <em class="jxr_comment"> * <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="13" href="#13">13</a> <em class="jxr_comment"> *</em>
+<a name="14" href="#14">14</a> <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing,</em>
+<a name="15" href="#15">15</a> <em class="jxr_comment"> * software distributed under the License is distributed on an</em>
+<a name="16" href="#16">16</a> <em class="jxr_comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em>
+<a name="17" href="#17">17</a> <em class="jxr_comment"> * KIND, either express or implied. See the License for the</em>
+<a name="18" href="#18">18</a> <em class="jxr_comment"> * specific language governing permissions and limitations</em>
+<a name="19" href="#19">19</a> <em class="jxr_comment"> * under the License.</em>
+<a name="20" href="#20">20</a> <em class="jxr_comment"> */</em>
+<a name="21" href="#21">21</a>
+<a name="22" href="#22">22</a> <strong class="jxr_keyword">import</strong> org.apache.maven.artifact.Artifact;
+<a name="23" href="#23">23</a> <strong class="jxr_keyword">import</strong> org.apache.maven.model.Build;
+<a name="24" href="#24">24</a> <strong class="jxr_keyword">import</strong> org.apache.maven.model.Model;
+<a name="25" href="#25">25</a> <strong class="jxr_keyword">import</strong> org.apache.maven.model.Scm;
+<a name="26" href="#26">26</a> <strong class="jxr_keyword">import</strong> org.apache.maven.model.io.xpp3.MavenXpp3Reader;
+<a name="27" href="#27">27</a> <strong class="jxr_keyword">import</strong> org.apache.maven.plugin.testing.stubs.MavenProjectStub;
+<a name="28" href="#28">28</a>
+<a name="29" href="#29">29</a> <strong class="jxr_keyword">import</strong> java.io.File;
+<a name="30" href="#30">30</a> <strong class="jxr_keyword">import</strong> java.io.FileReader;
+<a name="31" href="#31">31</a> <strong class="jxr_keyword">import</strong> java.util.ArrayList;
+<a name="32" href="#32">32</a> <strong class="jxr_keyword">import</strong> java.util.List;
+<a name="33" href="#33">33</a>
+<a name="34" href="#34">34</a> <em class="jxr_javadoccomment">/**</em>
+<a name="35" href="#35">35</a> <em class="jxr_javadoccomment"> * @author <a href="<a href="mailto:oching@apache.org" target="alexandria_uri">mailto:oching@apache.org</a>">Maria Odea Ching</a></em>
+<a name="36" href="#36">36</a> <em class="jxr_javadoccomment"> * @version $Id$</em>
+<a name="37" href="#37">37</a> <em class="jxr_javadoccomment"> */</em>
+<a name="38" href="#38">38</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/maven/plugin/pmd/stubs/InvalidFormatMavenProjectStub.html">InvalidFormatMavenProjectStub</a>
+<a name="39" href="#39">39</a> <strong class="jxr_keyword">extends</strong> MavenProjectStub
+<a name="40" href="#40">40</a> {
+<a name="41" href="#41">41</a> <strong class="jxr_keyword">private</strong> Build build;
+<a name="42" href="#42">42</a>
+<a name="43" href="#43">43</a> <strong class="jxr_keyword">public</strong> <a href="../../../../../../org/apache/maven/plugin/pmd/stubs/InvalidFormatMavenProjectStub.html">InvalidFormatMavenProjectStub</a>()
+<a name="44" href="#44">44</a> {
+<a name="45" href="#45">45</a> MavenXpp3Reader pomReader = <strong class="jxr_keyword">new</strong> MavenXpp3Reader();
+<a name="46" href="#46">46</a> Model model = <strong class="jxr_keyword">null</strong>;
+<a name="47" href="#47">47</a>
+<a name="48" href="#48">48</a> <strong class="jxr_keyword">try</strong>
+<a name="49" href="#49">49</a> {
+<a name="50" href="#50">50</a> model = pomReader.read( <strong class="jxr_keyword">new</strong> FileReader( <strong class="jxr_keyword">new</strong> File(
+<a name="51" href="#51">51</a> getBasedir() + <span class="jxr_string">"/src/test/resources/unit/invalid-format/invalid-format-plugin-config.xml"</span> ) ) );
+<a name="52" href="#52">52</a> setModel( model );
+<a name="53" href="#53">53</a> }
+<a name="54" href="#54">54</a> <strong class="jxr_keyword">catch</strong> ( Exception e )
+<a name="55" href="#55">55</a> {
+<a name="56" href="#56">56</a>
+<a name="57" href="#57">57</a> }
+<a name="58" href="#58">58</a>
+<a name="59" href="#59">59</a> setGroupId( model.getGroupId() );
+<a name="60" href="#60">60</a> setArtifactId( model.getArtifactId() );
+<a name="61" href="#61">61</a> setVersion( model.getVersion() );
+<a name="62" href="#62">62</a> setName( model.getName() );
+<a name="63" href="#63">63</a> setUrl( model.getUrl() );
+<a name="64" href="#64">64</a> setPackaging( model.getPackaging() );
+<a name="65" href="#65">65</a>
+<a name="66" href="#66">66</a> Scm scm = <strong class="jxr_keyword">new</strong> Scm();
+<a name="67" href="#67">67</a> scm.setConnection( <span class="jxr_string">"scm:svn:http://svn.apache.org/maven/sample/trunk"</span> );
+<a name="68" href="#68">68</a> setScm( scm );
+<a name="69" href="#69">69</a>
+<a name="70" href="#70">70</a> Build build = <strong class="jxr_keyword">new</strong> Build();
+<a name="71" href="#71">71</a> build.setFinalName( model.getBuild().getFinalName() );
+<a name="72" href="#72">72</a> build.setDirectory( getBasedir() + <span class="jxr_string">"/target/test/unit/invalid-format/target"</span> );
+<a name="73" href="#73">73</a> build.setSourceDirectory( getBasedir() + <span class="jxr_string">"/src/test/resources/unit/invalid-format"</span> );
+<a name="74" href="#74">74</a> setBuild( build );
+<a name="75" href="#75">75</a>
+<a name="76" href="#76">76</a> String basedir = getBasedir().getAbsolutePath();
+<a name="77" href="#77">77</a> List compileSourceRoots = <strong class="jxr_keyword">new</strong> ArrayList();
+<a name="78" href="#78">78</a> compileSourceRoots.add( basedir + <span class="jxr_string">"/src/test/resources/unit/invalid-format/invalid/format"</span> );
+<a name="79" href="#79">79</a> setCompileSourceRoots( compileSourceRoots );
+<a name="80" href="#80">80</a>
+<a name="81" href="#81">81</a> Artifact artifact = <strong class="jxr_keyword">new</strong> <a href="../../../../../../org/apache/maven/plugin/pmd/stubs/PmdPluginArtifactStub.html">PmdPluginArtifactStub</a>( getGroupId(), getArtifactId(), getVersion(), getPackaging() );
+<a name="82" href="#82">82</a> artifact.setArtifactHandler( <strong class="jxr_keyword">new</strong> DefaultArtifactHandlerStub() );
+<a name="83" href="#83">83</a> setArtifact( artifact );
+<a name="84" href="#84">84</a>
+<a name="85" href="#85">85</a> setFile(<strong class="jxr_keyword">new</strong> File(getBasedir().getAbsolutePath() + <span class="jxr_string">"/pom.xml"</span>));
+<a name="86" href="#86">86</a>
+<a name="87" href="#87">87</a> }
+<a name="88" href="#88">88</a>
+<a name="89" href="#89">89</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> {@inheritDoc} */</em>
+<a name="90" href="#90">90</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setBuild( Build build )
+<a name="91" href="#91">91</a> {
+<a name="92" href="#92">92</a> <strong class="jxr_keyword">this</strong>.build = build;
+<a name="93" href="#93">93</a> }
+<a name="94" href="#94">94</a>
+<a name="95" href="#95">95</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> {@inheritDoc} */</em>
+<a name="96" href="#96">96</a> <strong class="jxr_keyword">public</strong> Build getBuild()
+<a name="97" href="#97">97</a> {
+<a name="98" href="#98">98</a> <strong class="jxr_keyword">return</strong> build;
+<a name="99" href="#99">99</a> }
+<a name="100" href="#100">100</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
Propchange: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/InvalidFormatMavenProjectStub.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/InvalidFormatMavenProjectStub.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/PmdPluginArtifactStub.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/PmdPluginArtifactStub.html (added)
+++ websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/PmdPluginArtifactStub.html Tue May 8 15:14:44 2012
@@ -0,0 +1,136 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+<title>PmdPluginArtifactStub xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a> <strong class="jxr_keyword">package</strong> org.apache.maven.plugin.pmd.stubs;
+<a name="2" href="#2">2</a>
+<a name="3" href="#3">3</a> <em class="jxr_comment">/*</em>
+<a name="4" href="#4">4</a> <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one</em>
+<a name="5" href="#5">5</a> <em class="jxr_comment"> * or more contributor license agreements. See the NOTICE file</em>
+<a name="6" href="#6">6</a> <em class="jxr_comment"> * distributed with this work for additional information</em>
+<a name="7" href="#7">7</a> <em class="jxr_comment"> * regarding copyright ownership. The ASF licenses this file</em>
+<a name="8" href="#8">8</a> <em class="jxr_comment"> * to you under the Apache License, Version 2.0 (the</em>
+<a name="9" href="#9">9</a> <em class="jxr_comment"> * "License"); you may not use this file except in compliance</em>
+<a name="10" href="#10">10</a> <em class="jxr_comment"> * with the License. You may obtain a copy of the License at</em>
+<a name="11" href="#11">11</a> <em class="jxr_comment"> *</em>
+<a name="12" href="#12">12</a> <em class="jxr_comment"> * <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="13" href="#13">13</a> <em class="jxr_comment"> *</em>
+<a name="14" href="#14">14</a> <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing,</em>
+<a name="15" href="#15">15</a> <em class="jxr_comment"> * software distributed under the License is distributed on an</em>
+<a name="16" href="#16">16</a> <em class="jxr_comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em>
+<a name="17" href="#17">17</a> <em class="jxr_comment"> * KIND, either express or implied. See the License for the</em>
+<a name="18" href="#18">18</a> <em class="jxr_comment"> * specific language governing permissions and limitations</em>
+<a name="19" href="#19">19</a> <em class="jxr_comment"> * under the License.</em>
+<a name="20" href="#20">20</a> <em class="jxr_comment"> */</em>
+<a name="21" href="#21">21</a>
+<a name="22" href="#22">22</a> <strong class="jxr_keyword">import</strong> org.apache.maven.artifact.handler.ArtifactHandler;
+<a name="23" href="#23">23</a> <strong class="jxr_keyword">import</strong> org.apache.maven.artifact.versioning.VersionRange;
+<a name="24" href="#24">24</a> <strong class="jxr_keyword">import</strong> org.apache.maven.plugin.testing.stubs.ArtifactStub;
+<a name="25" href="#25">25</a>
+<a name="26" href="#26">26</a> <em class="jxr_javadoccomment">/**</em>
+<a name="27" href="#27">27</a> <em class="jxr_javadoccomment"> * @author <a href="<a href="mailto:oching@apache.org" target="alexandria_uri">mailto:oching@apache.org</a>">Maria Odea Ching</a></em>
+<a name="28" href="#28">28</a> <em class="jxr_javadoccomment"> * @version $Id$</em>
+<a name="29" href="#29">29</a> <em class="jxr_javadoccomment"> */</em>
+<a name="30" href="#30">30</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/maven/plugin/pmd/stubs/PmdPluginArtifactStub.html">PmdPluginArtifactStub</a>
+<a name="31" href="#31">31</a> <strong class="jxr_keyword">extends</strong> ArtifactStub
+<a name="32" href="#32">32</a> {
+<a name="33" href="#33">33</a> <strong class="jxr_keyword">private</strong> String groupId;
+<a name="34" href="#34">34</a>
+<a name="35" href="#35">35</a> <strong class="jxr_keyword">private</strong> String artifactId;
+<a name="36" href="#36">36</a>
+<a name="37" href="#37">37</a> <strong class="jxr_keyword">private</strong> String version;
+<a name="38" href="#38">38</a>
+<a name="39" href="#39">39</a> <strong class="jxr_keyword">private</strong> String packaging;
+<a name="40" href="#40">40</a>
+<a name="41" href="#41">41</a> <strong class="jxr_keyword">private</strong> VersionRange versionRange;
+<a name="42" href="#42">42</a>
+<a name="43" href="#43">43</a> <strong class="jxr_keyword">private</strong> ArtifactHandler handler;
+<a name="44" href="#44">44</a>
+<a name="45" href="#45">45</a> <strong class="jxr_keyword">public</strong> <a href="../../../../../../org/apache/maven/plugin/pmd/stubs/PmdPluginArtifactStub.html">PmdPluginArtifactStub</a>( String groupId, String artifactId, String version, String packaging )
+<a name="46" href="#46">46</a> {
+<a name="47" href="#47">47</a> <strong class="jxr_keyword">this</strong>.groupId = groupId;
+<a name="48" href="#48">48</a> <strong class="jxr_keyword">this</strong>.artifactId = artifactId;
+<a name="49" href="#49">49</a> <strong class="jxr_keyword">this</strong>.version = version;
+<a name="50" href="#50">50</a> <strong class="jxr_keyword">this</strong>.packaging = packaging;
+<a name="51" href="#51">51</a> versionRange = VersionRange.createFromVersion( version );
+<a name="52" href="#52">52</a> }
+<a name="53" href="#53">53</a>
+<a name="54" href="#54">54</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> {@inheritDoc} */</em>
+<a name="55" href="#55">55</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setGroupId( String groupId )
+<a name="56" href="#56">56</a> {
+<a name="57" href="#57">57</a> <strong class="jxr_keyword">this</strong>.groupId = groupId;
+<a name="58" href="#58">58</a> }
+<a name="59" href="#59">59</a>
+<a name="60" href="#60">60</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> {@inheritDoc} */</em>
+<a name="61" href="#61">61</a> <strong class="jxr_keyword">public</strong> String getGroupId()
+<a name="62" href="#62">62</a> {
+<a name="63" href="#63">63</a> <strong class="jxr_keyword">return</strong> groupId;
+<a name="64" href="#64">64</a> }
+<a name="65" href="#65">65</a>
+<a name="66" href="#66">66</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> {@inheritDoc} */</em>
+<a name="67" href="#67">67</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setArtifactId( String artifactId )
+<a name="68" href="#68">68</a> {
+<a name="69" href="#69">69</a> <strong class="jxr_keyword">this</strong>.artifactId = artifactId;
+<a name="70" href="#70">70</a> }
+<a name="71" href="#71">71</a>
+<a name="72" href="#72">72</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> {@inheritDoc} */</em>
+<a name="73" href="#73">73</a> <strong class="jxr_keyword">public</strong> String getArtifactId()
+<a name="74" href="#74">74</a> {
+<a name="75" href="#75">75</a> <strong class="jxr_keyword">return</strong> artifactId;
+<a name="76" href="#76">76</a> }
+<a name="77" href="#77">77</a>
+<a name="78" href="#78">78</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> {@inheritDoc} */</em>
+<a name="79" href="#79">79</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setVersion( String version )
+<a name="80" href="#80">80</a> {
+<a name="81" href="#81">81</a> <strong class="jxr_keyword">this</strong>.version = version;
+<a name="82" href="#82">82</a> }
+<a name="83" href="#83">83</a>
+<a name="84" href="#84">84</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> {@inheritDoc} */</em>
+<a name="85" href="#85">85</a> <strong class="jxr_keyword">public</strong> String getVersion()
+<a name="86" href="#86">86</a> {
+<a name="87" href="#87">87</a> <strong class="jxr_keyword">return</strong> version;
+<a name="88" href="#88">88</a> }
+<a name="89" href="#89">89</a>
+<a name="90" href="#90">90</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setPackaging( String packaging )
+<a name="91" href="#91">91</a> {
+<a name="92" href="#92">92</a> <strong class="jxr_keyword">this</strong>.packaging = packaging;
+<a name="93" href="#93">93</a> }
+<a name="94" href="#94">94</a>
+<a name="95" href="#95">95</a> <strong class="jxr_keyword">public</strong> String getPackaging()
+<a name="96" href="#96">96</a> {
+<a name="97" href="#97">97</a> <strong class="jxr_keyword">return</strong> packaging;
+<a name="98" href="#98">98</a> }
+<a name="99" href="#99">99</a>
+<a name="100" href="#100">100</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> {@inheritDoc} */</em>
+<a name="101" href="#101">101</a> <strong class="jxr_keyword">public</strong> VersionRange getVersionRange()
+<a name="102" href="#102">102</a> {
+<a name="103" href="#103">103</a> <strong class="jxr_keyword">return</strong> versionRange;
+<a name="104" href="#104">104</a> }
+<a name="105" href="#105">105</a>
+<a name="106" href="#106">106</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> {@inheritDoc} */</em>
+<a name="107" href="#107">107</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setVersionRange( VersionRange versionRange )
+<a name="108" href="#108">108</a> {
+<a name="109" href="#109">109</a> <strong class="jxr_keyword">this</strong>.versionRange = versionRange;
+<a name="110" href="#110">110</a> }
+<a name="111" href="#111">111</a>
+<a name="112" href="#112">112</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> {@inheritDoc} */</em>
+<a name="113" href="#113">113</a> <strong class="jxr_keyword">public</strong> ArtifactHandler getArtifactHandler()
+<a name="114" href="#114">114</a> {
+<a name="115" href="#115">115</a> <strong class="jxr_keyword">return</strong> handler;
+<a name="116" href="#116">116</a> }
+<a name="117" href="#117">117</a>
+<a name="118" href="#118">118</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> {@inheritDoc} */</em>
+<a name="119" href="#119">119</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setArtifactHandler( ArtifactHandler handler )
+<a name="120" href="#120">120</a> {
+<a name="121" href="#121">121</a> <strong class="jxr_keyword">this</strong>.handler = handler;
+<a name="122" href="#122">122</a> }
+<a name="123" href="#123">123</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
Propchange: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/PmdPluginArtifactStub.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/PmdPluginArtifactStub.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/package-frame.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/package-frame.html (added)
+++ websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/package-frame.html Tue May 8 15:14:44 2012
@@ -0,0 +1,36 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+<html xml:lang="en" lang="en">
+ <head>
+ <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+ <title>Maven PMD Plugin 2.5 Reference Package org.apache.maven.plugin.pmd.stubs</title>
+ <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
+ </head>
+ <body>
+
+ <h3>
+ <a href="package-summary.html" target="classFrame">org.apache.maven.plugin.pmd.stubs</a>
+ </h3>
+
+ <h3>Classes</h3>
+
+ <ul>
+ <li>
+ <a href="CustomConfigurationMavenProjectStub.html" target="classFrame">CustomConfigurationMavenProjectStub</a>
+ </li>
+ <li>
+ <a href="DefaultArtifactHandlerStub.html" target="classFrame">DefaultArtifactHandlerStub</a>
+ </li>
+ <li>
+ <a href="DefaultConfigurationMavenProjectStub.html" target="classFrame">DefaultConfigurationMavenProjectStub</a>
+ </li>
+ <li>
+ <a href="InvalidFormatMavenProjectStub.html" target="classFrame">InvalidFormatMavenProjectStub</a>
+ </li>
+ <li>
+ <a href="PmdPluginArtifactStub.html" target="classFrame">PmdPluginArtifactStub</a>
+ </li>
+ </ul>
+
+ </body>
+</html>
\ No newline at end of file
Propchange: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/package-frame.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/package-frame.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/package-summary.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/package-summary.html (added)
+++ websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/package-summary.html Tue May 8 15:14:44 2012
@@ -0,0 +1,87 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+<html xml:lang="en" lang="en">
+ <head>
+ <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+ <title>Maven PMD Plugin 2.5 Reference Package org.apache.maven.plugin.pmd.stubs</title>
+ <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
+ </head>
+ <body>
+ <div class="overview">
+ <ul>
+ <li>
+ <a href="../../../../../../overview-summary.html">Overview</a>
+ </li>
+ <li class="selected">Package</li>
+ </ul>
+ </div>
+ <div class="framenoframe">
+ <ul>
+ <li>
+ <a href="../../../../../../index.html" target="_top">FRAMES</a>
+ </li>
+ <li>
+ <a href="package-summary.html" target="_top">NO FRAMES</a>
+ </li>
+ </ul>
+ </div>
+
+ <h2>Package org.apache.maven.plugin.pmd.stubs</h2>
+
+ <table class="summary">
+ <thead>
+ <tr>
+ <th>Class Summary</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>
+ <a href="CustomConfigurationMavenProjectStub.html" target="classFrame">CustomConfigurationMavenProjectStub</a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <a href="DefaultArtifactHandlerStub.html" target="classFrame">DefaultArtifactHandlerStub</a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <a href="DefaultConfigurationMavenProjectStub.html" target="classFrame">DefaultConfigurationMavenProjectStub</a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <a href="InvalidFormatMavenProjectStub.html" target="classFrame">InvalidFormatMavenProjectStub</a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <a href="PmdPluginArtifactStub.html" target="classFrame">PmdPluginArtifactStub</a>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+
+ <div class="overview">
+ <ul>
+ <li>
+ <a href="../../../../../../overview-summary.html">Overview</a>
+ </li>
+ <li class="selected">Package</li>
+ </ul>
+ </div>
+ <div class="framenoframe">
+ <ul>
+ <li>
+ <a href="../../../../../../index.html" target="_top">FRAMES</a>
+ </li>
+ <li>
+ <a href="package-summary.html" target="_top">NO FRAMES</a>
+ </li>
+ </ul>
+ </div>
+ <hr />
+ Copyright © 2005-2010 The Apache Software Foundation. All Rights Reserved.
+ </body>
+</html>
\ No newline at end of file
Propchange: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/package-summary.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/org/apache/maven/plugin/pmd/stubs/package-summary.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/overview-frame.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/overview-frame.html (added)
+++ websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/overview-frame.html Tue May 8 15:14:44 2012
@@ -0,0 +1,27 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+<html xml:lang="en" lang="en">
+ <head>
+ <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+ <title>Maven PMD Plugin 2.5 Reference</title>
+ <link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
+ </head>
+ <body>
+
+ <h3>
+ <a href="allclasses-frame.html" target="packageFrame">All Classes</a>
+ </h3>
+
+ <h3>Packages</h3>
+
+ <ul>
+ <li>
+ <a href="org/apache/maven/plugin/pmd/package-frame.html" target="packageFrame">org.apache.maven.plugin.pmd</a>
+ </li>
+ <li>
+ <a href="org/apache/maven/plugin/pmd/stubs/package-frame.html" target="packageFrame">org.apache.maven.plugin.pmd.stubs</a>
+ </li>
+ </ul>
+
+ </body>
+</html>
Propchange: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/overview-frame.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/overview-frame.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/overview-summary.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/overview-summary.html (added)
+++ websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/overview-summary.html Tue May 8 15:14:44 2012
@@ -0,0 +1,69 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+<html xml:lang="en" lang="en">
+ <head>
+ <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+ <title>Maven PMD Plugin 2.5 Reference</title>
+ <link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
+ </head>
+ <body>
+ <div class="overview">
+ <ul>
+ <li class="selected">Overview</li>
+ <li>Package</li>
+ </ul>
+ </div>
+ <div class="framenoframe">
+ <ul>
+ <li>
+ <a href="index.html" target="_top">FRAMES</a>
+ </li>
+ <li>
+ <a href="overview-summary.html" target="_top">NO FRAMES</a>
+ </li>
+ </ul>
+ </div>
+
+ <h2>Maven PMD Plugin 2.5 Reference</h2>
+
+ <table class="summary">
+ <thead>
+ <tr>
+ <th>Packages</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>
+ <a href="org/apache/maven/plugin/pmd/package-summary.html">org.apache.maven.plugin.pmd</a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <a href="org/apache/maven/plugin/pmd/stubs/package-summary.html">org.apache.maven.plugin.pmd.stubs</a>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+
+ <div class="overview">
+ <ul>
+ <li class="selected">Overview</li>
+ <li>Package</li>
+ </ul>
+ </div>
+ <div class="framenoframe">
+ <ul>
+ <li>
+ <a href="index.html" target="_top">FRAMES</a>
+ </li>
+ <li>
+ <a href="overview-summary.html" target="_top">NO FRAMES</a>
+ </li>
+ </ul>
+ </div>
+
+ <hr />
+ Copyright © 2005-2010 The Apache Software Foundation. All Rights Reserved.
+ </body>
+</html>
\ No newline at end of file
Propchange: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/overview-summary.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/overview-summary.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/stylesheet.css
==============================================================================
--- websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/stylesheet.css (added)
+++ websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/stylesheet.css Tue May 8 15:14:44 2012
@@ -0,0 +1,116 @@
+/* Javadoc style sheet */
+/* Define colors, fonts and other style attributes here to override the defaults */
+body {
+ background-color: #fff;
+ font-family: Arial, Helvetica, sans-serif;
+}
+
+a:link {
+ color: #00f;
+}
+a:visited {
+ color: #00a;
+}
+
+a:active, a:hover {
+ color: #f30 !important;
+}
+
+ul, li {
+ list-style-type:none;
+ margin:0;
+ padding:0;
+}
+
+table td {
+ padding: 3px;
+ border: 1px solid #000;
+}
+table {
+ width:100%;
+ border: 1px solid #000;
+ border-collapse: collapse;
+}
+
+div.overview {
+ background-color:#ddd;
+ padding: 4px 4px 4px 0;
+}
+div.overview li, div.framenoframe li {
+ display: inline;
+}
+div.framenoframe {
+ text-align: center;
+ font-size: x-small;
+}
+div.framenoframe li {
+ margin: 0 3px 0 3px;
+}
+div.overview li {
+ margin:3px 3px 0 3px;
+ padding: 4px;
+}
+li.selected {
+ background-color:#888;
+ color: #fff;
+ font-weight: bold;
+}
+
+table.summary {
+ margin-bottom: 20px;
+}
+table.summary td, table.summary th {
+ font-weight: bold;
+ text-align: left;
+ padding: 3px;
+}
+table.summary th {
+ background-color:#036;
+ color: #fff;
+}
+table.summary td {
+ background-color:#eee;
+ border: 1px solid black;
+}
+
+em {
+ color: #A00;
+}
+em.comment {
+ color: #390;
+}
+.string {
+ color: #009;
+}
+div#footer {
+ text-align:center;
+}
+#overview {
+ padding:2px;
+}
+
+hr {
+ height: 1px;
+ color: #000;
+}
+
+/* JXR style sheet */
+.jxr_comment
+{
+ color: #390;
+}
+
+.jxr_javadoccomment
+{
+ color: #A00;
+}
+
+.jxr_string
+{
+ color: #009;
+}
+
+.jxr_keyword
+{
+ color: #000;
+}
\ No newline at end of file
Propchange: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/stylesheet.css
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref-test/stylesheet.css
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref/allclasses-frame.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref/allclasses-frame.html (added)
+++ websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref/allclasses-frame.html Tue May 8 15:14:44 2012
@@ -0,0 +1,50 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+<html xml:lang="en" lang="en">
+ <head>
+ <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+ <title>All Classes</title>
+ <link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
+ </head>
+ <body>
+
+ <h3>All Classes</h3>
+
+ <ul>
+ <li>
+ <a href="org/apache/maven/plugin/pmd/AbstractPmdReport.html" target="classFrame">AbstractPmdReport</a>
+ </li>
+ <li>
+ <a href="org/apache/maven/plugin/pmd/AbstractPmdViolationCheckMojo.html" target="classFrame">AbstractPmdViolationCheckMojo</a>
+ </li>
+ <li>
+ <a href="org/apache/maven/plugin/pmd/CpdReport.html" target="classFrame">CpdReport</a>
+ </li>
+ <li>
+ <a href="org/apache/maven/plugin/pmd/CpdReportGenerator.html" target="classFrame">CpdReportGenerator</a>
+ </li>
+ <li>
+ <a href="org/apache/maven/plugin/pmd/CpdViolationCheckMojo.html" target="classFrame">CpdViolationCheckMojo</a>
+ </li>
+ <li>
+ <a href="org/apache/maven/plugin/pmd/PmdFileInfo.html" target="classFrame">PmdFileInfo</a>
+ </li>
+ <li>
+ <a href="org/apache/maven/plugin/pmd/PmdReport.html" target="classFrame">PmdReport</a>
+ </li>
+ <li>
+ <a href="org/apache/maven/plugin/pmd/PmdReportListener.html" target="classFrame">PmdReportListener</a>
+ </li>
+ <li>
+ <a href="org/apache/maven/plugin/pmd/PmdViolationCheckMojo.html" target="classFrame">PmdViolationCheckMojo</a>
+ </li>
+ <li>
+ <a href="org/apache/maven/plugin/pmd/PmdReport.html" target="classFrame">PmdXMLRenderer</a>
+ </li>
+ <li>
+ <a href="org/apache/maven/plugin/pmd/PmdReport.html" target="classFrame">ProcessingErrorRuleViolation</a>
+ </li>
+ </ul>
+
+ </body>
+ </html>
\ No newline at end of file
Propchange: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref/allclasses-frame.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: websites/production/maventest/content/plugins/maven-pmd-plugin-latest/xref/allclasses-frame.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision