Modified:
websites/production/maventest/content/plugins/maven-checkstyle-plugin-latest/xref/org/apache/maven/plugin/checkstyle/rss/DefaultCheckstyleRssGenerator.html
==============================================================================
---
websites/production/maventest/content/plugins/maven-checkstyle-plugin-latest/xref/org/apache/maven/plugin/checkstyle/rss/DefaultCheckstyleRssGenerator.html
(original)
+++
websites/production/maventest/content/plugins/maven-checkstyle-plugin-latest/xref/org/apache/maven/plugin/checkstyle/rss/DefaultCheckstyleRssGenerator.html
Tue May 8 13:56:19 2012
@@ -6,7 +6,7 @@
<link type="text/css" rel="stylesheet" href="../../../../../../stylesheet.css"
/>
</head>
<body>
-<div id="overview"><a
href="../../../../../../../../../../../../../site/apidocs/org/apache/maven/plugin/checkstyle/rss/DefaultCheckstyleRssGenerator.html">View
Javadoc</a></div><pre>
+<div id="overview"><a
href="../../../../../../../apidocs/org/apache/maven/plugin/checkstyle/rss/DefaultCheckstyleRssGenerator.html">View
Javadoc</a></div><pre>
<a name="1" href="#1">1</a> <strong class="jxr_keyword">package</strong>
org.apache.maven.plugin.checkstyle.rss;
<a name="2" href="#2">2</a>
@@ -40,93 +40,69 @@
<a name="30" href="#30">30</a> <strong class="jxr_keyword">import</strong>
org.apache.velocity.context.Context;
<a name="31" href="#31">31</a> <strong class="jxr_keyword">import</strong>
org.apache.velocity.exception.ResourceNotFoundException;
<a name="32" href="#32">32</a> <strong class="jxr_keyword">import</strong>
org.apache.velocity.exception.VelocityException;
-<a name="33" href="#33">33</a> <strong class="jxr_keyword">import</strong>
org.codehaus.plexus.component.repository.exception.ComponentLookupException;
-<a name="34" href="#34">34</a> <strong class="jxr_keyword">import</strong>
org.codehaus.plexus.personality.plexus.lifecycle.phase.ServiceLocator;
-<a name="35" href="#35">35</a> <strong class="jxr_keyword">import</strong>
org.codehaus.plexus.personality.plexus.lifecycle.phase.Serviceable;
-<a name="36" href="#36">36</a> <strong class="jxr_keyword">import</strong>
org.codehaus.plexus.util.StringUtils;
-<a name="37" href="#37">37</a> <strong class="jxr_keyword">import</strong>
org.codehaus.plexus.velocity.VelocityComponent;
-<a name="38" href="#38">38</a>
-<a name="39" href="#39">39</a> <strong class="jxr_keyword">import</strong>
com.puppycrawl.tools.checkstyle.api.SeverityLevel;
-<a name="40" href="#40">40</a>
-<a name="41" href="#41">41</a> <em class="jxr_javadoccomment">/**</em>
-<a name="42" href="#42">42</a> <em class="jxr_javadoccomment"> * @author
Olivier Lamy</em>
-<a name="43" href="#43">43</a> <em class="jxr_javadoccomment"> * @since
2.4</em>
-<a name="44" href="#44">44</a> <em class="jxr_javadoccomment"> *
@plexus.component
role="org.apache.maven.plugin.checkstyle.rss.CheckstyleRssGenerator"</em>
-<a name="45" href="#45">45</a> <em class="jxr_javadoccomment"> *
role-hint="default"</em>
-<a name="46" href="#46">46</a> <em class="jxr_javadoccomment"> */</em>
-<a name="47" href="#47">47</a> <strong class="jxr_keyword">public</strong>
<strong class="jxr_keyword">class</strong> <a
href="../../../../../../org/apache/maven/plugin/checkstyle/rss/DefaultCheckstyleRssGenerator.html">DefaultCheckstyleRssGenerator</a>
-<a name="48" href="#48">48</a> implements CheckstyleRssGenerator,
Serviceable
-<a name="49" href="#49">49</a> {
-<a name="50" href="#50">50</a>
-<a name="51" href="#51">51</a> <em class="jxr_javadoccomment">/**</em>
-<a name="52" href="#52">52</a> <em class="jxr_javadoccomment"> * Velocity
Component.</em>
-<a name="53" href="#53">53</a> <em class="jxr_javadoccomment"> */</em>
-<a name="54" href="#54">54</a> <strong
class="jxr_keyword">private</strong> VelocityComponent velocityComponent;
-<a name="55" href="#55">55</a>
-<a name="56" href="#56">56</a> <em class="jxr_javadoccomment">/**</em>
-<a name="57" href="#57">57</a> <em class="jxr_javadoccomment"> *
ServiceLocator used to lookup VelocityComponent</em>
-<a name="58" href="#58">58</a> <em class="jxr_javadoccomment"> * Fix for
MCHECKSTYLE-101 to avoid VelocityComponent beeing initialized when
skip=true</em>
-<a name="59" href="#59">59</a> <em class="jxr_javadoccomment"> */</em>
-<a name="60" href="#60">60</a> <strong
class="jxr_keyword">private</strong> ServiceLocator serviceLocator;
-<a name="61" href="#61">61</a>
-<a name="62" href="#62">62</a> <em class="jxr_javadoccomment">/**</em>
-<a name="63" href="#63">63</a> <em class="jxr_javadoccomment"> * @see
org.apache.maven.plugin.checkstyle.rss.CheckstyleRssGenerator#generateRSS(org.apache.maven.plugin.checkstyle.CheckstyleResults)</em>
-<a name="64" href="#64">64</a> <em class="jxr_javadoccomment"> */</em>
-<a name="65" href="#65">65</a> <strong
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong>
generateRSS( CheckstyleResults results, CheckstyleRssGeneratorRequest
checkstyleRssGeneratorRequest )
-<a name="66" href="#66">66</a> <strong
class="jxr_keyword">throws</strong> MavenReportException
-<a name="67" href="#67">67</a> {
-<a name="68" href="#68">68</a> <strong
class="jxr_keyword">if</strong> ( velocityComponent == <strong
class="jxr_keyword">null</strong> )
-<a name="69" href="#69">69</a> {
-<a name="70" href="#70">70</a> <strong
class="jxr_keyword">try</strong>
-<a name="71" href="#71">71</a> {
-<a name="72" href="#72">72</a> velocityComponent =
(VelocityComponent) serviceLocator.lookup( VelocityComponent.ROLE );
-<a name="73" href="#73">73</a> }
-<a name="74" href="#74">74</a> <strong
class="jxr_keyword">catch</strong> ( ComponentLookupException e )
-<a name="75" href="#75">75</a> {
-<a name="76" href="#76">76</a> <strong
class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong>
MavenReportException( <span class="jxr_string">"Failed to setup
Velocity"</span>, e );
-<a name="77" href="#77">77</a> }
-<a name="78" href="#78">78</a> }
-<a name="79" href="#79">79</a>
-<a name="80" href="#80">80</a> <a
href="../../../../../../org/apache/maven/plugin/checkstyle/VelocityTemplate.html">VelocityTemplate</a>
vtemplate = <strong class="jxr_keyword">new</strong> <a
href="../../../../../../org/apache/maven/plugin/checkstyle/VelocityTemplate.html">VelocityTemplate</a>(
velocityComponent, CheckstyleReport.PLUGIN_RESOURCES );
-<a name="81" href="#81">81</a> vtemplate.setLog(
checkstyleRssGeneratorRequest.getLog() );
-<a name="82" href="#82">82</a>
-<a name="83" href="#83">83</a> Context context = <strong
class="jxr_keyword">new</strong> VelocityContext();
-<a name="84" href="#84">84</a> context.put( <span
class="jxr_string">"results"</span>, results );
-<a name="85" href="#85">85</a> context.put( <span
class="jxr_string">"project"</span>,
checkstyleRssGeneratorRequest.getMavenProject() );
-<a name="86" href="#86">86</a> context.put( <span
class="jxr_string">"copyright"</span>,
checkstyleRssGeneratorRequest.getCopyright() );
-<a name="87" href="#87">87</a> context.put( <span
class="jxr_string">"levelInfo"</span>, SeverityLevel.INFO );
-<a name="88" href="#88">88</a> context.put( <span
class="jxr_string">"levelWarning"</span>, SeverityLevel.WARNING );
-<a name="89" href="#89">89</a> context.put( <span
class="jxr_string">"levelError"</span>, SeverityLevel.ERROR );
-<a name="90" href="#90">90</a> context.put( <span
class="jxr_string">"stringutils"</span>, <strong
class="jxr_keyword">new</strong> StringUtils() );
-<a name="91" href="#91">91</a>
-<a name="92" href="#92">92</a> <strong
class="jxr_keyword">try</strong>
-<a name="93" href="#93">93</a> {
-<a name="94" href="#94">94</a> vtemplate.generate(
checkstyleRssGeneratorRequest.getOutputDirectory().getPath() + <span
class="jxr_string">"/checkstyle.rss"</span>, <span
class="jxr_string">"checkstyle-rss.vm"</span>, context );
-<a name="95" href="#95">95</a> }
-<a name="96" href="#96">96</a> <strong
class="jxr_keyword">catch</strong> ( ResourceNotFoundException e )
-<a name="97" href="#97">97</a> {
-<a name="98" href="#98">98</a> <strong
class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong>
MavenReportException( <span class="jxr_string">"Unable to find
checkstyle-rss.vm resource."</span>, e );
-<a name="99" href="#99">99</a> }
-<a name="100" href="#100">100</a> <strong
class="jxr_keyword">catch</strong> ( MojoExecutionException e )
-<a name="101" href="#101">101</a> {
-<a name="102" href="#102">102</a> <strong
class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong>
MavenReportException( <span class="jxr_string">"Unable to generate
checkstyle.rss."</span>, e );
-<a name="103" href="#103">103</a> }
-<a name="104" href="#104">104</a> <strong
class="jxr_keyword">catch</strong> ( VelocityException e )
-<a name="105" href="#105">105</a> {
-<a name="106" href="#106">106</a> <strong
class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong>
MavenReportException( <span class="jxr_string">"Unable to generate
checkstyle.rss."</span>, e );
-<a name="107" href="#107">107</a> }
-<a name="108" href="#108">108</a> <strong
class="jxr_keyword">catch</strong> ( IOException e )
-<a name="109" href="#109">109</a> {
-<a name="110" href="#110">110</a> <strong
class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong>
MavenReportException( <span class="jxr_string">"Unable to generate
checkstyle.rss."</span>, e );
-<a name="111" href="#111">111</a> }
-<a name="112" href="#112">112</a> }
-<a name="113" href="#113">113</a>
-<a name="114" href="#114">114</a> <em
class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment">
{@inheritDoc} */</em>
-<a name="115" href="#115">115</a> <strong
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong>
service( ServiceLocator locator )
-<a name="116" href="#116">116</a> {
-<a name="117" href="#117">117</a> <strong
class="jxr_keyword">this</strong>.serviceLocator = locator;
-<a name="118" href="#118">118</a> }
-<a name="119" href="#119">119</a> }
+<a name="33" href="#33">33</a> <strong class="jxr_keyword">import</strong>
org.codehaus.plexus.util.StringUtils;
+<a name="34" href="#34">34</a> <strong class="jxr_keyword">import</strong>
org.codehaus.plexus.velocity.VelocityComponent;
+<a name="35" href="#35">35</a>
+<a name="36" href="#36">36</a> <strong class="jxr_keyword">import</strong>
com.puppycrawl.tools.checkstyle.api.SeverityLevel;
+<a name="37" href="#37">37</a>
+<a name="38" href="#38">38</a> <em class="jxr_javadoccomment">/**</em>
+<a name="39" href="#39">39</a> <em class="jxr_javadoccomment"> * @author
Olivier Lamy</em>
+<a name="40" href="#40">40</a> <em class="jxr_javadoccomment"> * @since
2.4</em>
+<a name="41" href="#41">41</a> <em class="jxr_javadoccomment"> *
@plexus.component
role="org.apache.maven.plugin.checkstyle.rss.CheckstyleRssGenerator"</em>
+<a name="42" href="#42">42</a> <em class="jxr_javadoccomment"> *
role-hint="default"</em>
+<a name="43" href="#43">43</a> <em class="jxr_javadoccomment"> */</em>
+<a name="44" href="#44">44</a> <strong class="jxr_keyword">public</strong>
<strong class="jxr_keyword">class</strong> <a
href="../../../../../../org/apache/maven/plugin/checkstyle/rss/DefaultCheckstyleRssGenerator.html">DefaultCheckstyleRssGenerator</a>
+<a name="45" href="#45">45</a> implements <a
href="../../../../../../org/apache/maven/plugin/checkstyle/rss/CheckstyleRssGenerator.html">CheckstyleRssGenerator</a>
+<a name="46" href="#46">46</a> {
+<a name="47" href="#47">47</a>
+<a name="48" href="#48">48</a> <em class="jxr_javadoccomment">/**</em>
+<a name="49" href="#49">49</a> <em class="jxr_javadoccomment"> *
@plexus.requirement</em>
+<a name="50" href="#50">50</a> <em class="jxr_javadoccomment"> */</em>
+<a name="51" href="#51">51</a> <strong
class="jxr_keyword">private</strong> VelocityComponent velocityComponent;
+<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>
+<a name="55" href="#55">55</a> <em class="jxr_javadoccomment"> * @see
org.apache.maven.plugin.checkstyle.rss.CheckstyleRssGenerator#generateRSS(org.apache.maven.plugin.checkstyle.CheckstyleResults)</em>
+<a name="56" href="#56">56</a> <em class="jxr_javadoccomment"> */</em>
+<a name="57" href="#57">57</a> <strong
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong>
generateRSS( CheckstyleResults results, CheckstyleRssGeneratorRequest
checkstyleRssGeneratorRequest )
+<a name="58" href="#58">58</a> <strong
class="jxr_keyword">throws</strong> MavenReportException
+<a name="59" href="#59">59</a> {
+<a name="60" href="#60">60</a>
+<a name="61" href="#61">61</a> <a
href="../../../../../../org/apache/maven/plugin/checkstyle/VelocityTemplate.html">VelocityTemplate</a>
vtemplate = <strong class="jxr_keyword">new</strong> <a
href="../../../../../../org/apache/maven/plugin/checkstyle/VelocityTemplate.html">VelocityTemplate</a>(
velocityComponent, CheckstyleReport.PLUGIN_RESOURCES );
+<a name="62" href="#62">62</a> vtemplate.setLog(
checkstyleRssGeneratorRequest.getLog() );
+<a name="63" href="#63">63</a>
+<a name="64" href="#64">64</a> Context context = <strong
class="jxr_keyword">new</strong> VelocityContext();
+<a name="65" href="#65">65</a> context.put( <span
class="jxr_string">"results"</span>, results );
+<a name="66" href="#66">66</a> context.put( <span
class="jxr_string">"project"</span>,
checkstyleRssGeneratorRequest.getMavenProject() );
+<a name="67" href="#67">67</a> context.put( <span
class="jxr_string">"copyright"</span>,
checkstyleRssGeneratorRequest.getCopyright() );
+<a name="68" href="#68">68</a> context.put( <span
class="jxr_string">"levelInfo"</span>, SeverityLevel.INFO );
+<a name="69" href="#69">69</a> context.put( <span
class="jxr_string">"levelWarning"</span>, SeverityLevel.WARNING );
+<a name="70" href="#70">70</a> context.put( <span
class="jxr_string">"levelError"</span>, SeverityLevel.ERROR );
+<a name="71" href="#71">71</a> context.put( <span
class="jxr_string">"stringutils"</span>, <strong
class="jxr_keyword">new</strong> StringUtils() );
+<a name="72" href="#72">72</a>
+<a name="73" href="#73">73</a> <strong
class="jxr_keyword">try</strong>
+<a name="74" href="#74">74</a> {
+<a name="75" href="#75">75</a> vtemplate.generate(
checkstyleRssGeneratorRequest.getOutputDirectory().getPath() + <span
class="jxr_string">"/checkstyle.rss"</span>, <span
class="jxr_string">"checkstyle-rss.vm"</span>, context );
+<a name="76" href="#76">76</a> }
+<a name="77" href="#77">77</a> <strong
class="jxr_keyword">catch</strong> ( ResourceNotFoundException e )
+<a name="78" href="#78">78</a> {
+<a name="79" href="#79">79</a> <strong
class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong>
MavenReportException( <span class="jxr_string">"Unable to find
checkstyle-rss.vm resource."</span>, e );
+<a name="80" href="#80">80</a> }
+<a name="81" href="#81">81</a> <strong
class="jxr_keyword">catch</strong> ( MojoExecutionException e )
+<a name="82" href="#82">82</a> {
+<a name="83" href="#83">83</a> <strong
class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong>
MavenReportException( <span class="jxr_string">"Unable to generate
checkstyle.rss."</span>, e );
+<a name="84" href="#84">84</a> }
+<a name="85" href="#85">85</a> <strong
class="jxr_keyword">catch</strong> ( VelocityException e )
+<a name="86" href="#86">86</a> {
+<a name="87" href="#87">87</a> <strong
class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong>
MavenReportException( <span class="jxr_string">"Unable to generate
checkstyle.rss."</span>, e );
+<a name="88" href="#88">88</a> }
+<a name="89" href="#89">89</a> <strong
class="jxr_keyword">catch</strong> ( IOException e )
+<a name="90" href="#90">90</a> {
+<a name="91" href="#91">91</a> <strong
class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong>
MavenReportException( <span class="jxr_string">"Unable to generate
checkstyle.rss."</span>, e );
+<a name="92" href="#92">92</a> }
+<a name="93" href="#93">93</a> }
+<a name="94" href="#94">94</a>
+<a name="95" href="#95">95</a> }
</pre>
<hr/><div id="footer">This page was automatically generated by <a
href="http://maven.apache.org/">Maven</a></div></body>
</html>
Modified:
websites/production/maventest/content/plugins/maven-checkstyle-plugin-latest/xref/org/apache/maven/plugin/checkstyle/rss/package-frame.html
==============================================================================
---
websites/production/maventest/content/plugins/maven-checkstyle-plugin-latest/xref/org/apache/maven/plugin/checkstyle/rss/package-frame.html
(original)
+++
websites/production/maventest/content/plugins/maven-checkstyle-plugin-latest/xref/org/apache/maven/plugin/checkstyle/rss/package-frame.html
Tue May 8 13:56:19 2012
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1" />
- <title>Maven Checkstyle Plugin 2.4 Reference Package
org.apache.maven.plugin.checkstyle.rss</title>
+ <title>Maven Checkstyle Plugin 2.5 Reference Package
org.apache.maven.plugin.checkstyle.rss</title>
<link rel="stylesheet" type="text/css"
href="../../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified:
websites/production/maventest/content/plugins/maven-checkstyle-plugin-latest/xref/org/apache/maven/plugin/checkstyle/rss/package-summary.html
==============================================================================
---
websites/production/maventest/content/plugins/maven-checkstyle-plugin-latest/xref/org/apache/maven/plugin/checkstyle/rss/package-summary.html
(original)
+++
websites/production/maventest/content/plugins/maven-checkstyle-plugin-latest/xref/org/apache/maven/plugin/checkstyle/rss/package-summary.html
Tue May 8 13:56:19 2012
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1" />
- <title>Maven Checkstyle Plugin 2.4 Reference Package
org.apache.maven.plugin.checkstyle.rss</title>
+ <title>Maven Checkstyle Plugin 2.5 Reference Package
org.apache.maven.plugin.checkstyle.rss</title>
<link rel="stylesheet" type="text/css"
href="../../../../../../stylesheet.css" title="style" />
</head>
<body>
@@ -72,6 +72,6 @@
</ul>
</div>
<hr />
- Copyright © 2005-2009 The Apache Software Foundation. All
Rights Reserved.
+ Copyright © 2005-2010 The Apache Software Foundation. All
Rights Reserved.
</body>
</html>
\ No newline at end of file
Modified:
websites/production/maventest/content/plugins/maven-checkstyle-plugin-latest/xref/overview-frame.html
==============================================================================
---
websites/production/maventest/content/plugins/maven-checkstyle-plugin-latest/xref/overview-frame.html
(original)
+++
websites/production/maventest/content/plugins/maven-checkstyle-plugin-latest/xref/overview-frame.html
Tue May 8 13:56:19 2012
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1" />
- <title>Maven Checkstyle Plugin 2.4 Reference</title>
+ <title>Maven Checkstyle Plugin 2.5 Reference</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css"
title="style" />
</head>
<body>
Modified:
websites/production/maventest/content/plugins/maven-checkstyle-plugin-latest/xref/overview-summary.html
==============================================================================
---
websites/production/maventest/content/plugins/maven-checkstyle-plugin-latest/xref/overview-summary.html
(original)
+++
websites/production/maventest/content/plugins/maven-checkstyle-plugin-latest/xref/overview-summary.html
Tue May 8 13:56:19 2012
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1" />
- <title>Maven Checkstyle Plugin 2.4 Reference</title>
+ <title>Maven Checkstyle Plugin 2.5 Reference</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css"
title="style" />
</head>
<body>
@@ -24,7 +24,7 @@
</ul>
</div>
- <h2>Maven Checkstyle Plugin 2.4 Reference</h2>
+ <h2>Maven Checkstyle Plugin 2.5 Reference</h2>
<table class="summary">
<thead>
@@ -64,6 +64,6 @@
</div>
<hr />
- Copyright © 2005-2009 The Apache Software Foundation. All
Rights Reserved.
+ Copyright © 2005-2010 The Apache Software Foundation. All
Rights Reserved.
</body>
</html>
\ No newline at end of file