You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ad...@apache.org on 2016/10/01 10:09:26 UTC

svn commit: r1762995 - in /maven/plugins/trunk/maven-pmd-plugin/src: it/MPMD-206-sourceDirectories-js/invoker.properties site/apt/examples/javascriptReport.apt.vm site/apt/examples/jspReport.apt.vm

Author: adangel
Date: Sat Oct  1 10:09:26 2016
New Revision: 1762995

URL: http://svn.apache.org/viewvc?rev=1762995&view=rev
Log:
[MPMD-212] Add documentation and IT for MPMD-206
Document the maven 3.3.9 requirements
Run IT only with 3.3.9

Modified:
    maven/plugins/trunk/maven-pmd-plugin/src/it/MPMD-206-sourceDirectories-js/invoker.properties
    maven/plugins/trunk/maven-pmd-plugin/src/site/apt/examples/javascriptReport.apt.vm
    maven/plugins/trunk/maven-pmd-plugin/src/site/apt/examples/jspReport.apt.vm

Modified: maven/plugins/trunk/maven-pmd-plugin/src/it/MPMD-206-sourceDirectories-js/invoker.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pmd-plugin/src/it/MPMD-206-sourceDirectories-js/invoker.properties?rev=1762995&r1=1762994&r2=1762995&view=diff
==============================================================================
--- maven/plugins/trunk/maven-pmd-plugin/src/it/MPMD-206-sourceDirectories-js/invoker.properties (original)
+++ maven/plugins/trunk/maven-pmd-plugin/src/it/MPMD-206-sourceDirectories-js/invoker.properties Sat Oct  1 10:09:26 2016
@@ -16,3 +16,6 @@
 # under the License.
 
 invoker.goals = clean verify
+
+# This test requires at least maven 3.3.9 or later (https://issues.apache.org/jira/browse/MNG-5440)
+invoker.maven.version = 3.3.9+

Modified: maven/plugins/trunk/maven-pmd-plugin/src/site/apt/examples/javascriptReport.apt.vm
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pmd-plugin/src/site/apt/examples/javascriptReport.apt.vm?rev=1762995&r1=1762994&r2=1762995&view=diff
==============================================================================
--- maven/plugins/trunk/maven-pmd-plugin/src/site/apt/examples/javascriptReport.apt.vm (original)
+++ maven/plugins/trunk/maven-pmd-plugin/src/site/apt/examples/javascriptReport.apt.vm Sat Oct  1 10:09:26 2016
@@ -65,3 +65,7 @@ Analyzing JavaScript Code
   ...
 </project>
 +-----+
+
+ <<Note:>> Configuring <<<compileSourceRoots>>> only works with Maven 3.3.9 and later. For older versions,
+ you'll need to use <build-helper-maven-plugin> with the <<<add-source>>> goal in order to add
+ the additional source directories, so that PMD finds the JavaScript files.

Modified: maven/plugins/trunk/maven-pmd-plugin/src/site/apt/examples/jspReport.apt.vm
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pmd-plugin/src/site/apt/examples/jspReport.apt.vm?rev=1762995&r1=1762994&r2=1762995&view=diff
==============================================================================
--- maven/plugins/trunk/maven-pmd-plugin/src/site/apt/examples/jspReport.apt.vm (original)
+++ maven/plugins/trunk/maven-pmd-plugin/src/site/apt/examples/jspReport.apt.vm Sat Oct  1 10:09:26 2016
@@ -63,3 +63,7 @@ Analyzing JSP Code
   ...
 </project>
 +-----+
+
+ <<Note:>> Configuring <<<compileSourceRoots>>> only works with Maven 3.3.9 and later. For older versions,
+ you'll need to use <build-helper-maven-plugin> with the <<<add-source>>> goal in order to add
+ the additional source directories, so that PMD finds the JSP files.