maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From denn...@apache.org
Subject svn commit: r608171 - in /maven/plugins/trunk/maven-pmd-plugin/src: main/java/org/apache/maven/plugin/pmd/ main/resources/META-INF/ test/java/org/apache/maven/plugin/pmd/ test/java/org/apache/maven/plugin/pmd/stubs/ test/resources/unit/custom-configura...
Date Wed, 02 Jan 2008 18:25:48 GMT
Author: dennisl
Date: Wed Jan  2 10:25:45 2008
New Revision: 608171

URL: http://svn.apache.org/viewvc?rev=608171&view=rev
Log:
o Set eol style to Native.

Modified:
    maven/plugins/trunk/maven-pmd-plugin/src/main/java/org/apache/maven/plugin/pmd/PmdReportListener.java   (contents, props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/main/resources/META-INF/NOTICE.txt   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/java/org/apache/maven/plugin/pmd/CpdReportTest.java   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/java/org/apache/maven/plugin/pmd/CpdViolationCheckMojoTest.java   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/java/org/apache/maven/plugin/pmd/PmdReportTest.java   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/java/org/apache/maven/plugin/pmd/PmdViolationCheckMojoTest.java   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/java/org/apache/maven/plugin/pmd/stubs/CustomConfigurationMavenProjectStub.java   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/java/org/apache/maven/plugin/pmd/stubs/DefaultArtifactHandlerStub.java   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/java/org/apache/maven/plugin/pmd/stubs/DefaultConfigurationMavenProjectStub.java   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/java/org/apache/maven/plugin/pmd/stubs/InvalidFormatMavenProjectStub.java   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/java/org/apache/maven/plugin/pmd/stubs/PmdPluginArtifactStub.java   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/custom-configuration/cpd-custom-configuration-plugin-config.xml   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/custom-configuration/custom-configuration-plugin-config.xml   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/custom-configuration/custom/configuration/AnotherSample.java   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/custom-configuration/custom/configuration/App.java   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/custom-configuration/custom/configuration/AppSample.java   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/custom-configuration/custom/configuration/Sample.java   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/custom-configuration/pmd-check-exception-test-plugin-config.xml   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/custom-configuration/resources/rulesets/custom.xml   (contents, props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/cpd-default-configuration-plugin-config.xml   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/def/configuration/App.java   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/def/configuration/App2.java   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/def/configuration/AppSample.java   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/default-configuration-plugin-config.xml   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/jxr-files/xref/allclasses-frame.html   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/jxr-files/xref/def/configuration/App.html   (contents, props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/jxr-files/xref/def/configuration/AppSample.html   (contents, props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/jxr-files/xref/def/configuration/package-frame.html   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/jxr-files/xref/def/configuration/package-summary.html   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/jxr-files/xref/index.html   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/jxr-files/xref/overview-frame.html   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/jxr-files/xref/overview-summary.html   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/jxr-files/xref/stylesheet.css   (contents, props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/pmd-check-default-configuration-plugin-config.xml   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/pmd-check-failandwarnonpriority-plugin-config.xml   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/pmd-check-failonpriority-plugin-config.xml   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/pmd-check-notfailonviolation-plugin-config.xml   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/invalid-format/cpd-invalid-format-plugin-config.xml   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/invalid-format/invalid-format-plugin-config.xml   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/invalid-format/invalid/format/App.java   (props changed)
    maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/invalid-format/invalid/format/AppSample.java   (props changed)

Modified: maven/plugins/trunk/maven-pmd-plugin/src/main/java/org/apache/maven/plugin/pmd/PmdReportListener.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pmd-plugin/src/main/java/org/apache/maven/plugin/pmd/PmdReportListener.java?rev=608171&r1=608170&r2=608171&view=diff
==============================================================================
--- maven/plugins/trunk/maven-pmd-plugin/src/main/java/org/apache/maven/plugin/pmd/PmdReportListener.java (original)
+++ maven/plugins/trunk/maven-pmd-plugin/src/main/java/org/apache/maven/plugin/pmd/PmdReportListener.java Wed Jan  2 10:25:45 2008
@@ -1,303 +1,303 @@
-package org.apache.maven.plugin.pmd;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import java.io.File;
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.Comparator;
-import java.util.Iterator;
-import java.util.List;
-import java.util.ResourceBundle;
-
-import net.sourceforge.pmd.IRuleViolation;
-import net.sourceforge.pmd.PMD;
-import net.sourceforge.pmd.ReportListener;
-import net.sourceforge.pmd.stat.Metric;
-
-import org.codehaus.doxia.sink.Sink;
-import org.codehaus.plexus.util.StringUtils;
-
-/**
- * Handle events from PMD, converting them into Doxia events.
- *
- * @author Brett Porter
- * @version $Id: PmdReportListener.java,v 1.1.1.1 2005/02/17 07:16:22 brett Exp $
- */
-public class PmdReportListener
-    implements ReportListener
-{
-    private Sink sink;
-
-    private String currentFilename;
-
-    private boolean fileInitialized;
-
-    private ResourceBundle bundle;
-
-    private PmdFileInfo fileInfo;
-
-    private List violations = new ArrayList();
-
-    private boolean aggregate;
-    
-    // The number of erroneous files
-    private int fileCount = 0;
-
-    //private List metrics = new ArrayList();
-
-    public PmdReportListener( Sink sink, ResourceBundle bundle, boolean aggregate )
-    {
-        this.sink = sink;
-        this.bundle = bundle;
-        this.aggregate = aggregate;
-    }
-
-    private String getTitle()
-    {
-        return bundle.getString( "report.pmd.title" );
-    }
-
-    public void ruleViolationAdded( IRuleViolation ruleViolation )
-    {
-        if ( !fileInitialized )
-        {
-            sink.section2();
-            sink.sectionTitle2();
-            String title = currentFilename;
-            if ( aggregate ) 
-            {
-                title = fileInfo.getProject().getName() + " - " + currentFilename;
-            }
-            sink.text( title );
-            sink.sectionTitle2_();
-
-            sink.table();
-            sink.tableRow();
-            sink.tableHeaderCell();
-            sink.text( bundle.getString( "report.pmd.column.violation" ) );
-            sink.tableHeaderCell_();
-            sink.tableHeaderCell();
-            sink.text( bundle.getString( "report.pmd.column.line" ) );
-            sink.tableHeaderCell_();
-            sink.tableRow_();
-
-            fileInitialized = true;
-        }
-        violations.add( ruleViolation );
-    }
-
-    // When dealing with multiple rulesets, the violations will get out of order
-    // wrt their source line number.  We re-sort them before writing them to the report.
-    private void processViolations()
-    {
-        fileCount++;
-        Collections.sort( violations, new Comparator()
-        {
-            public int compare( Object o1, Object o2 )
-            {
-                return ( (IRuleViolation) o1 ).getBeginLine() 
-                    - ( (IRuleViolation) o2 ).getBeginLine();
-            }
-        } );
-
-        for ( Iterator it = violations.iterator(); it.hasNext(); )
-        {
-            IRuleViolation ruleViolation = (IRuleViolation) it.next();
-
-            sink.tableRow();
-            sink.tableCell();
-            sink.text( ruleViolation.getDescription() );
-            sink.tableCell_();
-            sink.tableCell();
-
-            int beginLine = ruleViolation.getBeginLine();
-            outputLineLink( beginLine );
-            int endLine = ruleViolation.getEndLine();
-            if ( endLine != beginLine )
-            {
-                sink.text( " - " );
-                outputLineLink( endLine );
-            }
-
-            sink.tableCell_();
-            sink.tableRow_();
-        }
-        violations.clear();
-    }
-
-    private void outputLineLink( int line )
-    {
-        String xrefLocation = fileInfo.getXrefLocation();
-        if ( xrefLocation != null )
-        {
-            sink.link( xrefLocation + "/" + currentFilename.replaceAll( "\\.java$", ".html" ) + "#" + line );
-        }
-        sink.text( String.valueOf( line ) );
-        if ( xrefLocation != null )
-        {
-            sink.link_();
-        }
-    }
-
-    public void metricAdded( Metric metric )
-    {
-//        if ( metric.getCount() != 0 )
-//        {
-//            // Skip metrics which have no data
-//            metrics.add( metric );
-//        }
-    }
-
-    public void beginDocument()
-    {
-        sink.head();
-        sink.title();
-        sink.text( getTitle() );
-        sink.title_();
-        sink.head_();
-
-        sink.body();
-
-        sink.section1();
-        sink.sectionTitle1();
-        sink.text( getTitle() );
-        sink.sectionTitle1_();
-
-        sink.paragraph();
-        sink.text( bundle.getString( "report.pmd.pmdlink" ) + " " );
-        sink.link( "http://pmd.sourceforge.net/" );
-        sink.text( "PMD" );
-        sink.link_();
-        sink.text( " " + PMD.VERSION + "." );
-        sink.paragraph_();
-
-        // TODO overall summary
-
-        sink.section1_();
-        sink.section1();
-        sink.sectionTitle1();
-        sink.text( bundle.getString( "report.pmd.files" ) );
-        sink.sectionTitle1_();
-
-        // TODO files summary
-    }
-
-    public void beginFile( File file, PmdFileInfo finfo )
-    {
-        fileInfo = finfo;
-        currentFilename = StringUtils.substring( file.getAbsolutePath(),
-                                                 finfo.getSourceDirectory().getAbsolutePath().length() + 1 );
-        currentFilename = StringUtils.replace( currentFilename, "\\", "/" );
-        fileInitialized = false;
-    }
-
-    public void endFile( File file )
-    {
-        if ( fileInitialized )
-        {
-            processViolations();
-            sink.table_();
-            sink.section2_();
-        }
-    }
-
-    /*
-    private void processMetrics()
-    {
-        if ( metrics.size() == 0 )
-        {
-            return;
-        }
-
-        sink.section1();
-        sink.sectionTitle1();
-        sink.text( "Metrics" );
-        sink.sectionTitle1_();
-
-        sink.table();
-        sink.tableRow();
-        sink.tableHeaderCell();
-        sink.text( "Name" );
-        sink.tableHeaderCell_();
-        sink.tableHeaderCell();
-        sink.text( "Count" );
-        sink.tableHeaderCell_();
-        sink.tableHeaderCell();
-        sink.text( "High" );
-        sink.tableHeaderCell_();
-        sink.tableHeaderCell();
-        sink.text( "Low" );
-        sink.tableHeaderCell_();
-        sink.tableHeaderCell();
-        sink.text( "Average" );
-        sink.tableHeaderCell_();
-        sink.tableRow_();
-
-        for ( Iterator iter = metrics.iterator(); iter.hasNext(); )
-        {
-            Metric met = (Metric) iter.next();
-            sink.tableRow();
-            sink.tableCell();
-            sink.text( met.getMetricName() );
-            sink.tableCell_();
-            sink.tableCell();
-            sink.text( String.valueOf( met.getCount() ) );
-            sink.tableCell_();
-            sink.tableCell();
-            sink.text( String.valueOf( met.getHighValue() ) );
-            sink.tableCell_();
-            sink.tableCell();
-            sink.text( String.valueOf( met.getLowValue() ) );
-            sink.tableCell_();
-            sink.tableCell();
-            sink.text( String.valueOf( met.getAverage() ) );
-            sink.tableCell_();
-            sink.tableRow_();
-        }
-        sink.table_();
-        sink.section1_();
-    }
-    */
-
-    public void endDocument()
-    {
-        if ( fileCount == 0 )
-        {
-            sink.text( "PMD found no problems in your source code." );
-        }
-
-        sink.section1_();
-
-        // The Metrics report useless with the current PMD metrics impl.
-        // For instance, run the coupling ruleset and you will get a boatload
-        // of excessive imports metrics, none of which is really any use.
-        // TODO Determine if we are going to just ignore metrics.
-
-        // processMetrics();
-
-        sink.body_();
-
-        sink.flush();
-
-        sink.close();
-    }
-
-}
+package org.apache.maven.plugin.pmd;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import java.io.File;
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.Comparator;
+import java.util.Iterator;
+import java.util.List;
+import java.util.ResourceBundle;
+
+import net.sourceforge.pmd.IRuleViolation;
+import net.sourceforge.pmd.PMD;
+import net.sourceforge.pmd.ReportListener;
+import net.sourceforge.pmd.stat.Metric;
+
+import org.codehaus.doxia.sink.Sink;
+import org.codehaus.plexus.util.StringUtils;
+
+/**
+ * Handle events from PMD, converting them into Doxia events.
+ *
+ * @author Brett Porter
+ * @version $Id: PmdReportListener.java,v 1.1.1.1 2005/02/17 07:16:22 brett Exp $
+ */
+public class PmdReportListener
+    implements ReportListener
+{
+    private Sink sink;
+
+    private String currentFilename;
+
+    private boolean fileInitialized;
+
+    private ResourceBundle bundle;
+
+    private PmdFileInfo fileInfo;
+
+    private List violations = new ArrayList();
+
+    private boolean aggregate;
+    
+    // The number of erroneous files
+    private int fileCount = 0;
+
+    //private List metrics = new ArrayList();
+
+    public PmdReportListener( Sink sink, ResourceBundle bundle, boolean aggregate )
+    {
+        this.sink = sink;
+        this.bundle = bundle;
+        this.aggregate = aggregate;
+    }
+
+    private String getTitle()
+    {
+        return bundle.getString( "report.pmd.title" );
+    }
+
+    public void ruleViolationAdded( IRuleViolation ruleViolation )
+    {
+        if ( !fileInitialized )
+        {
+            sink.section2();
+            sink.sectionTitle2();
+            String title = currentFilename;
+            if ( aggregate ) 
+            {
+                title = fileInfo.getProject().getName() + " - " + currentFilename;
+            }
+            sink.text( title );
+            sink.sectionTitle2_();
+
+            sink.table();
+            sink.tableRow();
+            sink.tableHeaderCell();
+            sink.text( bundle.getString( "report.pmd.column.violation" ) );
+            sink.tableHeaderCell_();
+            sink.tableHeaderCell();
+            sink.text( bundle.getString( "report.pmd.column.line" ) );
+            sink.tableHeaderCell_();
+            sink.tableRow_();
+
+            fileInitialized = true;
+        }
+        violations.add( ruleViolation );
+    }
+
+    // When dealing with multiple rulesets, the violations will get out of order
+    // wrt their source line number.  We re-sort them before writing them to the report.
+    private void processViolations()
+    {
+        fileCount++;
+        Collections.sort( violations, new Comparator()
+        {
+            public int compare( Object o1, Object o2 )
+            {
+                return ( (IRuleViolation) o1 ).getBeginLine() 
+                    - ( (IRuleViolation) o2 ).getBeginLine();
+            }
+        } );
+
+        for ( Iterator it = violations.iterator(); it.hasNext(); )
+        {
+            IRuleViolation ruleViolation = (IRuleViolation) it.next();
+
+            sink.tableRow();
+            sink.tableCell();
+            sink.text( ruleViolation.getDescription() );
+            sink.tableCell_();
+            sink.tableCell();
+
+            int beginLine = ruleViolation.getBeginLine();
+            outputLineLink( beginLine );
+            int endLine = ruleViolation.getEndLine();
+            if ( endLine != beginLine )
+            {
+                sink.text( " - " );
+                outputLineLink( endLine );
+            }
+
+            sink.tableCell_();
+            sink.tableRow_();
+        }
+        violations.clear();
+    }
+
+    private void outputLineLink( int line )
+    {
+        String xrefLocation = fileInfo.getXrefLocation();
+        if ( xrefLocation != null )
+        {
+            sink.link( xrefLocation + "/" + currentFilename.replaceAll( "\\.java$", ".html" ) + "#" + line );
+        }
+        sink.text( String.valueOf( line ) );
+        if ( xrefLocation != null )
+        {
+            sink.link_();
+        }
+    }
+
+    public void metricAdded( Metric metric )
+    {
+//        if ( metric.getCount() != 0 )
+//        {
+//            // Skip metrics which have no data
+//            metrics.add( metric );
+//        }
+    }
+
+    public void beginDocument()
+    {
+        sink.head();
+        sink.title();
+        sink.text( getTitle() );
+        sink.title_();
+        sink.head_();
+
+        sink.body();
+
+        sink.section1();
+        sink.sectionTitle1();
+        sink.text( getTitle() );
+        sink.sectionTitle1_();
+
+        sink.paragraph();
+        sink.text( bundle.getString( "report.pmd.pmdlink" ) + " " );
+        sink.link( "http://pmd.sourceforge.net/" );
+        sink.text( "PMD" );
+        sink.link_();
+        sink.text( " " + PMD.VERSION + "." );
+        sink.paragraph_();
+
+        // TODO overall summary
+
+        sink.section1_();
+        sink.section1();
+        sink.sectionTitle1();
+        sink.text( bundle.getString( "report.pmd.files" ) );
+        sink.sectionTitle1_();
+
+        // TODO files summary
+    }
+
+    public void beginFile( File file, PmdFileInfo finfo )
+    {
+        fileInfo = finfo;
+        currentFilename = StringUtils.substring( file.getAbsolutePath(),
+                                                 finfo.getSourceDirectory().getAbsolutePath().length() + 1 );
+        currentFilename = StringUtils.replace( currentFilename, "\\", "/" );
+        fileInitialized = false;
+    }
+
+    public void endFile( File file )
+    {
+        if ( fileInitialized )
+        {
+            processViolations();
+            sink.table_();
+            sink.section2_();
+        }
+    }
+
+    /*
+    private void processMetrics()
+    {
+        if ( metrics.size() == 0 )
+        {
+            return;
+        }
+
+        sink.section1();
+        sink.sectionTitle1();
+        sink.text( "Metrics" );
+        sink.sectionTitle1_();
+
+        sink.table();
+        sink.tableRow();
+        sink.tableHeaderCell();
+        sink.text( "Name" );
+        sink.tableHeaderCell_();
+        sink.tableHeaderCell();
+        sink.text( "Count" );
+        sink.tableHeaderCell_();
+        sink.tableHeaderCell();
+        sink.text( "High" );
+        sink.tableHeaderCell_();
+        sink.tableHeaderCell();
+        sink.text( "Low" );
+        sink.tableHeaderCell_();
+        sink.tableHeaderCell();
+        sink.text( "Average" );
+        sink.tableHeaderCell_();
+        sink.tableRow_();
+
+        for ( Iterator iter = metrics.iterator(); iter.hasNext(); )
+        {
+            Metric met = (Metric) iter.next();
+            sink.tableRow();
+            sink.tableCell();
+            sink.text( met.getMetricName() );
+            sink.tableCell_();
+            sink.tableCell();
+            sink.text( String.valueOf( met.getCount() ) );
+            sink.tableCell_();
+            sink.tableCell();
+            sink.text( String.valueOf( met.getHighValue() ) );
+            sink.tableCell_();
+            sink.tableCell();
+            sink.text( String.valueOf( met.getLowValue() ) );
+            sink.tableCell_();
+            sink.tableCell();
+            sink.text( String.valueOf( met.getAverage() ) );
+            sink.tableCell_();
+            sink.tableRow_();
+        }
+        sink.table_();
+        sink.section1_();
+    }
+    */
+
+    public void endDocument()
+    {
+        if ( fileCount == 0 )
+        {
+            sink.text( "PMD found no problems in your source code." );
+        }
+
+        sink.section1_();
+
+        // The Metrics report useless with the current PMD metrics impl.
+        // For instance, run the coupling ruleset and you will get a boatload
+        // of excessive imports metrics, none of which is really any use.
+        // TODO Determine if we are going to just ignore metrics.
+
+        // processMetrics();
+
+        sink.body_();
+
+        sink.flush();
+
+        sink.close();
+    }
+
+}

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/main/java/org/apache/maven/plugin/pmd/PmdReportListener.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/main/resources/META-INF/NOTICE.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/java/org/apache/maven/plugin/pmd/CpdReportTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/java/org/apache/maven/plugin/pmd/CpdViolationCheckMojoTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/java/org/apache/maven/plugin/pmd/PmdReportTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/java/org/apache/maven/plugin/pmd/PmdViolationCheckMojoTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/java/org/apache/maven/plugin/pmd/stubs/CustomConfigurationMavenProjectStub.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/java/org/apache/maven/plugin/pmd/stubs/DefaultArtifactHandlerStub.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/java/org/apache/maven/plugin/pmd/stubs/DefaultConfigurationMavenProjectStub.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/java/org/apache/maven/plugin/pmd/stubs/InvalidFormatMavenProjectStub.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/java/org/apache/maven/plugin/pmd/stubs/PmdPluginArtifactStub.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/custom-configuration/cpd-custom-configuration-plugin-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/custom-configuration/custom-configuration-plugin-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/custom-configuration/custom/configuration/AnotherSample.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/custom-configuration/custom/configuration/App.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/custom-configuration/custom/configuration/AppSample.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/custom-configuration/custom/configuration/Sample.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/custom-configuration/pmd-check-exception-test-plugin-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/custom-configuration/resources/rulesets/custom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/custom-configuration/resources/rulesets/custom.xml?rev=608171&r1=608170&r2=608171&view=diff
==============================================================================
--- maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/custom-configuration/resources/rulesets/custom.xml (original)
+++ maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/custom-configuration/resources/rulesets/custom.xml Wed Jan  2 10:25:45 2008
@@ -1,35 +1,35 @@
-<?xml version="1.0"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<ruleset name="customRuleset"
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
-  <description>Just the braces rules I like</description>
-  <rule ref="rulesets/braces.xml">
-    <exclude name="WhileLoopsMustUseBracesRule"/>
-    <exclude name="IfElseStmtsMustUseBracesRule"/>
-  </rule>   
-  
-  <description>Lowest priority for unnecessary constructor</description>
-  <rule ref="rulesets/controversial.xml/UnnecessaryConstructor" >
-	<priority>5</priority>
-  </rule>
-  
-</ruleset>
+<?xml version="1.0"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<ruleset name="customRuleset"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
+  <description>Just the braces rules I like</description>
+  <rule ref="rulesets/braces.xml">
+    <exclude name="WhileLoopsMustUseBracesRule"/>
+    <exclude name="IfElseStmtsMustUseBracesRule"/>
+  </rule>   
+  
+  <description>Lowest priority for unnecessary constructor</description>
+  <rule ref="rulesets/controversial.xml/UnnecessaryConstructor" >
+	<priority>5</priority>
+  </rule>
+  
+</ruleset>

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/custom-configuration/resources/rulesets/custom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/cpd-default-configuration-plugin-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/def/configuration/App.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/def/configuration/App2.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/def/configuration/AppSample.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/default-configuration-plugin-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/jxr-files/xref/allclasses-frame.html
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/jxr-files/xref/def/configuration/App.html
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/jxr-files/xref/def/configuration/App.html?rev=608171&r1=608170&r2=608171&view=diff
==============================================================================
--- maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/jxr-files/xref/def/configuration/App.html (original)
+++ maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/jxr-files/xref/def/configuration/App.html Wed Jan  2 10:25:45 2008
@@ -1,86 +1,86 @@
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<!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_US" lang="en_US">
-<head>
-<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>App xref</title>
-<link type="text/css" rel="stylesheet" href="../../stylesheet.css" />
-</head>
-<body>
-<div id="overview"><a href="../../../apidocs/def/configuration/App.html">View Javadoc</a></div><pre>
-
-<a name="1" href="#1">1</a>   <strong>package</strong> def.configuration;
-<a name="2" href="#2">2</a>   
-<a name="3" href="#3">3</a>   <em>/**</em>
-<a name="4" href="#4">4</a>   <em> * This is a sample class used for testing</em>
-<a name="5" href="#5">5</a>   <em> *</em>
-<a name="6" href="#6">6</a>   <em> * @author Maria Odea Ching</em>
-<a name="7" href="#7">7</a>   <em> */</em>
-<a name="8" href="#8">8</a>   <strong>public</strong> <strong>class</strong> <a href="../../def/configuration/App.html">App</a>
-<a name="9" href="#9">9</a>   {
-<a name="10" href="#10">10</a>      <strong>protected</strong> String unusedVar1;
-<a name="11" href="#11">11</a>  
-<a name="12" href="#12">12</a>      <strong>private</strong> <strong>int</strong> unusedVar2;
-<a name="13" href="#13">13</a>  
-<a name="14" href="#14">14</a>      String unusedvar3;
-<a name="15" href="#15">15</a>  
-<a name="16" href="#16">16</a>      <em>/**</em>
-<a name="17" href="#17">17</a>  <em>     * The main method</em>
-<a name="18" href="#18">18</a>  <em>     *</em>
-<a name="19" href="#19">19</a>  <em>     * @param args  an array of strings that contains the arguments</em>
-<a name="20" href="#20">20</a>  <em>     */</em>
-<a name="21" href="#21">21</a>      <strong>public</strong> <strong>static</strong> <strong>void</strong> main( String[] args )
-<a name="22" href="#22">22</a>      {
-<a name="23" href="#23">23</a>          System.out.println( <span class="string">"Sample Application."</span> );
-<a name="24" href="#24">24</a>      }
-<a name="25" href="#25">25</a>  
-<a name="26" href="#26">26</a>      <em>/**</em>
-<a name="27" href="#27">27</a>  <em>     * Sample method</em>
-<a name="28" href="#28">28</a>  <em>     *</em>
-<a name="29" href="#29">29</a>  <em>     * @param str   the value to be displayed</em>
-<a name="30" href="#30">30</a>  <em>     */</em>
-<a name="31" href="#31">31</a>      <strong>protected</strong> <strong>void</strong> sampleMethod( String str )
-<a name="32" href="#32">32</a>      {
-<a name="33" href="#33">33</a>          <strong>try</strong>
-<a name="34" href="#34">34</a>          {
-<a name="35" href="#35">35</a>              System.out.println( str );
-<a name="36" href="#36">36</a>          }
-<a name="37" href="#37">37</a>          <strong>catch</strong> ( Exception e )
-<a name="38" href="#38">38</a>          {
-<a name="39" href="#39">39</a>  
-<a name="40" href="#40">40</a>          }
-<a name="41" href="#41">41</a>      }
-<a name="42" href="#42">42</a>  
-<a name="43" href="#43">43</a>      <em>/**</em>
-<a name="44" href="#44">44</a>  <em>     * Test method</em>
-<a name="45" href="#45">45</a>  <em>     *</em>
-<a name="46" href="#46">46</a>  <em>     * @param unusedParam1</em>
-<a name="47" href="#47">47</a>  <em>     * @param unusedParam2</em>
-<a name="48" href="#48">48</a>  <em>     */</em>
-<a name="49" href="#49">49</a>      <strong>public</strong> <strong>void</strong> testMethod( String unusedParam1, String unusedParam2)
-<a name="50" href="#50">50</a>      {
-<a name="51" href="#51">51</a>          System.out.println( <span class="string">"Test method"</span> );
-<a name="52" href="#52">52</a>      }
-<a name="53" href="#53">53</a>  
-<a name="54" href="#54">54</a>  }
-</pre>
-<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
-</html>
-
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<!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_US" lang="en_US">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>App xref</title>
+<link type="text/css" rel="stylesheet" href="../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../apidocs/def/configuration/App.html">View Javadoc</a></div><pre>
+
+<a name="1" href="#1">1</a>   <strong>package</strong> def.configuration;
+<a name="2" href="#2">2</a>   
+<a name="3" href="#3">3</a>   <em>/**</em>
+<a name="4" href="#4">4</a>   <em> * This is a sample class used for testing</em>
+<a name="5" href="#5">5</a>   <em> *</em>
+<a name="6" href="#6">6</a>   <em> * @author Maria Odea Ching</em>
+<a name="7" href="#7">7</a>   <em> */</em>
+<a name="8" href="#8">8</a>   <strong>public</strong> <strong>class</strong> <a href="../../def/configuration/App.html">App</a>
+<a name="9" href="#9">9</a>   {
+<a name="10" href="#10">10</a>      <strong>protected</strong> String unusedVar1;
+<a name="11" href="#11">11</a>  
+<a name="12" href="#12">12</a>      <strong>private</strong> <strong>int</strong> unusedVar2;
+<a name="13" href="#13">13</a>  
+<a name="14" href="#14">14</a>      String unusedvar3;
+<a name="15" href="#15">15</a>  
+<a name="16" href="#16">16</a>      <em>/**</em>
+<a name="17" href="#17">17</a>  <em>     * The main method</em>
+<a name="18" href="#18">18</a>  <em>     *</em>
+<a name="19" href="#19">19</a>  <em>     * @param args  an array of strings that contains the arguments</em>
+<a name="20" href="#20">20</a>  <em>     */</em>
+<a name="21" href="#21">21</a>      <strong>public</strong> <strong>static</strong> <strong>void</strong> main( String[] args )
+<a name="22" href="#22">22</a>      {
+<a name="23" href="#23">23</a>          System.out.println( <span class="string">"Sample Application."</span> );
+<a name="24" href="#24">24</a>      }
+<a name="25" href="#25">25</a>  
+<a name="26" href="#26">26</a>      <em>/**</em>
+<a name="27" href="#27">27</a>  <em>     * Sample method</em>
+<a name="28" href="#28">28</a>  <em>     *</em>
+<a name="29" href="#29">29</a>  <em>     * @param str   the value to be displayed</em>
+<a name="30" href="#30">30</a>  <em>     */</em>
+<a name="31" href="#31">31</a>      <strong>protected</strong> <strong>void</strong> sampleMethod( String str )
+<a name="32" href="#32">32</a>      {
+<a name="33" href="#33">33</a>          <strong>try</strong>
+<a name="34" href="#34">34</a>          {
+<a name="35" href="#35">35</a>              System.out.println( str );
+<a name="36" href="#36">36</a>          }
+<a name="37" href="#37">37</a>          <strong>catch</strong> ( Exception e )
+<a name="38" href="#38">38</a>          {
+<a name="39" href="#39">39</a>  
+<a name="40" href="#40">40</a>          }
+<a name="41" href="#41">41</a>      }
+<a name="42" href="#42">42</a>  
+<a name="43" href="#43">43</a>      <em>/**</em>
+<a name="44" href="#44">44</a>  <em>     * Test method</em>
+<a name="45" href="#45">45</a>  <em>     *</em>
+<a name="46" href="#46">46</a>  <em>     * @param unusedParam1</em>
+<a name="47" href="#47">47</a>  <em>     * @param unusedParam2</em>
+<a name="48" href="#48">48</a>  <em>     */</em>
+<a name="49" href="#49">49</a>      <strong>public</strong> <strong>void</strong> testMethod( String unusedParam1, String unusedParam2)
+<a name="50" href="#50">50</a>      {
+<a name="51" href="#51">51</a>          System.out.println( <span class="string">"Test method"</span> );
+<a name="52" href="#52">52</a>      }
+<a name="53" href="#53">53</a>  
+<a name="54" href="#54">54</a>  }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/jxr-files/xref/def/configuration/App.html
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/jxr-files/xref/def/configuration/AppSample.html
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/jxr-files/xref/def/configuration/AppSample.html?rev=608171&r1=608170&r2=608171&view=diff
==============================================================================
--- maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/jxr-files/xref/def/configuration/AppSample.html (original)
+++ maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/jxr-files/xref/def/configuration/AppSample.html Wed Jan  2 10:25:45 2008
@@ -1,64 +1,64 @@
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<!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_US" lang="en_US">
-<head>
-<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>AppSample xref</title>
-<link type="text/css" rel="stylesheet" href="../../stylesheet.css" />
-</head>
-<body>
-<div id="overview"><a href="../../../apidocs/def/configuration/AppSample.html">View Javadoc</a></div><pre>
-
-<a name="1" href="#1">1</a>   <strong>package</strong> def.configuration;
-<a name="2" href="#2">2</a>   
-<a name="3" href="#3">3</a>   <em>/**</em>
-<a name="4" href="#4">4</a>   <em> * @author Maria Odea Ching</em>
-<a name="5" href="#5">5</a>   <em> */</em>
-<a name="6" href="#6">6</a>   <strong>public</strong> <strong>class</strong> <a href="../../def/configuration/AppSample.html">AppSample</a>
-<a name="7" href="#7">7</a>   {
-<a name="8" href="#8">8</a>       <strong>private</strong> String unusedVar = <span class="string">"UNUSED"</span>;
-<a name="9" href="#9">9</a>   
-<a name="10" href="#10">10</a>      <em>/**</em>
-<a name="11" href="#11">11</a>  <em>     * The main method</em>
-<a name="12" href="#12">12</a>  <em>     *</em>
-<a name="13" href="#13">13</a>  <em>     * @param args  an array of strings that contains the arguments</em>
-<a name="14" href="#14">14</a>  <em>     */</em>
-<a name="15" href="#15">15</a>      <strong>public</strong> <strong>static</strong> <strong>void</strong> main( String[] args )
-<a name="16" href="#16">16</a>      {
-<a name="17" href="#17">17</a>          System.out.println( <span class="string">"Another Sample Application"</span> );
-<a name="18" href="#18">18</a>      }
-<a name="19" href="#19">19</a>  
-<a name="20" href="#20">20</a>      <em>/**</em>
-<a name="21" href="#21">21</a>  <em>     * Unused method</em>
-<a name="22" href="#22">22</a>  <em>     *</em>
-<a name="23" href="#23">23</a>  <em>     * @param unusedParam</em>
-<a name="24" href="#24">24</a>  <em>     * @return a blank String</em>
-<a name="25" href="#25">25</a>  <em>     */</em>
-<a name="26" href="#26">26</a>      <strong>private</strong> String unusedMethod( String unusedParam )
-<a name="27" href="#27">27</a>      {
-<a name="28" href="#28">28</a>          System.out.println( <span class="string">"This is just a test."</span> );
-<a name="29" href="#29">29</a>  
-<a name="30" href="#30">30</a>          <strong>return</strong> <span class="string">""</span>;
-<a name="31" href="#31">31</a>      }
-<a name="32" href="#32">32</a>  }
-</pre>
-<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
-</html>
-
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<!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_US" lang="en_US">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>AppSample xref</title>
+<link type="text/css" rel="stylesheet" href="../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../apidocs/def/configuration/AppSample.html">View Javadoc</a></div><pre>
+
+<a name="1" href="#1">1</a>   <strong>package</strong> def.configuration;
+<a name="2" href="#2">2</a>   
+<a name="3" href="#3">3</a>   <em>/**</em>
+<a name="4" href="#4">4</a>   <em> * @author Maria Odea Ching</em>
+<a name="5" href="#5">5</a>   <em> */</em>
+<a name="6" href="#6">6</a>   <strong>public</strong> <strong>class</strong> <a href="../../def/configuration/AppSample.html">AppSample</a>
+<a name="7" href="#7">7</a>   {
+<a name="8" href="#8">8</a>       <strong>private</strong> String unusedVar = <span class="string">"UNUSED"</span>;
+<a name="9" href="#9">9</a>   
+<a name="10" href="#10">10</a>      <em>/**</em>
+<a name="11" href="#11">11</a>  <em>     * The main method</em>
+<a name="12" href="#12">12</a>  <em>     *</em>
+<a name="13" href="#13">13</a>  <em>     * @param args  an array of strings that contains the arguments</em>
+<a name="14" href="#14">14</a>  <em>     */</em>
+<a name="15" href="#15">15</a>      <strong>public</strong> <strong>static</strong> <strong>void</strong> main( String[] args )
+<a name="16" href="#16">16</a>      {
+<a name="17" href="#17">17</a>          System.out.println( <span class="string">"Another Sample Application"</span> );
+<a name="18" href="#18">18</a>      }
+<a name="19" href="#19">19</a>  
+<a name="20" href="#20">20</a>      <em>/**</em>
+<a name="21" href="#21">21</a>  <em>     * Unused method</em>
+<a name="22" href="#22">22</a>  <em>     *</em>
+<a name="23" href="#23">23</a>  <em>     * @param unusedParam</em>
+<a name="24" href="#24">24</a>  <em>     * @return a blank String</em>
+<a name="25" href="#25">25</a>  <em>     */</em>
+<a name="26" href="#26">26</a>      <strong>private</strong> String unusedMethod( String unusedParam )
+<a name="27" href="#27">27</a>      {
+<a name="28" href="#28">28</a>          System.out.println( <span class="string">"This is just a test."</span> );
+<a name="29" href="#29">29</a>  
+<a name="30" href="#30">30</a>          <strong>return</strong> <span class="string">""</span>;
+<a name="31" href="#31">31</a>      }
+<a name="32" href="#32">32</a>  }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/jxr-files/xref/def/configuration/AppSample.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/jxr-files/xref/def/configuration/package-frame.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/jxr-files/xref/def/configuration/package-summary.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/jxr-files/xref/index.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/jxr-files/xref/overview-frame.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/jxr-files/xref/overview-summary.html
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/jxr-files/xref/stylesheet.css
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/jxr-files/xref/stylesheet.css?rev=608171&r1=608170&r2=608171&view=diff
==============================================================================
--- maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/jxr-files/xref/stylesheet.css (original)
+++ maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/jxr-files/xref/stylesheet.css Wed Jan  2 10:25:45 2008
@@ -1,113 +1,113 @@
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
-
-/* 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;
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+
+/* 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;
 }

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/jxr-files/xref/stylesheet.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/pmd-check-default-configuration-plugin-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/pmd-check-failandwarnonpriority-plugin-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/pmd-check-failonpriority-plugin-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/default-configuration/pmd-check-notfailonviolation-plugin-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/invalid-format/cpd-invalid-format-plugin-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/invalid-format/invalid-format-plugin-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/invalid-format/invalid/format/App.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pmd-plugin/src/test/resources/unit/invalid-format/invalid/format/AppSample.java
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message