svn commit: r1763933 - in /maven/plugins/trunk/maven-install-plugin: ./ src/it/attach-jar-checksum/ src/it/generate-pom-auto-1/ src/it/jar-sources-javadoc/ src/it/local-repo-override-with-checksum/ sr

2016-10-08 Thread gboue
Author: gboue
Date: Sat Oct  8 20:06:42 2016
New Revision: 1763933

URL: http://svn.apache.org/viewvc?rev=1763933=rev
Log:
[MINSTALL-128] Replace usage of the deprecated ArtifactFactory

In order to fix the use of deprecated code from ArtifactFactory, the 
install-file Mojo now creates a new MavenProject and attaches to this project 
all artifacts to install.

Added:

maven/plugins/trunk/maven-install-plugin/src/it/local-repo-override-with-checksum/

maven/plugins/trunk/maven-install-plugin/src/it/local-repo-override-with-checksum/invoker.properties
   (with props)

maven/plugins/trunk/maven-install-plugin/src/it/local-repo-override-with-checksum/pom.xml
   (with props)

maven/plugins/trunk/maven-install-plugin/src/it/local-repo-override-with-checksum/setup.bsh
   (with props)

maven/plugins/trunk/maven-install-plugin/src/it/local-repo-override-with-checksum/test.jar
   (with props)

maven/plugins/trunk/maven-install-plugin/src/it/local-repo-override-with-checksum/test.properties
   (with props)

maven/plugins/trunk/maven-install-plugin/src/it/local-repo-override-with-checksum/verify.bsh
   (with props)
Removed:

maven/plugins/trunk/maven-install-plugin/src/main/java/org/apache/maven/plugin/install/DualDigester.java

maven/plugins/trunk/maven-install-plugin/src/test/java/org/apache/maven/plugin/install/DualDigesterTest.java

maven/plugins/trunk/maven-install-plugin/src/test/java/org/apache/maven/plugin/install/SimpleDigester.java

maven/plugins/trunk/maven-install-plugin/src/test/java/org/apache/maven/plugin/install/testingharness/

maven/plugins/trunk/maven-install-plugin/src/test/resources/META-INF/plexus/components.xml
Modified:
maven/plugins/trunk/maven-install-plugin/pom.xml

maven/plugins/trunk/maven-install-plugin/src/it/attach-jar-checksum/verify.bsh

maven/plugins/trunk/maven-install-plugin/src/it/generate-pom-auto-1/verify.bsh

maven/plugins/trunk/maven-install-plugin/src/it/jar-sources-javadoc/verify.bsh
maven/plugins/trunk/maven-install-plugin/src/it/pom-checksum/verify.bsh

maven/plugins/trunk/maven-install-plugin/src/main/java/org/apache/maven/plugin/install/AbstractInstallMojo.java

maven/plugins/trunk/maven-install-plugin/src/main/java/org/apache/maven/plugin/install/InstallFileMojo.java

maven/plugins/trunk/maven-install-plugin/src/test/java/org/apache/maven/plugin/install/InstallFileMojoTest.java

maven/plugins/trunk/maven-install-plugin/src/test/java/org/apache/maven/plugin/install/InstallMojoTest.java

maven/plugins/trunk/maven-install-plugin/src/test/java/org/apache/maven/plugin/install/Utils.java

Modified: maven/plugins/trunk/maven-install-plugin/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-install-plugin/pom.xml?rev=1763933=1763932=1763933=diff
==
--- maven/plugins/trunk/maven-install-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-install-plugin/pom.xml Sat Oct  8 20:06:42 2016
@@ -110,12 +110,6 @@
   maven-plugin-testing-harness
   2.1
   test
-  
-
-  plexus-container-default
-  org.codehaus.plexus
-
-  
 
  
   org.apache.maven

Modified: 
maven/plugins/trunk/maven-install-plugin/src/it/attach-jar-checksum/verify.bsh
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-install-plugin/src/it/attach-jar-checksum/verify.bsh?rev=1763933=1763932=1763933=diff
==
--- 
maven/plugins/trunk/maven-install-plugin/src/it/attach-jar-checksum/verify.bsh 
(original)
+++ 
maven/plugins/trunk/maven-install-plugin/src/it/attach-jar-checksum/verify.bsh 
Sat Oct  8 20:06:42 2016
@@ -20,7 +20,7 @@
 import java.io.*;
 import java.util.*;
 
-import org.apache.maven.plugin.install.*;
+import org.apache.maven.plugin.install.Utils;
 
 String[] paths =
 {
@@ -34,13 +34,16 @@ String[] paths =
 
"org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT-sources.jar.md5",
 
"org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT-sources.jar.sha1",
 
"org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/maven-metadata-local.xml",
-//
"org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/maven-metadata-local.xml.md5",
-//
"org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/maven-metadata-local.xml.sha1",
 "org/apache/maven/its/install/ajc/test/maven-metadata-local.xml",
-//"org/apache/maven/its/install/ajc/test/maven-metadata-local.xml.md5",
-//"org/apache/maven/its/install/ajc/test/maven-metadata-local.xml.sha1",
 };
 
+Set cksumToCheckPaths = new HashSet( Arrays.asList( new String[]
+{
+"org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT.pom",
+"org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT.jar",
+

svn commit: r1763932 - /maven/plugins/trunk/maven-invoker-plugin/src/it/special-characters-should-work/setup.groovy

2016-10-08 Thread hboutemy
Author: hboutemy
Date: Sat Oct  8 19:41:03 2016
New Revision: 1763932

URL: http://svn.apache.org/viewvc?rev=1763932=rev
Log:
added space and & to tested special characters

Modified:

maven/plugins/trunk/maven-invoker-plugin/src/it/special-characters-should-work/setup.groovy

Modified: 
maven/plugins/trunk/maven-invoker-plugin/src/it/special-characters-should-work/setup.groovy
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/special-characters-should-work/setup.groovy?rev=1763932=1763931=1763932=diff
==
--- 
maven/plugins/trunk/maven-invoker-plugin/src/it/special-characters-should-work/setup.groovy
 (original)
+++ 
maven/plugins/trunk/maven-invoker-plugin/src/it/special-characters-should-work/setup.groovy
 Sat Oct  8 19:41:03 2016
@@ -23,7 +23,7 @@ import java.util.regex.*
 
 File srcIt = new File (basedir, "src/it");
 File originalFolder = new File (srcIt, "minvoker-test");
-File destinationFolder = new File(srcIt, 
"test-\u00c9\u00e9\u00ea-more-\u00c9\u00e9\u00ea-test");
+File destinationFolder = new File(srcIt, "test-\u00c9\u00e9\u00ea- & 
-\u00c9\u00e9\u00ea-test");
 // rename old one into new one with special characters.
 if (!originalFolder.renameTo(destinationFolder)) {
   throw new IOException("Rename didn't work.")




svn commit: r1763929 - /maven/shared/trunk/maven-artifact-transfer/src/main/java/org/apache/maven/shared/project/install/internal/DefaultProjectInstaller.java

2016-10-08 Thread gboue
Author: gboue
Date: Sat Oct  8 18:43:58 2016
New Revision: 1763929

URL: http://svn.apache.org/viewvc?rev=1763929=rev
Log:
[MSHARED-595] In DefaultProjectInstaller, the path to the local repository 
should be retrieved from the RepositoryManager

We need to rely on the RepositoryManager to get a hold of the local repository 
base directory.

Modified:

maven/shared/trunk/maven-artifact-transfer/src/main/java/org/apache/maven/shared/project/install/internal/DefaultProjectInstaller.java

Modified: 
maven/shared/trunk/maven-artifact-transfer/src/main/java/org/apache/maven/shared/project/install/internal/DefaultProjectInstaller.java
URL: 
http://svn.apache.org/viewvc/maven/shared/trunk/maven-artifact-transfer/src/main/java/org/apache/maven/shared/project/install/internal/DefaultProjectInstaller.java?rev=1763929=1763928=1763929=diff
==
--- 
maven/shared/trunk/maven-artifact-transfer/src/main/java/org/apache/maven/shared/project/install/internal/DefaultProjectInstaller.java
 (original)
+++ 
maven/shared/trunk/maven-artifact-transfer/src/main/java/org/apache/maven/shared/project/install/internal/DefaultProjectInstaller.java
 Sat Oct  8 18:43:58 2016
@@ -101,7 +101,7 @@ public class DefaultProjectInstaller
 {
 installer.install( buildingRequest,
Collections.singletonList( new 
ProjectArtifact( project ) ) );
-installChecksums( buildingRequest, artifactRepository, 
artifact, createChecksum );
+installChecksums( buildingRequest, artifact, createChecksum );
 addMetaDataFilesForArtifact( artifactRepository, artifact, 
metadataFiles, createChecksum );
 }
 }
@@ -120,7 +120,7 @@ public class DefaultProjectInstaller
 if ( file != null && file.isFile() )
 {
 installer.install( buildingRequest, 
Collections.singletonList( artifact ) );
-installChecksums( buildingRequest, artifactRepository, 
artifact, createChecksum );
+installChecksums( buildingRequest, artifact, createChecksum );
 addMetaDataFilesForArtifact( artifactRepository, artifact, 
metadataFiles, createChecksum );
 }
 else if ( !attachedArtifacts.isEmpty() )
@@ -139,7 +139,7 @@ public class DefaultProjectInstaller
 for ( Artifact attached : attachedArtifacts )
 {
 installer.install( buildingRequest, Collections.singletonList( 
attached ) );
-installChecksums( buildingRequest, artifactRepository, attached, 
createChecksum );
+installChecksums( buildingRequest, attached, createChecksum );
 addMetaDataFilesForArtifact( artifactRepository, attached, 
metadataFiles, createChecksum );
 }
 
@@ -153,12 +153,12 @@ public class DefaultProjectInstaller
  * the original POM file (cf. MNG-2820). While the plugin currently 
requires Maven 2.0.6, we continue to hash the
  * installed POM for robustness with regard to future changes like 
re-introducing some kind of POM filtering.
  *
+ * @param buildingRequest The project building request, must not be 
null.
  * @param artifact The artifact for which to create checksums, must not be 
null.
  * @param createChecksum {@code true} if checksum should be created, 
otherwise {@code false}.
  * @throws IOException If the checksums could not be installed.
  */
-private void installChecksums( ProjectBuildingRequest buildingRequest, 
ArtifactRepository artifactRepository,
-   Artifact artifact, boolean createChecksum )
+private void installChecksums( ProjectBuildingRequest buildingRequest, 
Artifact artifact, boolean createChecksum )
 throws IOException
 {
 if ( !createChecksum )
@@ -166,7 +166,7 @@ public class DefaultProjectInstaller
 return;
 }
 
-File artifactFile = getLocalRepoFile( buildingRequest, 
artifactRepository, artifact );
+File artifactFile = getLocalRepoFile( buildingRequest, artifact );
 installChecksums( artifactFile );
 }
 
@@ -257,14 +257,14 @@ public class DefaultProjectInstaller
  * Gets the path of the specified artifact within the local repository. 
Note that the returned path need not exist
  * (yet).
  *
+ * @param buildingRequest The project building request, must not be 
null.
  * @param artifact The artifact whose local repo path should be 
determined, must not be null.
  * @return The absolute path to the artifact when installed, never 
null.
  */
-private File getLocalRepoFile( ProjectBuildingRequest buildingRequest, 
ArtifactRepository artifactRepository,
-   Artifact artifact )
+private File getLocalRepoFile( ProjectBuildingRequest buildingRequest, 
Artifact artifact )
 {
 String path = 

svn commit: r1763928 - /maven/shared/trunk/maven-artifact-transfer/src/main/java/org/apache/maven/shared/project/install/internal/DefaultProjectInstaller.java

2016-10-08 Thread gboue
Author: gboue
Date: Sat Oct  8 18:26:40 2016
New Revision: 1763928

URL: http://svn.apache.org/viewvc?rev=1763928=rev
Log:
[MSHARED-594] NullPointerException is thrown when trying to install a project 
without POM file

Adding null-check for MavenProject.getFile(): it could be the case that there 
is no POM file for the project, when it only has attached artifacts and those 
should get installed.

Modified:

maven/shared/trunk/maven-artifact-transfer/src/main/java/org/apache/maven/shared/project/install/internal/DefaultProjectInstaller.java

Modified: 
maven/shared/trunk/maven-artifact-transfer/src/main/java/org/apache/maven/shared/project/install/internal/DefaultProjectInstaller.java
URL: 
http://svn.apache.org/viewvc/maven/shared/trunk/maven-artifact-transfer/src/main/java/org/apache/maven/shared/project/install/internal/DefaultProjectInstaller.java?rev=1763928=1763927=1763928=diff
==
--- 
maven/shared/trunk/maven-artifact-transfer/src/main/java/org/apache/maven/shared/project/install/internal/DefaultProjectInstaller.java
 (original)
+++ 
maven/shared/trunk/maven-artifact-transfer/src/main/java/org/apache/maven/shared/project/install/internal/DefaultProjectInstaller.java
 Sat Oct  8 18:26:40 2016
@@ -97,14 +97,21 @@ public class DefaultProjectInstaller
 
 if ( isPomArtifact )
 {
-installer.install( buildingRequest, 
Collections.singletonList( new ProjectArtifact( project ) ) );
-installChecksums( buildingRequest, artifactRepository, artifact, 
createChecksum );
-addMetaDataFilesForArtifact( artifactRepository, artifact, 
metadataFiles, createChecksum );
+if ( pomFile != null )
+{
+installer.install( buildingRequest,
+   Collections.singletonList( new 
ProjectArtifact( project ) ) );
+installChecksums( buildingRequest, artifactRepository, 
artifact, createChecksum );
+addMetaDataFilesForArtifact( artifactRepository, artifact, 
metadataFiles, createChecksum );
+}
 }
 else
 {
-metadata = new ProjectArtifactMetadata( artifact, pomFile );
-artifact.addMetadata( metadata );
+if ( pomFile != null )
+{
+metadata = new ProjectArtifactMetadata( artifact, pomFile );
+artifact.addMetadata( metadata );
+}
 
 File file = artifact.getFile();
 




svn commit: r999063 [21/26] - in /websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/pmd/ apidocs/org/apache/maven/plugin/pmd/cl

2016-10-08 Thread adangel
Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref/org/apache/maven/plugin/pmd/AbstractPmdViolationCheckMojo.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref/org/apache/maven/plugin/pmd/AbstractPmdViolationCheckMojo.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref/org/apache/maven/plugin/pmd/AbstractPmdViolationCheckMojo.html
 Sat Oct  8 16:53:12 2016
@@ -37,271 +37,270 @@
 29  import 
org.apache.maven.plugin.MojoFailureException;
 30  import 
org.apache.maven.plugins.annotations.Parameter;
 31  import org.apache.maven.project.MavenProject;
-32  import org.codehaus.plexus.util.StringUtils;
-33  import 
org.codehaus.plexus.util.xml.pull.XmlPullParserException;
-34  
-35  /**
-36   * Base class for mojos that check if there were any 
PMD violations.
-37   *
-38   * @param D type of the check, e.g. {@link 
Violation} or {@link Duplication}.
-39   * @author a href="mailto:br...@apache.org; 
target="alexandria_uri">mailto:br...@apache.org"Brett 
Porter/a
-40   * @version $Id$
-41   */
-42  public abstract class AbstractPmdViolationCheckMojoD
-43  extends AbstractMojo
-44  {
-45  /**
-46   * The location of the XML report to check, as 
generated by the PMD report.
-47   */
-48  @Parameter( 
property = "project.build.directory", required 
= true )
-49  private File targetDirectory;
-50  
-51  /**
-52   * Whether to fail the build if the validation 
check fails.
-53   */
-54  @Parameter( 
property = "pmd.failOnViolation", defaultValue 
= "true", required = true )
-55  protected boolean failOnViolation;
-56  
-57  /**
-58   * The project language, for determining whether 
to run the report.
-59   */
-60  @Parameter( 
property = "project.artifact.artifactHandler.language", required 
= true, readonly = true )
-61  private String language;
-62  
-63  /**
-64   * Whether to build an aggregated report at the 
root, or build individual reports.
-65   *
-66   * @since 2.2
-67   */
-68  @Parameter( 
property = "aggregate", defaultValue = "false" )
-69  protected boolean aggregate;
-70  
-71  /**
-72   * Print details of check failures to build 
output.
-73   */
-74  @Parameter( 
property = "pmd.verbose", defaultValue = "false" )
-75  private boolean verbose;
-76  
-77  /**
-78   * Print details of errors that cause build 
failure
-79   *
-80   * @since 3.0
-81   */
-82  @Parameter( 
property = "pmd.printFailingErrors", 
defaultValue = "false" )
-83  private boolean printFailingErrors;
-84  
-85  /**
-86   * File that lists classes and rules to be 
excluded from failures For PMD, this is a properties file For CPD, this
-87   * is a text file that contains comma-separated 
lists of classes that are allowed to duplicate
-88   *
-89   * @since 3.0
-90   */
-91  @Parameter( 
property = "pmd.excludeFromFailureFile", 
defaultValue = "" )
-92  private String excludeFromFailureFile;
-93  
-94  /**
-95   * The project to analyze.
-96   */
-97  @Parameter( 
defaultValue = "${project}", readonly = true, required = true )
-98  protected MavenProject project;
-99  
-100 protected void executeCheck( final String filename, final String tagName, final String key,
-101 
 final int failurePriority )
-102 throws MojoFailureException, MojoExecutionException
-103 {
-104 if ( aggregate  
!project.isExecutionRoot() )
-105 {
-106 return;
-107 }
-108 
-109 if ( "pom".equals( 
project.getPackaging() )  !aggregate )
-110 {
-111 return;
-112 }
-113 
-114 if ( !StringUtils.isEmpty( excludeFromFailureFile 
) )
-115 {
-116 
loadExcludeFromFailuresData( excludeFromFailureFile );
-117 }
-118 final File outputFile = new File( targetDirectory, filename );
-119 
-120 if ( outputFile.exists() )
-121 {
-122 try
-123 {
-124 
final ViolationDetailsD violations 
= getViolations( outputFile, failurePriority );
-125 
-126 
final ListD failures = 
violations.getFailureDetails();
-127 
final ListD warnings = 
violations.getWarningDetails();
-128 
-129 
if ( verbose )
-130 {
-131 
printErrors( failures, warnings );
-132 }
-133 
-134 
final int failureCount = failures.size();
-135 
final int warningCount = warnings.size();
-136 
-137 
final String message = getMessage( 
failureCount, warningCount, key, outputFile );
-138 
-139 
getLog().debug( "PMD failureCount: " + 
failureCount + ", 

svn commit: r999063 [5/26] - in /websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/pmd/ apidocs/org/apache/maven/plugin/pmd/cla

2016-10-08 Thread adangel
Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/apidocs/org/apache/maven/plugin/pmd/package-summary.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/apidocs/org/apache/maven/plugin/pmd/package-summary.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/apidocs/org/apache/maven/plugin/pmd/package-summary.html
 Sat Oct  8 16:53:12 2016
@@ -1,15 +1,15 @@
 http://www.w3.org/TR/html4/loose.dtd;>
 
-
+
 
 
-org.apache.maven.plugin.pmd (Apache Maven PMD Plugin 3.6 API)
+org.apache.maven.plugin.pmd (Apache Maven PMD Plugin 3.7 API)
 
 
 
 
 
@@ -67,6 +67,21 @@
 
 
 
+
+Interface Summary
+
+Interface
+Description
+
+
+
+ExcludeFromFileD
+
+
+
+
+
+
 
 Class Summary
 
@@ -105,33 +120,48 @@
 
 
 
+ExcludeDuplicationsFromFile
+
+This class contains utility methods to load property files 
which define which files
+ should be excluded from the CPD duplication results.
+
+
+
+ExcludeViolationsFromFile
+
+This class contains utility for loading property files, 
which define which PMD violations
+ from which classes should be ignored and not cause a failure.
+
+
+
 HelpMojo
 
 Display help information on maven-pmd-plugin.
 
 
 
+PmdCollectingRenderer
+
+A PMD renderer, that collects all violations and processing 
errors
+ from a pmd execution.
+
+
+
 PmdFileInfo
 
 
-
+
 PmdReport
 
 Creates a PMD report.
 
 
-
+
 PmdReportGenerator
 
 Render the PMD violations into Doxia events.
 
 
-
-PmdReportListener
-
-Handle events from PMD and collect violations.
-
-
 
 PmdViolationCheckMojo
 
@@ -194,6 +224,6 @@
 
 
 
-Copyright  20052015 http://www.apache.org/;>The Apache Software Foundation. All rights 
reserved.
+Copyright  20052016 https://www.apache.org/;>The Apache Software Foundation. All rights 
reserved.
 
 
\ No newline at end of file

Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/apidocs/org/apache/maven/plugin/pmd/package-tree.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/apidocs/org/apache/maven/plugin/pmd/package-tree.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/apidocs/org/apache/maven/plugin/pmd/package-tree.html
 Sat Oct  8 16:53:12 2016
@@ -1,15 +1,15 @@
 http://www.w3.org/TR/html4/loose.dtd;>
 
-
+
 
 
-org.apache.maven.plugin.pmd Class Hierarchy (Apache Maven PMD Plugin 
3.6 API)
+org.apache.maven.plugin.pmd Class Hierarchy (Apache Maven PMD Plugin 
3.7 API)
 
 
 
 
 
@@ -94,14 +94,28 @@
 org.apache.maven.plugin.pmd.HelpMojo
 
 
+net.sourceforge.pmd.http://pmd.sourceforge.net/pmd-core/apidocs/net/sourceforge/pmd/AbstractPropertySource.html?is-external=true;
 title="class or interface in net.sourceforge.pmd">AbstractPropertySource (implements 
net.sourceforge.pmd.http://pmd.sourceforge.net/pmd-core/apidocs/net/sourceforge/pmd/PropertySource.html?is-external=true;
 title="class or interface in net.sourceforge.pmd">PropertySource)
+
+net.sourceforge.pmd.renderers.http://pmd.sourceforge.net/pmd-core/apidocs/net/sourceforge/pmd/renderers/AbstractRenderer.html?is-external=true;
 title="class or interface in net.sourceforge.pmd.renderers">AbstractRenderer (implements 
net.sourceforge.pmd.renderers.http://pmd.sourceforge.net/pmd-core/apidocs/net/sourceforge/pmd/renderers/Renderer.html?is-external=true;
 title="class or interface in net.sourceforge.pmd.renderers">Renderer)
+
+org.apache.maven.plugin.pmd.PmdCollectingRenderer
+
+
+
+
 org.apache.maven.plugin.pmd.CpdReportGenerator
+org.apache.maven.plugin.pmd.ExcludeDuplicationsFromFile (implements 
org.apache.maven.plugin.pmd.ExcludeFromFileD)
+org.apache.maven.plugin.pmd.ExcludeViolationsFromFile (implements 
org.apache.maven.plugin.pmd.ExcludeFromFileD)
 org.apache.maven.plugin.pmd.PmdFileInfo
 org.apache.maven.plugin.pmd.PmdReportGenerator
-org.apache.maven.plugin.pmd.PmdReportListener (implements net.sourceforge.pmd.http://pmd.sourceforge.net/pmd-core/apidocs/net/sourceforge/pmd/ReportListener.html?is-external=true;
 title="class or interface in net.sourceforge.pmd">ReportListener)
 org.apache.maven.plugin.pmd.ViolationDetailsD
 
 
 
+Interface Hierarchy
+

svn commit: r999063 [7/26] - in /websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/pmd/ apidocs/org/apache/maven/plugin/pmd/cla

2016-10-08 Thread adangel
Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/dependencies.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/dependencies.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/dependencies.html
 Sat Oct  8 16:53:12 2016
@@ -1,31 +1,37 @@
 
 
 http://www.w3.org/1999/xhtml; xml:lang="en" lang="en">
   
 
 
-
+
 
 Apache Maven PMD Plugin  Project Dependencies
-
+
 
 
 
   
-
+
 
-  
-
-https://www.google-analytics.com/urchin.js"; 
type="text/javascript">
-  
-
-_uacct = "UA-140879-1";
-urchinTracker();
-  
-  
+  
+
+
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-140879-1']);
+  _gaq.push(['_trackPageview']);
+
+  (function() {
+var ga = document.createElement('script'); ga.type = 
'text/javascript'; ga.async = true;
+ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
+var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
+  })();
+
+
+  
 
   
 
@@ -34,8 +40,8 @@
 
   
 
-http://www.apache.org/; 
id="bannerLeft">
-   
 
+https://www.apache.org/; 
id="bannerLeft">
+   
 
 
   
 
@@ -47,10 +53,9 @@
 
   
 
-
-
+  
   
-http://www.apache.org/; class="externalLink" 
title="Apache">
+https://www.apache.org/; class="externalLink" 
title="Apache">
 Apache
 /
   
@@ -64,18 +69,17 @@
 Plugins
 /
   
-
-
+
+
 Apache Maven PMD Plugin
 /
   
 Project Dependencies
 
-
-
-  | Last Published: 2015-12-13
+  
+  | Last Published: 2016-10-08
   
-Version: 3.6
+Version: 3.7
 
 
 
@@ -85,8 +89,7 @@
   
 
   
-
-
+  
 
 Overview
   
@@ -135,6 +138,13 @@
   
   
   
+  
+  
+Multimodule Configuration
+
+
+  
+  
   
   
 Remove Report
@@ -199,9 +209,9 @@
 
   
   
-  
+  
   
-Project Summary
+Summary
 
 
   
@@ -213,23 +223,23 @@
 
   
   
-  
+  
   
-Project Team
+Team
 
 
   
   
-  
+  
   
-Source Repository
+Source Code Management
 
 
   
   
-  
+  
   
-Issue Tracking
+Issue Management
 
 
   
@@ -260,9 +270,9 @@
 
   
   
-  
+  
   
-Continuous Integration
+CI Management
 
 
   
@@ -274,9 +284,9 @@
 
   
   
-  
+  
   
-Project Plugins
+Plugins
 
 
   
@@ -298,13 +308,6 @@
   
   
   
-  
-  
-Ant Tasks
-
-
-  
-  
   
   
 Archetype
@@ -404,40 +407,39 @@
   
   
   
-  http://www.apache.org/foundation/how-it-works.html; class="externalLink" 
title="How Apache Works">
+  https://www.apache.org/foundation/how-it-works.html; 

svn commit: r999063 [20/26] - in /websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/pmd/ apidocs/org/apache/maven/plugin/pmd/cl

2016-10-08 Thread adangel
Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref/org/apache/maven/plugin/pmd/AbstractPmdReport.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref/org/apache/maven/plugin/pmd/AbstractPmdReport.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref/org/apache/maven/plugin/pmd/AbstractPmdReport.html
 Sat Oct  8 16:53:12 2016
@@ -134,383 +134,432 @@
 126 private ListString includes;
 127 
 128 /**
-129  * The directories containing the sources to be 
compiled.
-130  */
-131 @Parameter( 
defaultValue = "${project.compileSourceRoots}" )
-132 private ListString compileSourceRoots;
-133 
-134 /**
-135  * The directories containing the test-sources 
to be compiled.
-136  */
-137 @Parameter( 
defaultValue = "${project.testCompileSourceRoots}" )
-138 private ListString testSourceRoots;
-139 
-140 /**
-141  * The project source directories that should be 
excluded.
-142  *
-143  * @since 2.2
-144  */
-145 @Parameter
-146 private File[] excludeRoots;
-147 
-148 /**
-149  * Run PMD on the tests.
-150  *
-151  * @since 2.2
-152  */
-153 @Parameter( 
defaultValue = "false" )
-154 protected boolean includeTests;
-155 
-156 /**
-157  * Whether to build an aggregated report at the 
root, or build individual reports.
-158  *
-159  * @since 2.2
-160  */
-161 @Parameter( 
property = "aggregate", defaultValue = "false" )
-162 protected boolean aggregate;
-163 
-164 /**
-165  * The file encoding to use when reading the 
Java sources.
-166  *
-167  * @since 2.3
-168  */
-169 @Parameter( 
property = "encoding", defaultValue = "${project.build.sourceEncoding}" )
-170 private String sourceEncoding;
-171 
-172 /**
-173  * The file encoding when writing non-HTML 
reports.
-174  *
-175  * @since 2.5
-176  */
-177 @Parameter( 
property = "outputEncoding", defaultValue = 
"${project.reporting.outputEncoding}" )
-178 private String outputEncoding;
-179 
-180 /**
-181  * The projects in the reactor for aggregation 
report.
-182  */
-183 @Parameter( 
property = "reactorProjects", readonly = 
true )
-184 protected ListMavenProject reactorProjects;
-185 
-186 /**
-187  * Whether to include the xml files generated by 
PMD/CPD in the site.
-188  *
-189  * @since 3.0
-190  */
-191 @Parameter( 
defaultValue = "false" )
-192 protected boolean includeXmlInSite;
-193 
-194 /**
-195  * Skip the PMD/CPD report generation if there 
are no violations or duplications found. Defaults to
-196  * codetrue/code.
-197  *
-198  * @since 3.1
-199  */
-200 @Parameter( 
defaultValue = "true" )
-201 protected boolean skipEmptyReport;
-202 
-203 /** The files that are being analyzed. */
-204 protected MapFile, PmdFileInfo 
filesToProcess;
-205 
-206 /**
-207  * {@inheritDoc}
-208  */
-209 @Override
-210 protected MavenProject getProject()
-211 {
-212 return project;
-213 }
-214 
-215 /**
-216  * {@inheritDoc}
-217  */
-218 @Override
-219 protected Renderer getSiteRenderer()
-220 {
-221 return siteRenderer;
-222 }
-223 
-224 protected String constructXRefLocation( boolean test )
-225 {
-226 String 
location = null;
-227 if ( linkXRef )
-228 {
-229 File 
xrefLoc = test ? xrefTestLocation : xrefLocation;
+129  * Specifies the location of the source 
directories to be used for PMD.
+130  * Defaults to 
codeproject.compileSourceRoots/code.
+131  * @since 3.7
+132  */
+133 @Parameter( 
defaultValue = "${project.compileSourceRoots}" )
+134 private ListString compileSourceRoots;
+135 
+136 /**
+137  * The directories containing the test-sources 
to be used for PMD.
+138  * Defaults to 
codeproject.testCompileSourceRoots/code
+139  * @since 3.7
+140  */
+141 @Parameter( 
defaultValue = "${project.testCompileSourceRoots}" )
+142 private ListString testSourceRoots;
+143 
+144 /**
+145  * The project source directories that should be 
excluded.
+146  *
+147  * @since 2.2
+148  */
+149 @Parameter
+150 private File[] excludeRoots;
+151 
+152 /**
+153  * Run PMD on the tests.
+154  *
+155  * @since 2.2
+156  */
+157 @Parameter( 
defaultValue = "false" )
+158 protected boolean includeTests;
+159 
+160 /**
+161  * Whether to build an aggregated report at the 
root, or build individual reports.
+162  *
+163  * @since 2.2
+164  */
+165 @Parameter( 
property = "aggregate", defaultValue = "false" )
+166 protected boolean aggregate;
+167 
+168 /**
+169  

svn commit: r999063 [14/26] - in /websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/pmd/ apidocs/org/apache/maven/plugin/pmd/cl

2016-10-08 Thread adangel
Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/sonar.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/sonar.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/sonar.html
 Sat Oct  8 16:53:12 2016
@@ -1,31 +1,37 @@
 
 
 http://www.w3.org/1999/xhtml; xml:lang="en" lang="en">
   
 
 
-
+
 
 Apache Maven PMD Plugin  Sonar
-
+
 
 
 
   
-
+
 
-  
-
-https://www.google-analytics.com/urchin.js"; 
type="text/javascript">
-  
-
-_uacct = "UA-140879-1";
-urchinTracker();
-  
-  
+  
+
+
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-140879-1']);
+  _gaq.push(['_trackPageview']);
+
+  (function() {
+var ga = document.createElement('script'); ga.type = 
'text/javascript'; ga.async = true;
+ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
+var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
+  })();
+
+
+  
 
   
 
@@ -34,8 +40,8 @@
 
   
 
-http://www.apache.org/; 
id="bannerLeft">
-   
 
+https://www.apache.org/; 
id="bannerLeft">
+   
 
 
   
 
@@ -47,10 +53,9 @@
 
   
 
-
-
+  
   
-http://www.apache.org/; class="externalLink" 
title="Apache">
+https://www.apache.org/; class="externalLink" 
title="Apache">
 Apache
 /
   
@@ -64,18 +69,17 @@
 Plugins
 /
   
-
-
+
+
 Apache Maven PMD Plugin
 /
   
 Sonar
 
-
-
-  | Last Published: 2015-12-13
+  
+  | Last Published: 2016-10-08
   
-Version: 3.6
+Version: 3.7
 
 
 
@@ -85,8 +89,7 @@
   
 
   
-
-
+  
 
 Overview
   
@@ -135,6 +138,13 @@
   
   
   
+  
+  
+Multimodule Configuration
+
+
+  
+  
   
   
 Remove Report
@@ -291,13 +301,6 @@
   
   
   
-  
-  
-Ant Tasks
-
-
-  
-  
   
   
 Archetype
@@ -397,40 +400,39 @@
   
   
   
-  http://www.apache.org/foundation/how-it-works.html; class="externalLink" 
title="How Apache Works">
+  https://www.apache.org/foundation/how-it-works.html; class="externalLink" 
title="How Apache Works">
   
 How Apache Works
 
 
   
   
-  http://www.apache.org/foundation/; 
class="externalLink" title="Foundation">
+  https://www.apache.org/foundation/; 
class="externalLink" title="Foundation">
   
 Foundation
 
 
   
   
-  http://www.apache.org/foundation/sponsorship.html; class="externalLink" 
title="Sponsoring Apache">
+  https://www.apache.org/foundation/sponsorship.html; class="externalLink" 
title="Sponsoring Apache">
   
 Sponsoring Apache
 
 
   
   
-  http://www.apache.org/foundation/thanks.html; class="externalLink" 
title="Thanks">
+  https://www.apache.org/foundation/thanks.html; class="externalLink" 
title="Thanks">
   
 Thanks
 
 
-
-
+  
 https://www.google.com/search; method="get" >
 
   
   
 

svn commit: r999063 [9/26] - in /websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/pmd/ apidocs/org/apache/maven/plugin/pmd/cla

2016-10-08 Thread adangel
Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/dependency-info.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/dependency-info.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/dependency-info.html
 Sat Oct  8 16:53:12 2016
@@ -1,31 +1,37 @@
 
 
 http://www.w3.org/1999/xhtml; xml:lang="en" lang="en">
   
 
 
-
+
 
 Apache Maven PMD Plugin  Dependency Information
-
+
 
 
 
   
-
+
 
-  
-
-https://www.google-analytics.com/urchin.js"; 
type="text/javascript">
-  
-
-_uacct = "UA-140879-1";
-urchinTracker();
-  
-  
+  
+
+
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-140879-1']);
+  _gaq.push(['_trackPageview']);
+
+  (function() {
+var ga = document.createElement('script'); ga.type = 
'text/javascript'; ga.async = true;
+ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
+var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
+  })();
+
+
+  
 
   
 
@@ -34,8 +40,8 @@
 
   
 
-http://www.apache.org/; 
id="bannerLeft">
-   
 
+https://www.apache.org/; 
id="bannerLeft">
+   
 
 
   
 
@@ -47,10 +53,9 @@
 
   
 
-
-
+  
   
-http://www.apache.org/; class="externalLink" 
title="Apache">
+https://www.apache.org/; class="externalLink" 
title="Apache">
 Apache
 /
   
@@ -64,18 +69,17 @@
 Plugins
 /
   
-
-
+
+
 Apache Maven PMD Plugin
 /
   
 Dependency Information
 
-
-
-  | Last Published: 2015-12-13
+  
+  | Last Published: 2016-10-08
   
-Version: 3.6
+Version: 3.7
 
 
 
@@ -85,8 +89,7 @@
   
 
   
-
-
+  
 
 Overview
   
@@ -135,6 +138,13 @@
   
   
   
+  
+  
+Multimodule Configuration
+
+
+  
+  
   
   
 Remove Report
@@ -199,9 +209,9 @@
 
   
   
-  
+  
   
-Project Summary
+Summary
 
 
   
@@ -211,23 +221,23 @@
 
   
   
-  
+  
   
-Project Team
+Team
 
 
   
   
-  
+  
   
-Source Repository
+Source Code Management
 
 
   
   
-  
+  
   
-Issue Tracking
+Issue Management
 
 
   
@@ -260,9 +270,9 @@
 
   
   
-  
+  
   
-Continuous Integration
+CI Management
 
 
   
@@ -274,9 +284,9 @@
 
   
   
-  
+  
   
-Project Plugins
+Plugins
 
 
   
@@ -298,13 +308,6 @@
   
   
   
-  
-  
-Ant Tasks
-
-
-  
-  
   
   
 Archetype
@@ -404,40 +407,39 @@
   
   
   
-  http://www.apache.org/foundation/how-it-works.html; class="externalLink" 
title="How Apache Works">
+  

svn commit: r999063 [22/26] - in /websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/pmd/ apidocs/org/apache/maven/plugin/pmd/cl

2016-10-08 Thread adangel
Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref/org/apache/maven/plugin/pmd/CpdReport.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref/org/apache/maven/plugin/pmd/CpdReport.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref/org/apache/maven/plugin/pmd/CpdReport.html
 Sat Oct  8 16:53:12 2016
@@ -34,387 +34,418 @@
 26  import java.io.OutputStreamWriter;
 27  import java.io.UnsupportedEncodingException;
 28  import java.io.Writer;
-29  import java.util.Locale;
-30  import java.util.Properties;
-31  import java.util.ResourceBundle;
-32  
-33  import net.sourceforge.pmd.cpd.CPD;
-34  import net.sourceforge.pmd.cpd.CPDConfiguration;
-35  import net.sourceforge.pmd.cpd.CSVRenderer;
-36  import net.sourceforge.pmd.cpd.EcmascriptLanguage;
-37  import net.sourceforge.pmd.cpd.JSPLanguage;
-38  import net.sourceforge.pmd.cpd.JavaLanguage;
-39  import net.sourceforge.pmd.cpd.JavaTokenizer;
-40  import net.sourceforge.pmd.cpd.Language;
-41  import net.sourceforge.pmd.cpd.LanguageFactory;
-42  import net.sourceforge.pmd.cpd.Renderer;
-43  import net.sourceforge.pmd.cpd.XMLRenderer;
-44  
-45  import org.apache.maven.plugins.annotations.Mojo;
-46  import 
org.apache.maven.plugins.annotations.Parameter;
-47  import 
org.apache.maven.reporting.MavenReportException;
-48  import org.codehaus.plexus.util.FileUtils;
-49  import org.codehaus.plexus.util.IOUtil;
-50  import org.codehaus.plexus.util.StringUtils;
-51  import org.codehaus.plexus.util.WriterFactory;
-52  
-53  /**
-54   * Creates a report for PMD's CPD tool. See 
a
-55   * href="http://pmd.sourceforge.net/cpd.html; 
target="alexandria_uri">http://pmd.sourceforge.net/cpd.html"http://pmd.sourceforge.net/cpd.html; 
target="alexandria_uri">http://pmd.sourceforge.net/cpd.html/a for 
more detail.
-56   *
-57   * @author Mike Perham
-58   * @version $Id$
-59   * @since 2.0
-60   */
-61  @Mojo( name = "cpd", threadSafe = true )
-62  public class 
CpdReport
-63  extends AbstractPmdReport
-64  {
-65  /**
-66   * The programming language to be analyzed by 
CPD. Valid values are currently codejava/code,
-67   * codejavascript/code or 
codejsp/code.
-68   *
-69   * @since 3.5
-70   */
-71  @Parameter( 
defaultValue = "java" )
-72  private String language;
-73  
-74  /**
-75   * The minimum number of tokens that need to be 
duplicated before it causes a violation.
-76   */
-77  @Parameter( 
property = "minimumTokens", defaultValue = 
"100" )
-78  private int 
minimumTokens;
-79  
-80  /**
-81   * Skip the CPD report generation. Most useful 
on the command line via "-Dcpd.skip=true".
-82   *
-83   * @since 2.1
-84   */
-85  @Parameter( 
property = "cpd.skip", defaultValue = "false" )
-86  private boolean skip;
-87  
-88  /**
-89   * If true, CPD ignores literal value 
differences when evaluating a duplicate block. This means that
-90   * codefoo=42;/code and 
codefoo=43;/code will be seen as equivalent. You may want to 
run PMD with this
-91   * option off to start with and then switch it 
on to see what it turns up.
-92   *
-93   * @since 2.5
-94   */
-95  @Parameter( 
property = "cpd.ignoreLiterals", defaultValue = 
"false" )
-96  private boolean ignoreLiterals;
-97  
-98  /**
-99   * Similar to 
codeignoreLiterals/code but for identifiers; i.e., variable 
names, methods names, and so forth.
-100  *
-101  * @since 2.5
-102  */
-103 @Parameter( 
property = "cpd.ignoreIdentifiers", 
defaultValue = "false" )
-104 private boolean ignoreIdentifiers;
-105 
-106 /** The CPD instance used to analyze the files. Will 
itself collect the duplicated code matches. */
-107 private CPD cpd;
-108 
-109 /**
-110  * {@inheritDoc}
-111  */
-112 public String getName( Locale locale )
-113 {
-114 return getBundle( locale ).getString( "report.cpd.name" );
-115 }
-116 
-117 /**
-118  * {@inheritDoc}
-119  */
-120 public String getDescription( Locale locale )
-121 {
-122 return getBundle( locale ).getString( "report.cpd.description" );
-123 }
-124 
-125 /**
-126  * {@inheritDoc}
-127  */
-128 @Override
-129 public void 
executeReport( Locale locale )
-130 throws MavenReportException
-131 {
-132 try
-133 {
-134 
execute( locale );
-135 }
-136 finally
-137 {
-138 if ( getSink() != null )
-139 {
-140 
getSink().close();
-141 }
+29  import java.util.ArrayList;
+30  import java.util.Iterator;
+31  import java.util.List;
+32  import java.util.Locale;
+33  import java.util.Properties;
+34  import java.util.ResourceBundle;
+35  
+36  import 

svn commit: r999063 [17/26] - in /websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/pmd/ apidocs/org/apache/maven/plugin/pmd/cl

2016-10-08 Thread adangel
Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref-test/org/apache/maven/plugin/pmd/CpdReportTest.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref-test/org/apache/maven/plugin/pmd/CpdReportTest.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref-test/org/apache/maven/plugin/pmd/CpdReportTest.html
 Sat Oct  8 16:53:12 2016
@@ -34,18 +34,18 @@
 26  import java.util.ArrayList;
 27  import java.util.Iterator;
 28  import java.util.List;
-29  import java.util.Locale;
-30  
-31  import javax.xml.parsers.DocumentBuilder;
-32  import javax.xml.parsers.DocumentBuilderFactory;
-33  
-34  import net.sourceforge.pmd.cpd.CPD;
-35  import net.sourceforge.pmd.cpd.CPDConfiguration;
-36  import net.sourceforge.pmd.cpd.JavaLanguage;
-37  import net.sourceforge.pmd.cpd.Mark;
-38  import net.sourceforge.pmd.cpd.Match;
-39  import net.sourceforge.pmd.cpd.TokenEntry;
-40  
+29  
+30  import javax.xml.parsers.DocumentBuilder;
+31  import javax.xml.parsers.DocumentBuilderFactory;
+32  
+33  import net.sourceforge.pmd.cpd.CPD;
+34  import net.sourceforge.pmd.cpd.CPDConfiguration;
+35  import net.sourceforge.pmd.cpd.JavaLanguage;
+36  import net.sourceforge.pmd.cpd.Mark;
+37  import net.sourceforge.pmd.cpd.Match;
+38  import net.sourceforge.pmd.cpd.TokenEntry;
+39  
+40  import org.apache.commons.lang3.StringUtils;
 41  import org.codehaus.plexus.util.FileUtils;
 42  import org.w3c.dom.Document;
 43  
@@ -91,253 +91,267 @@
 83  
 84  // check the contents of cpd.html
 85  String str = 
readFile( new File( getBasedir(), "target/test/unit/default-configuration/target/site/cpd.html"
 ) );
-86  assertTrue( 
str.toLowerCase().contains( "AppSample.java".toLowerCase() ) );
+86  assertTrue( 
lowerCaseContains( str, "AppSample.java" ) );
 87  
 88  str = 
readFile( new File( getBasedir(), "target/test/unit/default-configuration/target/site/cpd.html"
 ) );
-89  assertTrue( 
str.toLowerCase().contains( "App.java".toLowerCase() ) );
+89  assertTrue( 
lowerCaseContains( str, "App.java" ) );
 90  
 91  str = 
readFile( new File( getBasedir(), "target/test/unit/default-configuration/target/site/cpd.html"
 ) );
-92  assertTrue( 
str.toLowerCase().contains( "public String dup( String 
str )".toLowerCase() ) );
+92  assertTrue( 
lowerCaseContains( str, "public String dup( String str 
)" ) );
 93  
 94  str = 
readFile( new File( getBasedir(), "target/test/unit/default-configuration/target/site/cpd.html"
 ) );
-95  assertTrue( 
str.toLowerCase().contains( "tmp = tmp + 
str.substring( i, i + 1);".toLowerCase() ) );
-96  
-97  }
-98  
-99  /**
-100  * Test CPDReport using custom configuration
-101  *
-102  * @throws Exception
-103  */
-104 public void 
testCustomConfiguration()
-105 throws Exception
-106 {
-107 File 
testPom =
-108 new File( getBasedir(),
-109 
  "src/test/resources/unit/custom-configuration/cpd-custom-configuration-plugin-config.xml"
 );
-110 CpdReport 
mojo = (CpdReport) lookupMojo( "cpd", testPom );
-111 
mojo.execute();
-112 
-113 // check if the CPD files were generated
-114 File 
generatedFile = new File( getBasedir(), 
"target/test/unit/custom-configuration/target/cpd.csv"
 );
-115 assertTrue( 
FileUtils.fileExists( generatedFile.getAbsolutePath() ) );
-116 
-117 
generatedFile = new File( getBasedir(), 
"target/test/unit/custom-configuration/target/site/cpd.html"
 );
-118 renderer( 
mojo, generatedFile );
-119 assertTrue( 
FileUtils.fileExists( generatedFile.getAbsolutePath() ) );
-120 
-121 // Contents that should NOT be in the report
-122 String str 
= readFile( new File( getBasedir(), "target/test/unit/custom-configuration/target/site/cpd.html"
 ) );
-123 assertTrue( 
!str.toLowerCase().contains( "/Sample.java".toLowerCase() ) );
-124 
-125 str = 
readFile( new File( getBasedir(), "target/test/unit/custom-configuration/target/site/cpd.html"
 ) );
-126 assertTrue( 
!str.toLowerCase().contains( "public void 
duplicateMethod( int i )".toLowerCase() ) );
-127 
-128 // Contents that should be in the report
-129 str = 
readFile( new File( getBasedir(), "target/test/unit/custom-configuration/target/site/cpd.html"
 ) );
-130 assertTrue( 
str.toLowerCase().contains( "AnotherSample.java".toLowerCase() ) );
-131 
-132 str = 
readFile( new File( getBasedir(), "target/test/unit/custom-configuration/target/site/cpd.html"
 ) );
-133 assertTrue( 
str.toLowerCase().contains( "public static void main( 
String[] args )".toLowerCase() ) );
-134 
-135 str = 
readFile( new File( getBasedir(), 

svn commit: r999063 [4/26] - in /websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/pmd/ apidocs/org/apache/maven/plugin/pmd/cla

2016-10-08 Thread adangel
Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/apidocs/org/apache/maven/plugin/pmd/class-use/HelpMojo.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/apidocs/org/apache/maven/plugin/pmd/class-use/HelpMojo.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/apidocs/org/apache/maven/plugin/pmd/class-use/HelpMojo.html
 Sat Oct  8 16:53:12 2016
@@ -1,15 +1,15 @@
 http://www.w3.org/TR/html4/loose.dtd;>
 
-
+
 
 
-Uses of Class org.apache.maven.plugin.pmd.HelpMojo (Apache Maven PMD 
Plugin 3.6 API)
+Uses of Class org.apache.maven.plugin.pmd.HelpMojo (Apache Maven PMD 
Plugin 3.7 API)
 
 
 
 
 
@@ -110,6 +110,6 @@
 
 
 
-Copyright  20052015 http://www.apache.org/;>The Apache Software Foundation. All rights 
reserved.
+Copyright  20052016 https://www.apache.org/;>The Apache Software Foundation. All rights 
reserved.
 
 
\ No newline at end of file

Added: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/apidocs/org/apache/maven/plugin/pmd/class-use/PmdCollectingRenderer.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/apidocs/org/apache/maven/plugin/pmd/class-use/PmdCollectingRenderer.html
 (added)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/apidocs/org/apache/maven/plugin/pmd/class-use/PmdCollectingRenderer.html
 Sat Oct  8 16:53:12 2016
@@ -0,0 +1,115 @@
+http://www.w3.org/TR/html4/loose.dtd;>
+
+
+
+
+Uses of Class org.apache.maven.plugin.pmd.PmdCollectingRenderer (Apache 
Maven PMD Plugin 3.7 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+Overview
+Package
+Class
+Use
+Tree
+Deprecated
+Index
+Help
+
+
+
+
+Prev
+Next
+
+
+Frames
+No Frames
+
+
+All Classes
+
+
+
+
+
+
+
+
+
+
+Uses of 
Classorg.apache.maven.plugin.pmd.PmdCollectingRenderer
+
+No usage of 
org.apache.maven.plugin.pmd.PmdCollectingRenderer
+
+
+
+
+
+
+
+Overview
+Package
+Class
+Use
+Tree
+Deprecated
+Index
+Help
+
+
+
+
+Prev
+Next
+
+
+Frames
+No Frames
+
+
+All Classes
+
+
+
+
+
+
+
+
+
+Copyright  20052016 https://www.apache.org/;>The Apache Software Foundation. All rights 
reserved.
+
+
\ No newline at end of file

Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/apidocs/org/apache/maven/plugin/pmd/class-use/PmdFileInfo.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/apidocs/org/apache/maven/plugin/pmd/class-use/PmdFileInfo.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/apidocs/org/apache/maven/plugin/pmd/class-use/PmdFileInfo.html
 Sat Oct  8 16:53:12 2016
@@ -1,15 +1,15 @@
 http://www.w3.org/TR/html4/loose.dtd;>
 
-
+
 
 
-Uses of Class org.apache.maven.plugin.pmd.PmdFileInfo (Apache Maven PMD 
Plugin 3.6 API)
+Uses of Class org.apache.maven.plugin.pmd.PmdFileInfo (Apache Maven PMD 
Plugin 3.7 API)
 
 
 
 
 
@@ -194,6 +194,6 @@
 
 
 
-Copyright  20052015 http://www.apache.org/;>The Apache Software Foundation. All rights 
reserved.
+Copyright  20052016 https://www.apache.org/;>The Apache Software Foundation. All rights 
reserved.
 
 
\ No newline at end of file

Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/apidocs/org/apache/maven/plugin/pmd/class-use/PmdReport.html

svn commit: r999063 [8/26] - in /websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/pmd/ apidocs/org/apache/maven/plugin/pmd/cla

2016-10-08 Thread adangel
Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/dependency-convergence.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/dependency-convergence.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/dependency-convergence.html
 Sat Oct  8 16:53:12 2016
@@ -1,31 +1,37 @@
 
 
 http://www.w3.org/1999/xhtml; xml:lang="en" lang="en">
   
 
 
-
+
 
 Apache Maven PMD Plugin  Dependency Convergence
-
+
 
 
 
   
-
+
 
-  
-
-https://www.google-analytics.com/urchin.js"; 
type="text/javascript">
-  
-
-_uacct = "UA-140879-1";
-urchinTracker();
-  
-  
+  
+
+
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-140879-1']);
+  _gaq.push(['_trackPageview']);
+
+  (function() {
+var ga = document.createElement('script'); ga.type = 
'text/javascript'; ga.async = true;
+ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
+var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
+  })();
+
+
+  
 
   
 
@@ -34,8 +40,8 @@
 
   
 
-http://www.apache.org/; 
id="bannerLeft">
-   
 
+https://www.apache.org/; 
id="bannerLeft">
+   
 
 
   
 
@@ -47,10 +53,9 @@
 
   
 
-
-
+  
   
-http://www.apache.org/; class="externalLink" 
title="Apache">
+https://www.apache.org/; class="externalLink" 
title="Apache">
 Apache
 /
   
@@ -64,18 +69,17 @@
 Plugins
 /
   
-
-
+
+
 Apache Maven PMD Plugin
 /
   
 Dependency Convergence
 
-
-
-  | Last Published: 2015-12-13
+  
+  | Last Published: 2016-10-08
   
-Version: 3.6
+Version: 3.7
 
 
 
@@ -85,8 +89,7 @@
   
 
   
-
-
+  
 
 Overview
   
@@ -135,6 +138,13 @@
   
   
   
+  
+  
+Multimodule Configuration
+
+
+  
+  
   
   
 Remove Report
@@ -199,9 +209,9 @@
 
   
   
-  
+  
   
-Project Summary
+Summary
 
 
   
@@ -213,23 +223,23 @@
 
   
   
-  
+  
   
-Project Team
+Team
 
 
   
   
-  
+  
   
-Source Repository
+Source Code Management
 
 
   
   
-  
+  
   
-Issue Tracking
+Issue Management
 
 
   
@@ -260,9 +270,9 @@
 
   
   
-  
+  
   
-Continuous Integration
+CI Management
 
 
   
@@ -274,9 +284,9 @@
 
   
   
-  
+  
   
-Project Plugins
+Plugins
 
 
   
@@ -298,13 +308,6 @@
   
   
   
-  
-  
-Ant Tasks
-
-
-  
-  
   
   
 Archetype
@@ -404,40 +407,39 @@
   
   
   
-  http://www.apache.org/foundation/how-it-works.html; class="externalLink" 
title="How Apache Works">
+  

svn commit: r999063 [12/26] - in /websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/pmd/ apidocs/org/apache/maven/plugin/pmd/cl

2016-10-08 Thread adangel
Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/invoker-report.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/invoker-report.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/invoker-report.html
 Sat Oct  8 16:53:12 2016
@@ -1,31 +1,37 @@
 
 
 http://www.w3.org/1999/xhtml; xml:lang="en" lang="en">
   
 
 
-
+
 
 Apache Maven PMD Plugin  Invoker Report
-
+
 
 
 
   
-
+
 
-  
-
-https://www.google-analytics.com/urchin.js"; 
type="text/javascript">
-  
-
-_uacct = "UA-140879-1";
-urchinTracker();
-  
-  
+  
+
+
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-140879-1']);
+  _gaq.push(['_trackPageview']);
+
+  (function() {
+var ga = document.createElement('script'); ga.type = 
'text/javascript'; ga.async = true;
+ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
+var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
+  })();
+
+
+  
 
   
 
@@ -34,8 +40,8 @@
 
   
 
-http://www.apache.org/; 
id="bannerLeft">
-   
 
+https://www.apache.org/; 
id="bannerLeft">
+   
 
 
   
 
@@ -47,10 +53,9 @@
 
   
 
-
-
+  
   
-http://www.apache.org/; class="externalLink" 
title="Apache">
+https://www.apache.org/; class="externalLink" 
title="Apache">
 Apache
 /
   
@@ -64,18 +69,17 @@
 Plugins
 /
   
-
-
+
+
 Apache Maven PMD Plugin
 /
   
 Invoker Report
 
-
-
-  | Last Published: 2015-12-13
+  
+  | Last Published: 2016-10-08
   
-Version: 3.6
+Version: 3.7
 
 
 
@@ -85,8 +89,7 @@
   
 
   
-
-
+  
 
 Overview
   
@@ -135,6 +138,13 @@
   
   
   
+  
+  
+Multimodule Configuration
+
+
+  
+  
   
   
 Remove Report
@@ -291,13 +301,6 @@
   
   
   
-  
-  
-Ant Tasks
-
-
-  
-  
   
   
 Archetype
@@ -397,40 +400,39 @@
   
   
   
-  http://www.apache.org/foundation/how-it-works.html; class="externalLink" 
title="How Apache Works">
+  https://www.apache.org/foundation/how-it-works.html; class="externalLink" 
title="How Apache Works">
   
 How Apache Works
 
 
   
   
-  http://www.apache.org/foundation/; 
class="externalLink" title="Foundation">
+  https://www.apache.org/foundation/; 
class="externalLink" title="Foundation">
   
 Foundation
 
 
   
   
-  http://www.apache.org/foundation/sponsorship.html; class="externalLink" 
title="Sponsoring Apache">
+  https://www.apache.org/foundation/sponsorship.html; class="externalLink" 
title="Sponsoring Apache">
   
 Sponsoring Apache
 
 
   
   
-  http://www.apache.org/foundation/thanks.html; class="externalLink" 
title="Thanks">
+  https://www.apache.org/foundation/thanks.html; class="externalLink" 
title="Thanks">
   
 Thanks
 
 
-
-
+  
 https://www.google.com/search; method="get" >
 
   
   
 

svn commit: r999063 [15/26] - in /websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/pmd/ apidocs/org/apache/maven/plugin/pmd/cl

2016-10-08 Thread adangel
Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/testapidocs/allclasses-frame.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/testapidocs/allclasses-frame.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/testapidocs/allclasses-frame.html
 Sat Oct  8 16:53:12 2016
@@ -1,9 +1,9 @@
 http://www.w3.org/TR/html4/loose.dtd;>
 
-
+
 
 
-All Classes (Apache Maven PMD Plugin 3.6 Test API)
+All Classes (Apache Maven PMD Plugin 3.7 Test API)
 
 
 

Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/testapidocs/allclasses-noframe.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/testapidocs/allclasses-noframe.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/testapidocs/allclasses-noframe.html
 Sat Oct  8 16:53:12 2016
@@ -1,9 +1,9 @@
 http://www.w3.org/TR/html4/loose.dtd;>
 
-
+
 
 
-All Classes (Apache Maven PMD Plugin 3.6 Test API)
+All Classes (Apache Maven PMD Plugin 3.7 Test API)
 
 
 

Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/testapidocs/constant-values.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/testapidocs/constant-values.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/testapidocs/constant-values.html
 Sat Oct  8 16:53:12 2016
@@ -1,15 +1,15 @@
 http://www.w3.org/TR/html4/loose.dtd;>
 
-
+
 
 
-Constant Field Values (Apache Maven PMD Plugin 3.6 Test API)
+Constant Field Values (Apache Maven PMD Plugin 3.7 Test API)
 
 
 
 
 
@@ -110,6 +110,6 @@
 
 
 
-Copyright  20052015 http://www.apache.org/;>The Apache Software Foundation. All rights 
reserved.
+Copyright  20052016 https://www.apache.org/;>The Apache Software Foundation. All rights 
reserved.
 
 
\ No newline at end of file

Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/testapidocs/deprecated-list.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/testapidocs/deprecated-list.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/testapidocs/deprecated-list.html
 Sat Oct  8 16:53:12 2016
@@ -1,15 +1,15 @@
 http://www.w3.org/TR/html4/loose.dtd;>
 
-
+
 
 
-Deprecated List (Apache Maven PMD Plugin 3.6 Test API)
+Deprecated List (Apache Maven PMD Plugin 3.7 Test API)
 
 
 
 
 
@@ -110,6 +110,6 @@
 
 
 
-Copyright  20052015 http://www.apache.org/;>The Apache Software Foundation. All rights 
reserved.
+Copyright  20052016 https://www.apache.org/;>The Apache Software Foundation. All rights 
reserved.
 
 
\ No newline at end of file

Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/testapidocs/help-doc.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/testapidocs/help-doc.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/testapidocs/help-doc.html
 Sat Oct  8 16:53:12 2016
@@ -1,15 +1,15 @@
 http://www.w3.org/TR/html4/loose.dtd;>
 
-
+
 
 
-API Help (Apache Maven PMD Plugin 3.6 Test API)
+API Help (Apache Maven PMD Plugin 3.7 Test API)
 
 
 
 
 
@@ -215,6 +215,6 @@
 
 
 
-Copyright  20052015 http://www.apache.org/;>The Apache Software Foundation. All rights 
reserved.
+Copyright  20052016 https://www.apache.org/;>The Apache Software Foundation. All rights 
reserved.
 
 
\ No newline at end of file

Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/testapidocs/index-all.html

svn commit: r999063 [11/26] - in /websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/pmd/ apidocs/org/apache/maven/plugin/pmd/cl

2016-10-08 Thread adangel
Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/examples/violation-exclusions.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/examples/violation-exclusions.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/examples/violation-exclusions.html
 Sat Oct  8 16:53:12 2016
@@ -1,32 +1,38 @@
 
 
 http://www.w3.org/1999/xhtml; xml:lang="en" lang="en">
   
 
 
 
-
+
 
 Apache Maven PMD Plugin  Violation Exclusions
-
+
 
 
 
   
-
+
 
-  
-
-https://www.google-analytics.com/urchin.js"; 
type="text/javascript">
-  
-
-_uacct = "UA-140879-1";
-urchinTracker();
-  
-  
+  
+
+
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-140879-1']);
+  _gaq.push(['_trackPageview']);
+
+  (function() {
+var ga = document.createElement('script'); ga.type = 
'text/javascript'; ga.async = true;
+ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
+var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
+  })();
+
+
+  
 
   
 
@@ -35,8 +41,8 @@
 
   
 
-http://www.apache.org/; 
id="bannerLeft">
-   
 
+https://www.apache.org/; 
id="bannerLeft">
+   
 
 
   
 
@@ -48,10 +54,9 @@
 
   
 
-
-
+  
   
-http://www.apache.org/; class="externalLink" 
title="Apache">
+https://www.apache.org/; class="externalLink" 
title="Apache">
 Apache
 /
   
@@ -66,17 +71,16 @@
 /
   
 
-
+
 Apache Maven PMD Plugin
 /
   
 Violation Exclusions
 
-
-
-  | Last Published: 2015-12-13
+  
+  | Last Published: 2016-10-08
   
-Version: 3.6
+Version: 3.7
 
 
 
@@ -86,8 +90,7 @@
   
 
   
-
-
+  
 
 Overview
   
@@ -136,6 +139,13 @@
   
   
   
+  
+  
+Multimodule Configuration
+
+
+  
+  
   
   
 Remove Report
@@ -199,13 +209,6 @@
   
   
   
-  
-  
-Ant Tasks
-
-
-  
-  
   
   
 Archetype
@@ -305,40 +308,39 @@
   
   
   
-  http://www.apache.org/foundation/how-it-works.html; class="externalLink" 
title="How Apache Works">
+  https://www.apache.org/foundation/how-it-works.html; class="externalLink" 
title="How Apache Works">
   
 How Apache Works
 
 
   
   
-  http://www.apache.org/foundation/; 
class="externalLink" title="Foundation">
+  https://www.apache.org/foundation/; 
class="externalLink" title="Foundation">
   
 Foundation
 
 
   
   
-  http://www.apache.org/foundation/sponsorship.html; class="externalLink" 
title="Sponsoring Apache">
+  https://www.apache.org/foundation/sponsorship.html; class="externalLink" 
title="Sponsoring Apache">
   
 Sponsoring Apache
 
 
   
   
-  http://www.apache.org/foundation/thanks.html; class="externalLink" 
title="Thanks">
+  https://www.apache.org/foundation/thanks.html; class="externalLink" 
title="Thanks">
   
 Thanks
 
 
-
-
+  
 https://www.google.com/search; method="get" 

svn commit: r999063 [2/26] - in /websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/pmd/ apidocs/org/apache/maven/plugin/pmd/cla

2016-10-08 Thread adangel
Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/apidocs/org/apache/maven/plugin/pmd/AbstractPmdViolationCheckMojo.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/apidocs/org/apache/maven/plugin/pmd/AbstractPmdViolationCheckMojo.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/apidocs/org/apache/maven/plugin/pmd/AbstractPmdViolationCheckMojo.html
 Sat Oct  8 16:53:12 2016
@@ -1,15 +1,15 @@
 http://www.w3.org/TR/html4/loose.dtd;>
 
-
+
 
 
-AbstractPmdViolationCheckMojo (Apache Maven PMD Plugin 3.6 API)
+AbstractPmdViolationCheckMojo (Apache Maven PMD Plugin 3.7 API)
 
 
 
 
 
@@ -171,10 +171,14 @@ extends http://maven.apache.org
 
 Constructors
 
-Constructor and Description
+Modifier
+Constructor and Description
 
 
-AbstractPmdViolationCheckMojo()
+protected 
+AbstractPmdViolationCheckMojo(ExcludeFromFileDexcludeFromFile)
+Initialize this abstact check mojo by giving the correct 
ExcludeFromFile helper.
+
 
 
 
@@ -209,17 +213,9 @@ extends http://maven.apache.org
 getPriority(DerrorDetail)
 
 
-protected abstract boolean
-isExcludedFromFailure(DerrorDetail)
-
-
 boolean
 isFailOnViolation()
 
-
-protected abstract void
-loadExcludeFromFailuresData(http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true;
 title="class or interface in 
java.lang">StringexcludeFromFailureFile)
-
 
 protected abstract ViolationDetailsD
 newViolationDetailsInstance()
@@ -322,13 +318,15 @@ protectedorg.apache.maven.project.
 
 
 Constructor Detail
-
+
 
 
 
 
 AbstractPmdViolationCheckMojo
-publicAbstractPmdViolationCheckMojo()
+protectedAbstractPmdViolationCheckMojo(ExcludeFromFileDexcludeFromFile)
+Initialize this abstact check mojo by giving the correct 
ExcludeFromFile helper.
+Parameters:excludeFromFile - the 
needed helper, for the specific violation type
 
 
 
@@ -356,18 +354,6 @@ protectedorg.apache.maven.project.
 http://maven.apache.org/maven-plugin-api/apidocs/org/apache/maven/plugin/MojoExecutionException.html?is-external=true;
 title="class or interface in 
org.apache.maven.plugin">MojoExecutionException
 
 
-
-
-
-
-
-loadExcludeFromFailuresData
-protected abstractvoidloadExcludeFromFailuresData(http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true;
 title="class or interface in java.lang">StringexcludeFromFailureFile)
- throws http://maven.apache.org/maven-plugin-api/apidocs/org/apache/maven/plugin/MojoExecutionException.html?is-external=true;
 title="class or interface in 
org.apache.maven.plugin">MojoExecutionException
-Throws:
-http://maven.apache.org/maven-plugin-api/apidocs/org/apache/maven/plugin/MojoExecutionException.html?is-external=true;
 title="class or interface in 
org.apache.maven.plugin">MojoExecutionException
-
-
 
 
 
@@ -379,17 +365,6 @@ protectedorg.apache.maven.project.
 protected abstractintgetPriority(DerrorDetail)
 
 
-
-
-
-
-
-
-
-isExcludedFromFailure
-protected abstractbooleanisExcludedFromFailure(DerrorDetail)
-
-
 
 
 
@@ -432,12 +407,12 @@ protectedorg.apache.maven.project.
 
 getErrorDetails
 protected abstracthttp://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true;
 title="class or interface in java.util">ListDgetErrorDetails(http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true;
 title="class or interface in java.io">FileanalisysFile)
-throws http://plexus.codehaus.org/plexus-utils/apidocs/org/codehaus/plexus/util/xml/pull/XmlPullParserException.html?is-external=true;
 title="class or interface in 
org.codehaus.plexus.util.xml.pull">XmlPullParserException,
+throws http://codehaus-plexus.github.io/plexus-utils/apidocs/org/codehaus/plexus/util/xml/pull/XmlPullParserException.html?is-external=true;
 title="class or interface in 
org.codehaus.plexus.util.xml.pull">XmlPullParserException,
http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true;
 title="class or interface in java.io">IOException
 Gets the attributes and text for the violation tag and puts 
them in a HashMap
 Parameters:analisysFile - 
 Throws:
-http://plexus.codehaus.org/plexus-utils/apidocs/org/codehaus/plexus/util/xml/pull/XmlPullParserException.html?is-external=true;
 title="class or interface in 
org.codehaus.plexus.util.xml.pull">XmlPullParserException

svn commit: r999063 [16/26] - in /websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/pmd/ apidocs/org/apache/maven/plugin/pmd/cl

2016-10-08 Thread adangel
Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/testapidocs/overview-tree.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/testapidocs/overview-tree.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/testapidocs/overview-tree.html
 Sat Oct  8 16:53:12 2016
@@ -1,15 +1,15 @@
 http://www.w3.org/TR/html4/loose.dtd;>
 
-
+
 
 
-Class Hierarchy (Apache Maven PMD Plugin 3.6 Test API)
+Class Hierarchy (Apache Maven PMD Plugin 3.7 Test API)
 
 
 
 
 
@@ -173,6 +173,6 @@
 
 
 
-Copyright  20052015 http://www.apache.org/;>The Apache Software Foundation. All rights 
reserved.
+Copyright  20052016 https://www.apache.org/;>The Apache Software Foundation. All rights 
reserved.
 
 
\ No newline at end of file

Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/testapidocs/package-list
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/testapidocs/package-list
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/testapidocs/package-list
 Sat Oct  8 16:53:12 2016
@@ -1,2 +1,2 @@
-org.apache.maven.plugin.pmd
-org.apache.maven.plugin.pmd.stubs
+org.apache.maven.plugin.pmd
+org.apache.maven.plugin.pmd.stubs

Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/usage.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/usage.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/usage.html
 Sat Oct  8 16:53:12 2016
@@ -1,7 +1,7 @@
 
 
 http://www.w3.org/1999/xhtml; xml:lang="en" lang="en">
   
@@ -9,25 +9,31 @@
 
 
 
-
+
 
 Apache Maven PMD Plugin  Usage
-
+
 
 
 
   
-
+
 
-  
-
-https://www.google-analytics.com/urchin.js"; 
type="text/javascript">
-  
-
-_uacct = "UA-140879-1";
-urchinTracker();
-  
-  
+  
+
+
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-140879-1']);
+  _gaq.push(['_trackPageview']);
+
+  (function() {
+var ga = document.createElement('script'); ga.type = 
'text/javascript'; ga.async = true;
+ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
+var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
+  })();
+
+
+  
 
   
 
@@ -36,8 +42,8 @@
 
   
 
-http://www.apache.org/; 
id="bannerLeft">
-   
 
+https://www.apache.org/; 
id="bannerLeft">
+   
 
 
   
 
@@ -49,10 +55,9 @@
 
   
 
-
-
+  
   
-http://www.apache.org/; class="externalLink" 
title="Apache">
+https://www.apache.org/; class="externalLink" 
title="Apache">
 Apache
 /
   
@@ -66,18 +71,17 @@
 Plugins
 /
   
-
-
+
+
 Apache Maven PMD Plugin
 /
   
 Usage
 
-
-
-  | Last Published: 2015-12-13
+  
+  | Last Published: 2016-10-08
   
-Version: 3.6
+Version: 3.7
 
 
 
@@ -87,8 +91,7 @@
   
 
   
-
-
+  
 
 Overview
   
@@ -135,6 +138,13 @@
   
   
   
+  
+  
+Multimodule Configuration
+
+
+  
+  

svn commit: r999063 [6/26] - in /websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/pmd/ apidocs/org/apache/maven/plugin/pmd/cla

2016-10-08 Thread adangel
Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/cpd-check-mojo.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/cpd-check-mojo.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/cpd-check-mojo.html
 Sat Oct  8 16:53:12 2016
@@ -1,31 +1,37 @@
 
 
 http://www.w3.org/1999/xhtml; xml:lang="en" lang="en">
   
 
 
-
+
 
 Apache Maven PMD Plugin  pmd:cpd-check
-
+
 
 
 
   
-
+
 
-  
-
-https://www.google-analytics.com/urchin.js"; 
type="text/javascript">
-  
-
-_uacct = "UA-140879-1";
-urchinTracker();
-  
-  
+  
+
+
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-140879-1']);
+  _gaq.push(['_trackPageview']);
+
+  (function() {
+var ga = document.createElement('script'); ga.type = 
'text/javascript'; ga.async = true;
+ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
+var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
+  })();
+
+
+  
 
   
 
@@ -34,8 +40,8 @@
 
   
 
-http://www.apache.org/; 
id="bannerLeft">
-   
 
+https://www.apache.org/; 
id="bannerLeft">
+   
 
 
   
 
@@ -47,10 +53,9 @@
 
   
 
-
-
+  
   
-http://www.apache.org/; class="externalLink" 
title="Apache">
+https://www.apache.org/; class="externalLink" 
title="Apache">
 Apache
 /
   
@@ -64,18 +69,17 @@
 Plugins
 /
   
-
-
+
+
 Apache Maven PMD Plugin
 /
   
 pmd:cpd-check
 
-
-
-  | Last Published: 2015-12-13
+  
+  | Last Published: 2016-10-08
   
-Version: 3.6
+Version: 3.7
 
 
 
@@ -85,8 +89,7 @@
   
 
   
-
-
+  
 
 Overview
   
@@ -135,6 +138,13 @@
   
   
   
+  
+  
+Multimodule Configuration
+
+
+  
+  
   
   
 Remove Report
@@ -200,13 +210,6 @@
   
   
   
-  
-  
-Ant Tasks
-
-
-  
-  
   
   
 Archetype
@@ -306,40 +309,39 @@
   
   
   
-  http://www.apache.org/foundation/how-it-works.html; class="externalLink" 
title="How Apache Works">
+  https://www.apache.org/foundation/how-it-works.html; class="externalLink" 
title="How Apache Works">
   
 How Apache Works
 
 
   
   
-  http://www.apache.org/foundation/; 
class="externalLink" title="Foundation">
+  https://www.apache.org/foundation/; 
class="externalLink" title="Foundation">
   
 Foundation
 
 
   
   
-  http://www.apache.org/foundation/sponsorship.html; class="externalLink" 
title="Sponsoring Apache">
+  https://www.apache.org/foundation/sponsorship.html; class="externalLink" 
title="Sponsoring Apache">
   
 Sponsoring Apache
 
 
   
   
-  http://www.apache.org/foundation/thanks.html; class="externalLink" 
title="Thanks">
+  https://www.apache.org/foundation/thanks.html; class="externalLink" 
title="Thanks">
   
 Thanks
 
 
-
-
+  
 https://www.google.com/search; method="get" >
 
   
   
 

svn commit: r999063 [13/26] - in /websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/pmd/ apidocs/org/apache/maven/plugin/pmd/cl

2016-10-08 Thread adangel
Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/plugins.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/plugins.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/plugins.html
 Sat Oct  8 16:53:12 2016
@@ -1,31 +1,37 @@
 
 
 http://www.w3.org/1999/xhtml; xml:lang="en" lang="en">
   
 
 
-
+
 
-Apache Maven PMD Plugin  Project Build Plugins
-
+Apache Maven PMD Plugin  Project Plugins
+
 
 
 
   
-
+
 
-  
-
-https://www.google-analytics.com/urchin.js"; 
type="text/javascript">
-  
-
-_uacct = "UA-140879-1";
-urchinTracker();
-  
-  
+  
+
+
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-140879-1']);
+  _gaq.push(['_trackPageview']);
+
+  (function() {
+var ga = document.createElement('script'); ga.type = 
'text/javascript'; ga.async = true;
+ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
+var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
+  })();
+
+
+  
 
   
 
@@ -34,8 +40,8 @@
 
   
 
-http://www.apache.org/; 
id="bannerLeft">
-   
 
+https://www.apache.org/; 
id="bannerLeft">
+   
 
 
   
 
@@ -47,10 +53,9 @@
 
   
 
-
-
+  
   
-http://www.apache.org/; class="externalLink" 
title="Apache">
+https://www.apache.org/; class="externalLink" 
title="Apache">
 Apache
 /
   
@@ -64,18 +69,17 @@
 Plugins
 /
   
-
-
+
+
 Apache Maven PMD Plugin
 /
   
-Project Build Plugins
+Project Plugins
 
-
-
-  | Last Published: 2015-12-13
+  
+  | Last Published: 2016-10-08
   
-Version: 3.6
+Version: 3.7
 
 
 
@@ -85,8 +89,7 @@
   
 
   
-
-
+  
 
 Overview
   
@@ -135,6 +138,13 @@
   
   
   
+  
+  
+Multimodule Configuration
+
+
+  
+  
   
   
 Remove Report
@@ -199,9 +209,9 @@
 
   
   
-  
+  
   
-Project Summary
+Summary
 
 
   
@@ -213,23 +223,23 @@
 
   
   
-  
+  
   
-Project Team
+Team
 
 
   
   
-  
+  
   
-Source Repository
+Source Code Management
 
 
   
   
-  
+  
   
-Issue Tracking
+Issue Management
 
 
   
@@ -262,9 +272,9 @@
 
   
   
-  
+  
   
-Continuous Integration
+CI Management
 
 
   
@@ -276,7 +286,7 @@
 
   
   
-Project Plugins
+Plugins
   
 
   
@@ -298,13 +308,6 @@
   
   
   
-  
-  
-Ant Tasks
-
-
-  
-  
   
   
 Archetype
@@ -404,40 +407,39 @@
   
   
   
-  http://www.apache.org/foundation/how-it-works.html; class="externalLink" 
title="How Apache Works">
+  https://www.apache.org/foundation/how-it-works.html; 

svn commit: r999063 [10/26] - in /websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/pmd/ apidocs/org/apache/maven/plugin/pmd/cl

2016-10-08 Thread adangel
Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/examples/jspReport.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/examples/jspReport.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/examples/jspReport.html
 Sat Oct  8 16:53:12 2016
@@ -1,438 +1,419 @@
-
-
-http://www.w3.org/1999/xhtml; xml:lang="en" lang="en">
-  
-
-
-
-
-
-
-Apache Maven PMD Plugin  Analyzing JSP Code
-
-
-
-
-  
-
-
-  
-
-https://www.google-analytics.com/urchin.js"; 
type="text/javascript">
-  
-
-_uacct = "UA-140879-1";
-urchinTracker();
-  
-  
-
-  
-
-
-
-
-  
-
-http://www.apache.org/; 
id="bannerLeft">
-   
 
-
-  
-
-   
 
-
-  
-
-  
-
-  
-
-
-
-  
-http://www.apache.org/; class="externalLink" 
title="Apache">
-Apache
-/
-  
-
-
-Maven
-/
-  
-
-
-Plugins
-/
-  
-
-
-Apache Maven PMD Plugin
-/
-  
-Analyzing JSP Code
-
-
-
-  | Last Published: 2015-12-13
-  
-Version: 3.6
-
-
-
-  
-
-
-  
-
-  
-
-
-
-Overview
-  
-  
-  
-  
-  
-Introduction
-
-
-  
-  
-  
-  
-Goals
-
-
-  
-  
-  
-  
-Usage
-
-
-  
-  
-  
-  
-FAQ
-
-
-  
-  
-  http://www.apache.org/licenses/; 
class="externalLink" title="License">
-  
-License
-
-
-  
-  
-  
-  
-Download
-
-  Examples
-  
-  
-  
-  
-  
-Remove Report
-
-
-  
-  
-  
-  
-Target JDK
-
-
-  
-  
-  
-  
-Using Rule Sets
-
-
-  
-  
-  
-  
-Violation Checking
-
-
-  
-  
-  
-  
-Analyzing JavaScript
-
-
-  
-  
-Analyzing Java Server 
Pages
-  
-
-  
-  
-  
-  
-Violations Exclusions
-
-  Project Documentation
-   


   
-  
-  
-  
-  
-Project Information
-  
-   


   
-  
-  
-  
-  
-Project Reports
-  
-  Maven Projects
-  
-  
-  
-  
-  
-Ant Tasks
-
-
-  
-  
-  
-  
-Archetype
-
-
-  
-  
-  
-  
-Doxia
-
-
-  
-  
-  

svn commit: r999063 [25/26] - in /websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/pmd/ apidocs/org/apache/maven/plugin/pmd/cl

2016-10-08 Thread adangel
Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref/org/apache/maven/plugin/pmd/PmdReport.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref/org/apache/maven/plugin/pmd/PmdReport.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref/org/apache/maven/plugin/pmd/PmdReport.html
 Sat Oct  8 16:53:12 2016
@@ -35,624 +35,663 @@
 27  import java.io.PrintStream;
 28  import java.io.Writer;
 29  import java.util.ArrayList;
-30  import java.util.Collections;
-31  import java.util.List;
-32  import java.util.Locale;
-33  import java.util.Properties;
-34  import java.util.ResourceBundle;
-35  
-36  import net.sourceforge.pmd.PMD;
-37  import net.sourceforge.pmd.PMDConfiguration;
-38  import net.sourceforge.pmd.Report;
-39  import net.sourceforge.pmd.RuleContext;
-40  import net.sourceforge.pmd.RulePriority;
-41  import net.sourceforge.pmd.RuleSetFactory;
-42  import net.sourceforge.pmd.RuleSetReferenceId;
-43  import net.sourceforge.pmd.benchmark.Benchmarker;
-44  import net.sourceforge.pmd.benchmark.TextReport;
-45  import net.sourceforge.pmd.lang.LanguageRegistry;
-46  import net.sourceforge.pmd.lang.LanguageVersion;
-47  import net.sourceforge.pmd.renderers.CSVRenderer;
-48  import net.sourceforge.pmd.renderers.HTMLRenderer;
-49  import net.sourceforge.pmd.renderers.Renderer;
-50  import net.sourceforge.pmd.renderers.TextRenderer;
-51  import net.sourceforge.pmd.renderers.XMLRenderer;
-52  import 
net.sourceforge.pmd.util.datasource.DataSource;
-53  import 
net.sourceforge.pmd.util.datasource.FileDataSource;
-54  
-55  import org.apache.maven.doxia.sink.Sink;
-56  import 
org.apache.maven.plugins.annotations.Component;
-57  import org.apache.maven.plugins.annotations.Mojo;
-58  import 
org.apache.maven.plugins.annotations.Parameter;
-59  import 
org.apache.maven.plugins.annotations.ResolutionScope;
-60  import 
org.apache.maven.reporting.MavenReportException;
-61  import 
org.codehaus.plexus.resource.ResourceManager;
-62  import 
org.codehaus.plexus.resource.loader.FileResourceCreationException;
-63  import 
org.codehaus.plexus.resource.loader.FileResourceLoader;
-64  import 
org.codehaus.plexus.resource.loader.ResourceNotFoundException;
-65  import org.codehaus.plexus.util.FileUtils;
-66  import org.codehaus.plexus.util.IOUtil;
-67  import org.codehaus.plexus.util.ReaderFactory;
-68  import org.codehaus.plexus.util.StringUtils;
-69  
-70  /**
-71   * Creates a PMD report.
-72   *
-73   * @author Brett Porter
-74   * @version $Id$
-75   * @since 2.0
-76   */
-77  @Mojo( name = "pmd", threadSafe = true, requiresDependencyResolution = 
ResolutionScope.TEST )
-78  public class 
PmdReport
-79  extends AbstractPmdReport
-80  {
-81  /**
-82   * The target JDK to analyze based on. Should 
match the target used in the compiler plugin. Valid values are
-83   * currently code1.3/code, 
code1.4/code, code1.5/code, 
code1.6/code, code1.7/code and
-84   * code1.8/code.
-85   * p
-86   *   bNote:/b this parameter is 
only used if the language parameter is set to 
codejava/code.
-87   * /p
-88   */
-89  @Parameter( 
property = "targetJdk", defaultValue = "${maven.compiler.target}" )
-90  private String targetJdk;
-91  
-92  /**
-93   * The programming language to be analyzed by 
PMD. Valid values are currently codejava/code,
-94   * codejavascript/code and 
codejsp/code.
-95   *
-96   * @since 3.0
-97   */
-98  @Parameter( 
defaultValue = "java" )
-99  private String language;
-100 
-101 /**
-102  * The rule priority threshold; rules with lower 
priority than this will not be evaluated.
-103  *
-104  * @since 2.1
-105  */
-106 @Parameter( 
property = "minimumPriority", defaultValue = 
"5" )
-107 private int 
minimumPriority = 5;
-108 
-109 /**
-110  * Skip the PMD report generation. Most useful 
on the command line via "-Dpmd.skip=true".
-111  *
-112  * @since 2.1
-113  */
-114 @Parameter( 
property = "pmd.skip", defaultValue = "false" )
-115 private boolean skip;
-116 
-117 /**
-118  * The PMD rulesets to use. See the a 
href="http://pmd.sourceforge.net/rules/index.html; 
target="alexandria_uri">http://pmd.sourceforge.net/rules/index.html"Stock
 Rulesets/a for a
-119  * list of some included. Defaults to the 
java-basic, java-imports and java-unusedcode rulesets.
-120  */
-121 @Parameter
-122 private String[] rulesets = new String[] { "java-basic", "java-unusedcode", "java-imports" };
-123 
-124 /**
-125  * Controls whether the project's compile/test 
classpath should be passed to PMD to enable its type resolution
-126  * feature.
-127  *
-128  * @since 3.0
-129  */
-130 @Parameter( 
property = "pmd.typeResolution", defaultValue = 

svn commit: r999063 [26/26] - in /websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/pmd/ apidocs/org/apache/maven/plugin/pmd/cl

2016-10-08 Thread adangel
Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref/org/apache/maven/plugin/pmd/PmdReportGenerator.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref/org/apache/maven/plugin/pmd/PmdReportGenerator.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref/org/apache/maven/plugin/pmd/PmdReportGenerator.html
 Sat Oct  8 16:53:12 2016
@@ -60,7 +60,7 @@
 52  
 53  private ResourceBundle bundle;
 54  
-55  private HashSetRuleViolation violations = 
new HashSetRuleViolation();
+55  private HashSetRuleViolation violations = 
new HashSet();
 56  
 57  private boolean aggregate;
 58  
@@ -86,12 +86,12 @@
 78  
 79  public void 
setViolations( CollectionRuleViolation violations )
 80  {
-81  this.violations = new HashSetRuleViolation( violations );
+81  this.violations = new HashSet( violations );
 82  }
 83  
 84  public ListRuleViolation getViolations()
 85  {
-86  return new 
ArrayListRuleViolation( violations );
+86  return new 
ArrayList( violations );
 87  }
 88  
 89  // public ListMetric getMetrics()
@@ -171,7 +171,7 @@
 163 throws IOException
 164 {
 165 fileCount = 
files.size();
-166 
ArrayListRuleViolation violations2 = new ArrayListRuleViolation( violations );
+166 
ArrayListRuleViolation violations2 = new ArrayList( violations );
 167 
Collections.sort( violations2, new 
ComparatorRuleViolation()
 168 {
 169 /** {@inheritDoc} */
@@ -331,6 +331,6 @@
 323 }
 
 
-Copyright  20052015 http://www.apache.org/;>The Apache Software Foundation. All rights 
reserved.
+Copyright  20052016 https://www.apache.org/;>The Apache Software Foundation. All rights 
reserved.
 
 
\ No newline at end of file

Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref/org/apache/maven/plugin/pmd/PmdViolationCheckMojo.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref/org/apache/maven/plugin/pmd/PmdViolationCheckMojo.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref/org/apache/maven/plugin/pmd/PmdViolationCheckMojo.html
 Sat Oct  8 16:53:12 2016
@@ -27,44 +27,44 @@
 19   * under the License.
 20   */
 21  
-22  import 
org.apache.maven.plugin.MojoExecutionException;
-23  import 
org.apache.maven.plugin.MojoFailureException;
-24  import 
org.apache.maven.plugin.pmd.model.PmdErrorDetail;
-25  import org.apache.maven.plugin.pmd.model.PmdFile;
-26  import org.apache.maven.plugin.pmd.model.Violation;
-27  import 
org.apache.maven.plugin.pmd.model.io.xpp3.PmdXpp3Reader;
-28  import 
org.apache.maven.plugins.annotations.Execute;
-29  import 
org.apache.maven.plugins.annotations.LifecyclePhase;
-30  import org.apache.maven.plugins.annotations.Mojo;
-31  import 
org.apache.maven.plugins.annotations.Parameter;
-32  import org.codehaus.plexus.util.IOUtil;
-33  import org.codehaus.plexus.util.StringUtils;
-34  import 
org.codehaus.plexus.util.xml.pull.XmlPullParserException;
-35  
-36  import java.io.File;
-37  import java.io.FileInputStream;
-38  import java.io.FileReader;
-39  import java.io.IOException;
-40  import java.util.ArrayList;
-41  import java.util.HashMap;
-42  import java.util.HashSet;
-43  import java.util.List;
-44  import java.util.Map;
-45  import java.util.Map.Entry;
-46  import java.util.Properties;
-47  import java.util.Set;
-48  
-49  /**
-50   * Fail the build if there were any PMD violations 
in the source code.
-51   *
-52   * @version $Id$
-53   * @since 2.0
-54   */
-55  @Mojo( name = "check", defaultPhase = LifecyclePhase.VERIFY, 
threadSafe = true )
-56  @Execute( goal = 
"pmd" )
-57  public class 
PmdViolationCheckMojo
-58  extends 
AbstractPmdViolationCheckMojoViolation
-59  {
+22  import java.io.File;
+23  import java.io.FileReader;
+24  import java.io.IOException;
+25  import java.util.ArrayList;
+26  import java.util.List;
+27  
+28  import 
org.apache.maven.plugin.MojoExecutionException;
+29  import 
org.apache.maven.plugin.MojoFailureException;
+30  import 
org.apache.maven.plugin.pmd.model.PmdErrorDetail;
+31  import org.apache.maven.plugin.pmd.model.PmdFile;
+32  import org.apache.maven.plugin.pmd.model.Violation;
+33  import 
org.apache.maven.plugin.pmd.model.io.xpp3.PmdXpp3Reader;
+34  import 
org.apache.maven.plugins.annotations.Execute;
+35  import 
org.apache.maven.plugins.annotations.LifecyclePhase;
+36  import org.apache.maven.plugins.annotations.Mojo;
+37  import 
org.apache.maven.plugins.annotations.Parameter;
+38  import org.codehaus.plexus.util.StringUtils;
+39  import 
org.codehaus.plexus.util.xml.pull.XmlPullParserException;
+40  
+41 

svn commit: r999063 [24/26] - in /websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/pmd/ apidocs/org/apache/maven/plugin/pmd/cl

2016-10-08 Thread adangel
Added: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref/org/apache/maven/plugin/pmd/PmdCollectingRenderer.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref/org/apache/maven/plugin/pmd/PmdCollectingRenderer.html
 (added)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref/org/apache/maven/plugin/pmd/PmdCollectingRenderer.html
 Sat Oct  8 16:53:12 2016
@@ -0,0 +1,165 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;>
+http://www.w3.org/1999/xhtml; xml:lang="en" lang="en">
+
+PmdCollectingRenderer xref
+
+
+
+View
 Javadoc
+1   package org.apache.maven.plugin.pmd;
+2   
+3   /*
+4* Licensed to the Apache Software Foundation (ASF) under 
one
+5* or more contributor license agreements.  See the NOTICE 
file
+6* distributed with this work for additional 
information
+7* regarding copyright ownership.  The ASF licenses this 
file
+8* to you under the Apache License, Version 2.0 (the
+9* "License"); you may not use this file except in 
compliance
+10   * with the License.  You may obtain a copy of the License 
at
+11   *
+12   *   http://www.apache.org/licenses/LICENSE-2.; 
target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0
+13   *
+14   * Unless required by applicable law or agreed to in 
writing,
+15   * software distributed under the License is distributed on 
an
+16   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF 
ANY
+17   * KIND, either express or implied.  See the License for 
the
+18   * specific language governing permissions and 
limitations
+19   * under the License.
+20   */
+21  
+22  import java.io.IOException;
+23  import java.util.ArrayList;
+24  import java.util.Collections;
+25  import java.util.Iterator;
+26  import java.util.List;
+27  
+28  import net.sourceforge.pmd.Report;
+29  import net.sourceforge.pmd.Report.ProcessingError;
+30  import net.sourceforge.pmd.RuleViolation;
+31  import 
net.sourceforge.pmd.renderers.AbstractRenderer;
+32  import 
net.sourceforge.pmd.util.datasource.DataSource;
+33  
+34  import org.codehaus.plexus.util.StringUtils;
+35  
+36  
+37  /**
+38   * A PMD renderer, that collects all violations and 
processing errors
+39   * from a pmd execution.
+40   * 
+41   * @author Andreas Dangel
+42   */
+43  public class 
PmdCollectingRenderer
 extends AbstractRenderer
+44  {
+45  private ListProcessingError errors = 
Collections.synchronizedList( new 
ArrayListProcessingError() );
+46  private ListRuleViolation violations = 
Collections.synchronizedList( new 
ArrayListRuleViolation() );
+47  
+48  /**
+49   * Collects all reports from all threads.
+50   */
+51  public PmdCollectingRenderer()
+52  {
+53  super( PmdCollectingRenderer.class.getSimpleName(), "Collects all reports from all threads" );
+54  }
+55  
+56  @Override
+57  public void 
renderFileReport( Report report ) throws 
IOException
+58  {
+59  for ( RuleViolation v : report )
+60  {
+61  
violations.add( v );
+62  }
+63  for ( IteratorProcessingError it = 
report.errors(); it.hasNext(); )
+64  {
+65  
errors.add( it.next() );
+66  }
+67  }
+68  
+69  /**
+70   * Checks whether any violations have been 
found.
+71   * @return codetrue/code if at 
least one violations has been found
+72   */
+73  public boolean hasViolations()
+74  {
+75  return !violations.isEmpty();
+76  }
+77  
+78  /**
+79   * Gets the list of all found violations.
+80   * @return the violations
+81   */
+82  public ListRuleViolation getViolations()
+83  {
+84  return violations;
+85  }
+86  
+87  /**
+88   * Checks whether any processing errors have 
been found.
+89   * @return codetrue/code if any 
errors have been found
+90   */
+91  public boolean hasErrors()
+92  {
+93  return !errors.isEmpty();
+94  }
+95  
+96  /**
+97   * Gets all the processing errors.
+98   * @return the errors
+99   */
+100 public ListProcessingError getErrors()
+101 {
+102 return errors;
+103 }
+104 
+105 /**
+106  * Gets the errors as a single string. Each 
error is in its own line.
+107  * @return the errors as string
+108  */
+109 public String getErrorsAsString()
+110 {
+111 
ListString errorsAsString = new 
ArrayList( errors.size() );
+112 for ( ProcessingError error : errors )
+113 {
+114 
errorsAsString.add( error.getFile() + ": " + 
error.getMsg() );
+115 }
+116 return StringUtils.join( errorsAsString.toArray(), 
System.getProperty( "line.separator" ) );
+117 }
+118 
+119 /**
+120  * Create a new single report with all 
violations for further rendering 

svn commit: r999063 [18/26] - in /websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/pmd/ apidocs/org/apache/maven/plugin/pmd/cl

2016-10-08 Thread adangel
Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref-test/org/apache/maven/plugin/pmd/PmdReportTest.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref-test/org/apache/maven/plugin/pmd/PmdReportTest.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref-test/org/apache/maven/plugin/pmd/PmdReportTest.html
 Sat Oct  8 16:53:12 2016
@@ -32,414 +32,447 @@
 24  import java.io.FileReader;
 25  import java.io.IOException;
 26  import java.net.URL;
-27  import java.util.Locale;
-28  
-29  import org.apache.commons.io.IOUtils;
-30  import org.codehaus.plexus.util.FileUtils;
-31  import org.codehaus.plexus.util.IOUtil;
-32  
-33  import 
com.github.tomakehurst.wiremock.WireMockServer;
-34  import 
com.github.tomakehurst.wiremock.client.WireMock;
-35  
-36  /**
-37   * @author a href="mailto:och...@apache.org; 
target="alexandria_uri">mailto:och...@apache.org"Maria Odea 
Ching/a
-38   * @version $Id$
-39   */
-40  public class 
PmdReportTest
-41  extends AbstractPmdReportTest
-42  {
-43  /**
-44   * {@inheritDoc}
-45   */
-46  @Override
-47  protected void setUp()
-48  throws Exception
-49  {
-50  super.setUp();
-51  
FileUtils.deleteDirectory( new File( 
getBasedir(), "target/test/unit" ) );
-52  }
-53  
-54  public void 
testDefaultConfiguration()
-55  throws Exception
-56  {
-57  
FileUtils.copyDirectoryStructure( new 
File( getBasedir(),
-58
  "src/test/resources/unit/default-configuration/jxr-files"
 ),
-59
new File( 
getBasedir(), "target/test/unit/default-configuration/target/site" 
) );
-60  
-61  File testPom =
-62  new File( getBasedir(),
-63
"src/test/resources/unit/default-configuration/default-configuration-plugin-config.xml"
 );
-64  PmdReport 
mojo = (PmdReport) lookupMojo( "pmd", testPom );
-65  
mojo.execute();
-66  
-67  // check if the PMD files were generated
-68  File 
generatedFile = new File( getBasedir(), 
"target/test/unit/default-configuration/target/pmd.xml"
 );
-69  assertTrue( 
FileUtils.fileExists( generatedFile.getAbsolutePath() ) );
-70  
-71  // check if the rulesets, that have been applied, have been 
copied
-72  generatedFile 
= new File( getBasedir(), "target/test/unit/default-configuration/target/java-basic.xml"
 );
-73  assertTrue( 
FileUtils.fileExists( generatedFile.getAbsolutePath() ) );
-74  
-75  generatedFile 
= new File( getBasedir(), "target/test/unit/default-configuration/target/java-imports.xml"
 );
-76  assertTrue( 
FileUtils.fileExists( generatedFile.getAbsolutePath() ) );
-77  
-78  generatedFile 
= new File( getBasedir(), "target/test/unit/default-configuration/target/java-unusedcode.xml"
 );
-79  assertTrue( 
FileUtils.fileExists( generatedFile.getAbsolutePath() ) );
-80  
-81  generatedFile 
= new File( getBasedir(), "target/test/unit/default-configuration/target/site/pmd.html"
 );
-82  renderer( 
mojo, generatedFile );
-83  assertTrue( 
FileUtils.fileExists( generatedFile.getAbsolutePath() ) );
-84  
-85  // check if there's a link to the JXR files
-86  String str = 
readFile( new File( getBasedir(), "target/test/unit/default-configuration/target/site/pmd.html"
 ) );
-87  
-88  assertTrue( 
str.contains( "/xref/def/configuration/App.html#L31" ) );
-89  
-90  assertTrue( 
str.contains( "/xref/def/configuration/AppSample.html#L45" ) );
-91  }
-92  
-93  public void 
testJavascriptConfiguration()
-94  throws Exception
-95  {
-96  File testPom =
-97  new File( getBasedir(),
-98
"src/test/resources/unit/default-configuration/javascript-configuration-plugin-config.xml"
 );
-99  PmdReport 
mojo = (PmdReport) lookupMojo( "pmd", testPom );
-100 
mojo.execute();
-101 
-102 // check if the PMD files were generated
-103 File 
generatedFile = new File( getBasedir(), 
"target/test/unit/default-configuration/target/pmd.xml"
 );
-104 assertTrue( 
FileUtils.fileExists( generatedFile.getAbsolutePath() ) );
-105 
-106 // these are the rulesets, that have been applied...
-107 
generatedFile = new File( getBasedir(), 
"target/test/unit/default-configuration/target/ecmascript-basic.xml"
 );
-108 assertTrue( 
FileUtils.fileExists( generatedFile.getAbsolutePath() ) );
-109 
-110 
generatedFile = new File( getBasedir(), 
"target/test/unit/default-configuration/target/ecmascript-braces.xml"
 );
-111 assertTrue( 
FileUtils.fileExists( generatedFile.getAbsolutePath() ) );
-112 

svn commit: r999063 [3/26] - in /websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/pmd/ apidocs/org/apache/maven/plugin/pmd/cla

2016-10-08 Thread adangel
Added: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/apidocs/org/apache/maven/plugin/pmd/PmdCollectingRenderer.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/apidocs/org/apache/maven/plugin/pmd/PmdCollectingRenderer.html
 (added)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/apidocs/org/apache/maven/plugin/pmd/PmdCollectingRenderer.html
 Sat Oct  8 16:53:12 2016
@@ -0,0 +1,483 @@
+http://www.w3.org/TR/html4/loose.dtd;>
+
+
+
+
+PmdCollectingRenderer (Apache Maven PMD Plugin 3.7 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+Overview
+Package
+Class
+Use
+Tree
+Deprecated
+Index
+Help
+
+
+
+
+Prev 
Class
+Next 
Class
+
+
+Frames
+No Frames
+
+
+All Classes
+
+
+
+
+
+
+
+Summary:
+Nested|
+Field|
+Constr|
+Method
+
+
+Detail:
+Field|
+Constr|
+Method
+
+
+
+
+
+
+
+
+org.apache.maven.plugin.pmd
+Class 
PmdCollectingRenderer
+
+
+
+http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true;
 title="class or interface in java.lang">java.lang.Object
+
+
+http://pmd.sourceforge.net/pmd-core/apidocs/net/sourceforge/pmd/AbstractPropertySource.html?is-external=true;
 title="class or interface in 
net.sourceforge.pmd">net.sourceforge.pmd.AbstractPropertySource
+
+
+http://pmd.sourceforge.net/pmd-core/apidocs/net/sourceforge/pmd/renderers/AbstractRenderer.html?is-external=true;
 title="class or interface in 
net.sourceforge.pmd.renderers">net.sourceforge.pmd.renderers.AbstractRenderer
+
+
+org.apache.maven.plugin.pmd.PmdCollectingRenderer
+
+
+
+
+
+
+
+
+
+
+
+All Implemented Interfaces:
+http://pmd.sourceforge.net/pmd-core/apidocs/net/sourceforge/pmd/PropertySource.html?is-external=true;
 title="class or interface in net.sourceforge.pmd">PropertySource, http://pmd.sourceforge.net/pmd-core/apidocs/net/sourceforge/pmd/renderers/Renderer.html?is-external=true;
 title="class or interface in net.sourceforge.pmd.renderers">Renderer
+
+
+
+public class PmdCollectingRenderer
+extends http://pmd.sourceforge.net/pmd-core/apidocs/net/sourceforge/pmd/renderers/AbstractRenderer.html?is-external=true;
 title="class or interface in 
net.sourceforge.pmd.renderers">AbstractRenderer
+A PMD renderer, that collects all violations and processing 
errors
+ from a pmd execution.
+Author:
+  Andreas Dangel
+
+
+
+
+
+
+
+
+
+
+
+Field Summary
+
+
+
+
+Fields inherited from classnet.sourceforge.pmd.renderers.http://pmd.sourceforge.net/pmd-core/apidocs/net/sourceforge/pmd/renderers/AbstractRenderer.html?is-external=true;
 title="class or interface in 
net.sourceforge.pmd.renderers">AbstractRenderer
+http://pmd.sourceforge.net/pmd-core/apidocs/net/sourceforge/pmd/renderers/AbstractRenderer.html?is-external=true#description;
 title="class or interface in net.sourceforge.pmd.renderers">description, 
http://pmd.sourceforge.net/pmd-core/apidocs/net/sourceforge/pmd/renderers/AbstractRenderer.html?is-external=true#name;
 title="class or interface in net.sourceforge.pmd.renderers">name, http://pmd.sourceforge.net/pmd-core/apidocs/net/sourceforge/pmd/renderers/AbstractRenderer.html?is-external=true#propertyDefinitions;
 title="class or interface in 
net.sourceforge.pmd.renderers">propertyDefinitions, http://pmd.sourceforge.net/pmd-core/apidocs/net/sourceforge/pmd/renderers/AbstractRenderer.html?is-external=true#showSuppressedViolations;
 title="class or interface in 
net.sourceforge.pmd.renderers">showSuppressedViolations, http://pmd.sourceforge.net/pmd-core/apidocs/net/sourceforge/pmd/renderers/AbstractRenderer.html?is-externa
 l=true#writer" title="class or interface in 
net.sourceforge.pmd.renderers">writer
+
+
+
+
+
+Fields inherited from classnet.sourceforge.pmd.http://pmd.sourceforge.net/pmd-core/apidocs/net/sourceforge/pmd/AbstractPropertySource.html?is-external=true;
 title="class or interface in 
net.sourceforge.pmd">AbstractPropertySource
+http://pmd.sourceforge.net/pmd-core/apidocs/net/sourceforge/pmd/AbstractPropertySource.html?is-external=true#propertyDescriptors;
 title="class or interface in net.sourceforge.pmd">propertyDescriptors, http://pmd.sourceforge.net/pmd-core/apidocs/net/sourceforge/pmd/AbstractPropertySource.html?is-external=true#propertyValuesByDescriptor;
 title="class or interface in 
net.sourceforge.pmd">propertyValuesByDescriptor
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Constructor and Description
+
+
+PmdCollectingRenderer()
+Collects all reports from all threads.
+
+
+
+
+
+
+
+
+
+
+Method 

svn commit: r999063 [19/26] - in /websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/pmd/ apidocs/org/apache/maven/plugin/pmd/cl

2016-10-08 Thread adangel
Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref-test/org/apache/maven/plugin/pmd/PmdViolationCheckMojoTest.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref-test/org/apache/maven/plugin/pmd/PmdViolationCheckMojoTest.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref-test/org/apache/maven/plugin/pmd/PmdViolationCheckMojoTest.html
 Sat Oct  8 16:53:12 2016
@@ -159,13 +159,13 @@
 151 new File( getBasedir(),
 152 
  "src/test/resources/unit/default-configuration/pmd-check-pmd-exclusions-configuration-plugin-config.xml"
 );
 153 final PmdViolationCheckMojo pmdViolationMojo = 
(PmdViolationCheckMojo) lookupMojo( "check", 
testPom );
-154 
pmdViolationMojo.execute();
-155 
-156 assertTrue( 
true );
+154 
+155 // this call shouldn't throw an exception, as the classes 
with violations have been excluded
+156 
pmdViolationMojo.execute();
 157 }
 158 }
 
 
-Copyright  20052015 http://www.apache.org/;>The Apache Software Foundation. All rights 
reserved.
+Copyright  20052016 https://www.apache.org/;>The Apache Software Foundation. All rights 
reserved.
 
 
\ No newline at end of file

Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref-test/org/apache/maven/plugin/pmd/package-frame.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref-test/org/apache/maven/plugin/pmd/package-frame.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref-test/org/apache/maven/plugin/pmd/package-frame.html
 Sat Oct  8 16:53:12 2016
@@ -3,7 +3,7 @@
 


-   Apache Maven PMD Plugin 3.6 Reference Package 
org.apache.maven.plugin.pmd
+   Apache Maven PMD Plugin 3.7 Reference Package 
org.apache.maven.plugin.pmd




Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref-test/org/apache/maven/plugin/pmd/package-summary.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref-test/org/apache/maven/plugin/pmd/package-summary.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref-test/org/apache/maven/plugin/pmd/package-summary.html
 Sat Oct  8 16:53:12 2016
@@ -3,7 +3,7 @@
 


-   Apache Maven PMD Plugin 3.6 Reference Package 
org.apache.maven.plugin.pmd
+   Apache Maven PMD Plugin 3.7 Reference Package 
org.apache.maven.plugin.pmd



@@ -88,7 +88,7 @@



-   Copyright  20052015 http://www.apache.org/;>The Apache Software Foundation. All rights 
reserved.
+   Copyright  20052016 https://www.apache.org/;>The Apache Software Foundation. All rights 
reserved.


 
\ No newline at end of file

Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref-test/org/apache/maven/plugin/pmd/stubs/CustomConfigurationMavenProjectStub.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref-test/org/apache/maven/plugin/pmd/stubs/CustomConfigurationMavenProjectStub.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref-test/org/apache/maven/plugin/pmd/stubs/CustomConfigurationMavenProjectStub.html
 Sat Oct  8 16:53:12 2016
@@ -49,7 +49,7 @@
 41  {
 42  private Build build;
 43  
-44  private ListReportPlugin reportPlugins = 
new ArrayListReportPlugin();
+44  private ListReportPlugin reportPlugins = 
new ArrayList();
 45  
 46  public CustomConfigurationMavenProjectStub()
 47  {
@@ -88,7 +88,7 @@
 80  
setReportPlugins( model.getReporting().getPlugins() );
 81  
 82  String 
basedir = getBasedir().getAbsolutePath();
-83  
ListString compileSourceRoots = new ArrayListString();
+83  
ListString compileSourceRoots = new ArrayList();
 84  
compileSourceRoots.add( basedir + "/src/test/resources/unit/custom-configuration/custom/configuration"
 );
 85  
setCompileSourceRoots( compileSourceRoots );
 86  
@@ -128,6 +128,6 @@
 120 }
 
 
-Copyright  20052015 http://www.apache.org/;>The Apache Software Foundation. All rights 
reserved.
+Copyright  20052016 https://www.apache.org/;>The Apache Software Foundation. All rights 
reserved.
 
 
\ 

svn commit: r999063 [23/26] - in /websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/pmd/ apidocs/org/apache/maven/plugin/pmd/cl

2016-10-08 Thread adangel
Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref/org/apache/maven/plugin/pmd/CpdReportGenerator.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref/org/apache/maven/plugin/pmd/CpdReportGenerator.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref/org/apache/maven/plugin/pmd/CpdReportGenerator.html
 Sat Oct  8 16:53:12 2016
@@ -227,6 +227,6 @@
 219 }
 
 
-Copyright  20052015 http://www.apache.org/;>The Apache Software Foundation. All rights 
reserved.
+Copyright  20052016 https://www.apache.org/;>The Apache Software Foundation. All rights 
reserved.
 
 
\ No newline at end of file

Modified: 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref/org/apache/maven/plugin/pmd/CpdViolationCheckMojo.html
==
--- 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref/org/apache/maven/plugin/pmd/CpdViolationCheckMojo.html
 (original)
+++ 
websites/production/maven/components/plugins-archives/maven-pmd-plugin-LATEST/xref/org/apache/maven/plugin/pmd/CpdViolationCheckMojo.html
 Sat Oct  8 16:53:12 2016
@@ -30,211 +30,123 @@
 22  import java.io.File;
 23  import java.io.FileReader;
 24  import java.io.IOException;
-25  import java.io.LineNumberReader;
-26  import java.util.ArrayList;
-27  import java.util.HashSet;
-28  import java.util.List;
-29  import java.util.Set;
-30  
-31  import 
org.apache.maven.plugin.MojoExecutionException;
-32  import 
org.apache.maven.plugin.MojoFailureException;
-33  import 
org.apache.maven.plugin.pmd.model.CpdErrorDetail;
-34  import org.apache.maven.plugin.pmd.model.CpdFile;
-35  import 
org.apache.maven.plugin.pmd.model.Duplication;
-36  import 
org.apache.maven.plugin.pmd.model.io.xpp3.CpdXpp3Reader;
-37  import 
org.apache.maven.plugins.annotations.Execute;
-38  import 
org.apache.maven.plugins.annotations.LifecyclePhase;
-39  import org.apache.maven.plugins.annotations.Mojo;
-40  import 
org.apache.maven.plugins.annotations.Parameter;
-41  import 
org.codehaus.plexus.util.xml.pull.XmlPullParserException;
-42  
-43  /**
-44   * Fail the build if there were any CPD violations 
in the source code.
-45   *
-46   * @version $Id$
-47   * @since 2.0
-48   */
-49  @Mojo( name = "cpd-check", defaultPhase = LifecyclePhase.VERIFY, 
threadSafe = true )
-50  @Execute( goal = 
"cpd" )
-51  public class 
CpdViolationCheckMojo
-52  extends 
AbstractPmdViolationCheckMojoDuplication
-53  {
-54  
-55  /**
-56   * Skip the CPD violation checks. Most useful on 
the command line via "-Dcpd.skip=true".
-57   */
-58  @Parameter( 
property = "cpd.skip", defaultValue = "false" )
-59  private boolean skip;
-60  
-61  private final 
ListSetString exclusionList = new ArrayListSetString();
-62  
-63  /**
-64   * Whether to fail the build if the validation 
check fails.
-65   *
-66   * @since 3.0
-67   */
-68  @Parameter( 
property = "cpd.failOnViolation", defaultValue 
= "true", required = true )
-69  protected boolean failOnViolation;
-70  
-71  /**
-72   * {@inheritDoc}
-73   */
-74  public void 
execute()
-75  throws MojoExecutionException, MojoFailureException
-76  {
-77  if ( !skip )
-78  {
-79  
executeCheck( "cpd.xml", "duplication", "CPD 
duplication", 10 );
-80  }
-81  }
-82  
-83  /**
-84   * {@inheritDoc}
-85   */
-86  @Override
-87  protected void printError( Duplication item, String severity 
)
-88  {
-89  int lines = item.getLines();
-90  
-91  StringBuilder 
buff = new StringBuilder( 100 );
-92  buff.append( 
"CPD " ).append( severity ).append( ": Found " );
-93  buff.append( 
lines ).append( " lines of duplicated code at 
locations:" );
-94  this.getLog().info( buff.toString() );
-95  
-96  for ( CpdFile file : item.getFiles() )
-97  {
-98  
buff.setLength( 0 );
-99  
buff.append( "" );
-100 
buff.append( file.getPath() );
-101 
buff.append( " line " ).append( file.getLine() 
);
-102 this.getLog().info( buff.toString() );
-103 }
-104 
-105 this.getLog().debug( "CPD 
" + severity + ": Code Fragment " );
-106 this.getLog().debug( item.getCodefragment() );
-107 }
-108 
-109 /**
-110  * {@inheritDoc}
-111  */
-112 @Override
-113 protected ListDuplication getErrorDetails( 
File cpdFile )
-114 throws XmlPullParserException, IOException
-115 {
-116 
CpdXpp3Reader reader = new CpdXpp3Reader();
-117 
CpdErrorDetail details = reader.read( new 
FileReader( cpdFile ), false );
-118 return details.getDuplications();

svn commit: r1763916 - /maven/plugins/trunk/maven-pmd-plugin/pom.xml

2016-10-08 Thread adangel
Author: adangel
Date: Sat Oct  8 16:09:01 2016
New Revision: 1763916

URL: http://svn.apache.org/viewvc?rev=1763916=rev
Log:
[maven-release-plugin] prepare for next development iteration

Modified:
maven/plugins/trunk/maven-pmd-plugin/pom.xml

Modified: maven/plugins/trunk/maven-pmd-plugin/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pmd-plugin/pom.xml?rev=1763916=1763915=1763916=diff
==
--- maven/plugins/trunk/maven-pmd-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-pmd-plugin/pom.xml Sat Oct  8 16:09:01 2016
@@ -30,7 +30,7 @@ under the License.
   
 
   maven-pmd-plugin
-  3.7
+  3.8-SNAPSHOT
   maven-plugin
 
   Apache Maven PMD Plugin
@@ -64,9 +64,9 @@ under the License.
   
 
   
-
scm:svn:http://svn.apache.org/repos/asf/maven/plugins/tags/maven-pmd-plugin-3.7
-
scm:svn:https://svn.apache.org/repos/asf/maven/plugins/tags/maven-pmd-plugin-3.7
-
http://svn.apache.org/viewvc/maven/plugins/tags/maven-pmd-plugin-3.7
+
scm:svn:http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-pmd-plugin/
+
scm:svn:https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-pmd-plugin/
+
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pmd-plugin/
   
   
 JIRA




svn commit: r1763915 - /maven/plugins/tags/maven-pmd-plugin-3.7/

2016-10-08 Thread adangel
Author: adangel
Date: Sat Oct  8 16:08:58 2016
New Revision: 1763915

URL: http://svn.apache.org/viewvc?rev=1763915=rev
Log:
[maven-release-plugin] copy for tag maven-pmd-plugin-3.7

Added:
maven/plugins/tags/maven-pmd-plugin-3.7/
  - copied from r1763914, maven/plugins/trunk/maven-pmd-plugin/



svn commit: r1763914 - /maven/plugins/trunk/maven-pmd-plugin/pom.xml

2016-10-08 Thread adangel
Author: adangel
Date: Sat Oct  8 16:08:43 2016
New Revision: 1763914

URL: http://svn.apache.org/viewvc?rev=1763914=rev
Log:
[maven-release-plugin] prepare release maven-pmd-plugin-3.7

Modified:
maven/plugins/trunk/maven-pmd-plugin/pom.xml

Modified: maven/plugins/trunk/maven-pmd-plugin/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pmd-plugin/pom.xml?rev=1763914=1763913=1763914=diff
==
--- maven/plugins/trunk/maven-pmd-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-pmd-plugin/pom.xml Sat Oct  8 16:08:43 2016
@@ -30,7 +30,7 @@ under the License.
   
 
   maven-pmd-plugin
-  3.7-SNAPSHOT
+  3.7
   maven-plugin
 
   Apache Maven PMD Plugin
@@ -64,9 +64,9 @@ under the License.
   
 
   
-
scm:svn:http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-pmd-plugin/
-
scm:svn:https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-pmd-plugin/
-
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pmd-plugin/
+
scm:svn:http://svn.apache.org/repos/asf/maven/plugins/tags/maven-pmd-plugin-3.7
+
scm:svn:https://svn.apache.org/repos/asf/maven/plugins/tags/maven-pmd-plugin-3.7
+
http://svn.apache.org/viewvc/maven/plugins/tags/maven-pmd-plugin-3.7
   
   
 JIRA




svn commit: r1763911 - /maven/plugins/trunk/maven-pmd-plugin/pom.xml

2016-10-08 Thread adangel
Author: adangel
Date: Sat Oct  8 15:43:24 2016
New Revision: 1763911

URL: http://svn.apache.org/viewvc?rev=1763911=rev
Log:
[MPMD-229] Cleanup POM, remove temporary workarounds
dom4j comes in via velocity-tools, but it doesn't seem to be needed at all
so it is not added back

Modified:
maven/plugins/trunk/maven-pmd-plugin/pom.xml

Modified: maven/plugins/trunk/maven-pmd-plugin/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pmd-plugin/pom.xml?rev=1763911=1763910=1763911=diff
==
--- maven/plugins/trunk/maven-pmd-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-pmd-plugin/pom.xml Sat Oct  8 15:43:24 2016
@@ -135,26 +135,13 @@ under the License.
   doxia-site-renderer
   ${doxiaVersion}
   
   
 
-  dom4j
   dom4j
-
-  
-
-
-
-  dom4j
-  dom4j
-  1.6.1
-  runtime
-  
-
-  xml-apis
-  xml-apis
+  dom4j
 
   
 




svn commit: r1763910 - /maven/plugins/trunk/maven-pmd-plugin/pom.xml

2016-10-08 Thread adangel
Author: adangel
Date: Sat Oct  8 15:43:12 2016
New Revision: 1763910

URL: http://svn.apache.org/viewvc?rev=1763910=rev
Log:
[MPMD-229] Cleanup POM, remove temporary workarounds
Use m-release-p from parent

Modified:
maven/plugins/trunk/maven-pmd-plugin/pom.xml

Modified: maven/plugins/trunk/maven-pmd-plugin/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pmd-plugin/pom.xml?rev=1763910=1763909=1763910=diff
==
--- maven/plugins/trunk/maven-pmd-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-pmd-plugin/pom.xml Sat Oct  8 15:43:12 2016
@@ -240,16 +240,6 @@ under the License.
   
 
   
-
-  
-
-  org.apache.maven.plugins
-  maven-release-plugin
-  
-  2.5.3
-
-  
-
 
   
   




svn commit: r1763909 - /maven/plugins/trunk/maven-pmd-plugin/pom.xml

2016-10-08 Thread adangel
Author: adangel
Date: Sat Oct  8 15:42:58 2016
New Revision: 1763909

URL: http://svn.apache.org/viewvc?rev=1763909=rev
Log:
[MPMD-228] Upgrade maven-plugins to version 30

Modified:
maven/plugins/trunk/maven-pmd-plugin/pom.xml

Modified: maven/plugins/trunk/maven-pmd-plugin/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pmd-plugin/pom.xml?rev=1763909=1763908=1763909=diff
==
--- maven/plugins/trunk/maven-pmd-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-pmd-plugin/pom.xml Sat Oct  8 15:42:58 2016
@@ -25,7 +25,7 @@ under the License.
   
 maven-plugins
 org.apache.maven.plugins
-28
+30
 ../../pom/maven/maven-plugins/pom.xml