[
https://issues.apache.org/jira/browse/MPMD-233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15981637#comment-15981637
]
Andreas Dangel commented on MPMD-233:
-------------------------------------
Partial solution: https://github.com/adangel/maven-plugins/tree/pmd-upgrade /
https://github.com/adangel/maven-plugins/commit/7f3a8372755b7d18065a3090a899b611280b418c
However, we seem to have some concurrency issue: Unit tests are failing with
IOExceptions, e.g.
{noformat}
java.io.IOException: Stream closed
at
java.util.zip.InflaterInputStream.ensureOpen(InflaterInputStream.java:67)
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:121)
at java.io.FilterInputStream.read(FilterInputStream.java:83)
at
net.sourceforge.pmd.util.ResourceLoader$1.read(ResourceLoader.java:109)
...
{noformat}
See: https://github.com/pmd/pmd/issues/364
> Upgrade to PMD 5.6.0
> --------------------
>
> Key: MPMD-233
> URL: https://issues.apache.org/jira/browse/MPMD-233
> Project: Maven PMD Plugin
> Issue Type: Improvement
> Components: CPD, PMD
> Affects Versions: 3.7
> Reporter: Matt Nelson
> Assignee: Andreas Dangel
> Fix For: 3.8
>
>
> PMD-5.6.0 introduced non-passive API changes
> https://github.com/pmd/pmd/pull/131
> {quote}
> 00:56:58 [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-pmd-plugin:3.7:pmd (pmd) on project
> maven-base-pom-test: Execution pmd of goal
> org.apache.maven.plugins:maven-pmd-plugin:3.7:pmd failed: An API
> incompatibility was encountered while executing
> org.apache.maven.plugins:maven-pmd-plugin:3.7:pmd:
> java.lang.NoSuchMethodError:
> net.sourceforge.pmd.RuleSetFactory.setMinimumPriority(Lnet/sourceforge/pmd/RulePriority;)V
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)