[ 
https://issues.apache.org/jira/browse/MPMD-232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15950704#comment-15950704
 ] 

Hudson commented on MPMD-232:
-----------------------------

FAILURE: Integrated in Jenkins build maven-plugins #8905 (See 
[https://builds.apache.org/job/maven-plugins/8905/])
[MPMD-232] Enable typeResolution by default (adangel: 
[http://svn.apache.org/viewvc/?view=rev&rev=1789659])
* (edit) maven-pmd-plugin/src/it/MPMD-89-232-typeresolution/pom.xml
* (edit) 
maven-pmd-plugin/src/main/java/org/apache/maven/plugin/pmd/PmdReport.java
[MPMD-232] Rename integration test for typeresolution (adangel: 
[http://svn.apache.org/viewvc/?view=rev&rev=1789658])
* (add) maven-pmd-plugin/src/it/MPMD-89-232-typeresolution
* (add) maven-pmd-plugin/src/it/MPMD-89-232-typeresolution/invoker.properties
* (add) maven-pmd-plugin/src/it/MPMD-89-232-typeresolution/pom.xml
* (add) maven-pmd-plugin/src/it/MPMD-89-232-typeresolution/src
* (add) maven-pmd-plugin/src/it/MPMD-89-232-typeresolution/src/main
* (add) maven-pmd-plugin/src/it/MPMD-89-232-typeresolution/src/main/pmd
* (add) 
maven-pmd-plugin/src/it/MPMD-89-232-typeresolution/src/main/pmd/ruleset.xml
* (add) maven-pmd-plugin/src/it/MPMD-89-232-typeresolution/src/test
* (add) maven-pmd-plugin/src/it/MPMD-89-232-typeresolution/src/test/java
* (add) maven-pmd-plugin/src/it/MPMD-89-232-typeresolution/src/test/java/it
* (add) 
maven-pmd-plugin/src/it/MPMD-89-232-typeresolution/src/test/java/it/NoTestsHere.java
* (add) 
maven-pmd-plugin/src/it/MPMD-89-232-typeresolution/src/test/java/it/TestSupport.java
* (add) maven-pmd-plugin/src/it/MPMD-89-232-typeresolution/verify.groovy
* (delete) maven-pmd-plugin/src/it/mpmd-89/invoker.properties
* (delete) maven-pmd-plugin/src/it/mpmd-89/pom.xml
* (delete) maven-pmd-plugin/src/it/mpmd-89/src/main/pmd/ruleset.xml
* (delete) maven-pmd-plugin/src/it/mpmd-89/src/test/java/it/NoTestsHere.java
* (delete) maven-pmd-plugin/src/it/mpmd-89/src/test/java/it/TestSupport.java
* (delete) maven-pmd-plugin/src/it/mpmd-89/verify.groovy


> Enable typeResolution by default
> --------------------------------
>
>                 Key: MPMD-232
>                 URL: https://issues.apache.org/jira/browse/MPMD-232
>             Project: Maven PMD Plugin
>          Issue Type: Improvement
>          Components: PMD
>            Reporter: Juan Martín Sotuyo Dodero
>            Assignee: Andreas Dangel
>             Fix For: 3.8
>
>
> For some time now PMD has supported type resolution, allowing PMD rules to 
> make better decisions by having knowledge of all classes in both the project, 
> and the classpath.
> However, when using PMD through the Maven plugin, the auxclasspath for type 
> resolution is not populated by default. There is a property to control this 
> behavior, but it's set to false by default. See 
> https://maven.apache.org/plugins/maven-pmd-plugin/pmd-mojo.html#typeResolution
> I believe there is no reason to have it off by default (actually, I don't 
> think there is any valid reason to have it off at all!). Type resolution 
> means better and more accurate analysis results. If there are no rules 
> configured requiring type resolution, the type resolution analysis is skipped 
> completely, meaning there is no performance impact either.
> I've not checked, but just in case the classpath passed to PMD should include:
> - all dependencies
> - the .class files generated by compiling the project's source code



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to