[jira] [Updated] (MPMD-244) Maven PMD plugin fails but no reason is given for the failure
[ https://issues.apache.org/jira/browse/MPMD-244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andreas Dangel updated MPMD-244: Fix Version/s: 3.9.0 > Maven PMD plugin fails but no reason is given for the failure > - > > Key: MPMD-244 > URL: https://issues.apache.org/jira/browse/MPMD-244 > Project: Maven PMD Plugin > Issue Type: Bug > Components: PMD >Affects Versions: 3.8 > Environment: Maven 3.5.0 > PMD 5.8.1 > OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode) > Fedora 23 >Reporter: Goldstein Lyor >Priority: Blocker > Fix For: 3.9.0 > > > After upgrading used PMD version from 5.6.1 to 5.8.1, Maven PMD plugin fails > with no specific reason except {{Failed to process...}}. Furthermore, there > is no PMD report or other file that indicates what is wrong. > P.S. The file that it complains about passes without a problem for version > 5.6.1 > {noformat} > $ mvn -X -Dpmd.verbose=true clean install > Maven home: /home/lyor/Software/apache-maven-3.5.0 > Java version: 1.8.0_91, vendor: Oracle Corporation > Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.91-2.b14.fc22.x86_64/jre > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux", version: "4.4.14-200.fc22.x86_64", arch: "amd64", family: > "unix" > . > .. > [INFO] --- maven-pmd-plugin:3.8:pmd (pmd) @ cb4-common-util --- > [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=1, > ConflictMarker.markTime=0, ConflictMarker.nodeCount=280, > ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=0, > ConflictIdSorter.conflictIdCount=70, ConflictIdSorter.conflictIdCycleCount=0, > ConflictResolver.totalTime=2, ConflictResolver.conflictItemCount=152, > DefaultDependencyCollector.collectTime=38, > DefaultDependencyCollector.transformTime=3} > [DEBUG] org.apache.maven.plugins:maven-pmd-plugin:jar:3.8: > [DEBUG]net.sourceforge.pmd:pmd-core:jar:5.8.1:runtime > [DEBUG] com.beust:jcommander:jar:1.48:runtime > [DEBUG] jaxen:jaxen:jar:1.1.6:runtime > [DEBUG] net.java.dev.javacc:javacc:jar:5.0:runtime > [DEBUG] net.sourceforge.saxon:saxon:jar:9.1.0.8:runtime > [DEBUG] org.apache.commons:commons-lang3:jar:3.4:runtime > [DEBUG] org.ow2.asm:asm:jar:5.0.4:runtime > [DEBUG] com.google.code.gson:gson:jar:2.5:runtime > [DEBUG] net.sourceforge.saxon:saxon:jar:dom:9.1.0.8:runtime > [DEBUG]net.sourceforge.pmd:pmd-java:jar:5.8.1:runtime > [DEBUG]net.sourceforge.pmd:pmd-javascript:jar:5.8.1:runtime > [DEBUG] org.mozilla:rhino:jar:1.7.7:runtime > [DEBUG]net.sourceforge.pmd:pmd-jsp:jar:5.8.1:runtime > [DEBUG]org.apache.maven:maven-artifact:jar:2.2.1:compile > [DEBUG]org.apache.maven:maven-model:jar:2.2.1:compile > [DEBUG]org.apache.maven:maven-plugin-api:jar:2.2.1:compile > [DEBUG]org.apache.maven:maven-project:jar:2.2.1:compile > [DEBUG] org.apache.maven:maven-settings:jar:2.2.1:compile > [DEBUG] org.apache.maven:maven-profile:jar:2.2.1:compile > [DEBUG] org.apache.maven:maven-artifact-manager:jar:2.2.1:compile > [DEBUG] org.apache.maven:maven-repository-metadata:jar:2.2.1:compile > [DEBUG] > backport-util-concurrent:backport-util-concurrent:jar:3.1:compile > [DEBUG] org.apache.maven:maven-plugin-registry:jar:2.2.1:compile > [DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.11:compile > [DEBUG] > org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile > [DEBUG] junit:junit:jar:3.8.1:compile > [DEBUG] classworlds:classworlds:jar:1.1-alpha-2:compile > [DEBUG]org.apache.maven.doxia:doxia-sink-api:jar:1.4:compile > [DEBUG] org.apache.maven.doxia:doxia-logging-api:jar:1.4:compile > [DEBUG]org.apache.maven.doxia:doxia-decoration-model:jar:1.4:compile > [DEBUG] org.codehaus.plexus:plexus-component-annotations:jar:1.6:compile > [DEBUG]org.apache.maven.doxia:doxia-site-renderer:jar:1.4:compile > [DEBUG] org.apache.maven.doxia:doxia-core:jar:1.4:compile > [DEBUG] xerces:xercesImpl:jar:2.9.1:compile > [DEBUG] commons-lang:commons-lang:jar:2.4:compile > [DEBUG] org.apache.maven.doxia:doxia-module-xhtml:jar:1.4:compile > [DEBUG] org.apache.maven.doxia:doxia-module-fml:jar:1.4:compile > [DEBUG] org.codehaus.plexus:plexus-i18n:jar:1.0-beta-7:compile > [DEBUG] org.codehaus.plexus:plexus-velocity:jar:1.1.7:compile > [DEBUG] org.apache.velocity:velocity:jar:1.5:compile > [DEBUG] oro:oro:jar:2.0.8:compile > [DEBUG] org.apache.velocity:velocity-tools:jar:2.0:compile > [DEBUG] commons-beanutils:commons-beanutils:jar:1.7.0:compile > [DEBUG] commons-digester:commons-digester:jar:1.8:compile > [DEBUG]
[jira] [Updated] (MPMD-244) Maven PMD plugin fails but no reason is given for the failure
[ https://issues.apache.org/jira/browse/MPMD-244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Goldstein Lyor updated MPMD-244: Description: After upgrading used PMD version from 5.6.1 to 5.8.1, Maven PMD plugin fails with no specific reason except {{Failed to process...}}. Furthermore, there is no PMD report or other file that indicates what is wrong. P.S. The file that it complains about passes without a problem for version 5.6.1 {noformat} $ mvn -X -Dpmd.verbose=true clean install Maven home: /home/lyor/Software/apache-maven-3.5.0 Java version: 1.8.0_91, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.91-2.b14.fc22.x86_64/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "4.4.14-200.fc22.x86_64", arch: "amd64", family: "unix" . .. [INFO] --- maven-pmd-plugin:3.8:pmd (pmd) @ cb4-common-util --- [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=1, ConflictMarker.markTime=0, ConflictMarker.nodeCount=280, ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=70, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=2, ConflictResolver.conflictItemCount=152, DefaultDependencyCollector.collectTime=38, DefaultDependencyCollector.transformTime=3} [DEBUG] org.apache.maven.plugins:maven-pmd-plugin:jar:3.8: [DEBUG]net.sourceforge.pmd:pmd-core:jar:5.8.1:runtime [DEBUG] com.beust:jcommander:jar:1.48:runtime [DEBUG] jaxen:jaxen:jar:1.1.6:runtime [DEBUG] net.java.dev.javacc:javacc:jar:5.0:runtime [DEBUG] net.sourceforge.saxon:saxon:jar:9.1.0.8:runtime [DEBUG] org.apache.commons:commons-lang3:jar:3.4:runtime [DEBUG] org.ow2.asm:asm:jar:5.0.4:runtime [DEBUG] com.google.code.gson:gson:jar:2.5:runtime [DEBUG] net.sourceforge.saxon:saxon:jar:dom:9.1.0.8:runtime [DEBUG]net.sourceforge.pmd:pmd-java:jar:5.8.1:runtime [DEBUG]net.sourceforge.pmd:pmd-javascript:jar:5.8.1:runtime [DEBUG] org.mozilla:rhino:jar:1.7.7:runtime [DEBUG]net.sourceforge.pmd:pmd-jsp:jar:5.8.1:runtime [DEBUG]org.apache.maven:maven-artifact:jar:2.2.1:compile [DEBUG]org.apache.maven:maven-model:jar:2.2.1:compile [DEBUG]org.apache.maven:maven-plugin-api:jar:2.2.1:compile [DEBUG]org.apache.maven:maven-project:jar:2.2.1:compile [DEBUG] org.apache.maven:maven-settings:jar:2.2.1:compile [DEBUG] org.apache.maven:maven-profile:jar:2.2.1:compile [DEBUG] org.apache.maven:maven-artifact-manager:jar:2.2.1:compile [DEBUG] org.apache.maven:maven-repository-metadata:jar:2.2.1:compile [DEBUG] backport-util-concurrent:backport-util-concurrent:jar:3.1:compile [DEBUG] org.apache.maven:maven-plugin-registry:jar:2.2.1:compile [DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.11:compile [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile [DEBUG] junit:junit:jar:3.8.1:compile [DEBUG] classworlds:classworlds:jar:1.1-alpha-2:compile [DEBUG]org.apache.maven.doxia:doxia-sink-api:jar:1.4:compile [DEBUG] org.apache.maven.doxia:doxia-logging-api:jar:1.4:compile [DEBUG]org.apache.maven.doxia:doxia-decoration-model:jar:1.4:compile [DEBUG] org.codehaus.plexus:plexus-component-annotations:jar:1.6:compile [DEBUG]org.apache.maven.doxia:doxia-site-renderer:jar:1.4:compile [DEBUG] org.apache.maven.doxia:doxia-core:jar:1.4:compile [DEBUG] xerces:xercesImpl:jar:2.9.1:compile [DEBUG] commons-lang:commons-lang:jar:2.4:compile [DEBUG] org.apache.maven.doxia:doxia-module-xhtml:jar:1.4:compile [DEBUG] org.apache.maven.doxia:doxia-module-fml:jar:1.4:compile [DEBUG] org.codehaus.plexus:plexus-i18n:jar:1.0-beta-7:compile [DEBUG] org.codehaus.plexus:plexus-velocity:jar:1.1.7:compile [DEBUG] org.apache.velocity:velocity:jar:1.5:compile [DEBUG] oro:oro:jar:2.0.8:compile [DEBUG] org.apache.velocity:velocity-tools:jar:2.0:compile [DEBUG] commons-beanutils:commons-beanutils:jar:1.7.0:compile [DEBUG] commons-digester:commons-digester:jar:1.8:compile [DEBUG] commons-chain:commons-chain:jar:1.1:compile [DEBUG] sslext:sslext:jar:1.2-0:compile [DEBUG] org.apache.struts:struts-core:jar:1.3.8:compile [DEBUG] antlr:antlr:jar:2.7.2:compile [DEBUG] org.apache.struts:struts-taglib:jar:1.3.8:compile [DEBUG] org.apache.struts:struts-tiles:jar:1.3.8:compile [DEBUG] commons-collections:commons-collections:jar:3.2.1:compile [DEBUG]org.apache.maven.reporting:maven-reporting-api:jar:3.0:compile [DEBUG]org.apache.maven.reporting:maven-reporting-impl:jar:2.3:compile [DEBUG] org.apache.maven.shared:maven-shared-utils:jar:0.6:compile [DEBUG] com.google.code.findbugs:jsr305:jar:2.0.1:compile [DEBUG]