See 
<https://ci-builds.apache.org/job/Santuario/job/Santuario%20JDK8%20Java%20PR/40/display/redirect?page=changes>

Changes:

[github] Bump maven-pmd-plugin from 3.15.0 to 3.20.0


------------------------------------------
GitHub pull request #105 to apache/santuario-xml-security-java
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on builds49 (ubuntu pkcs11) in workspace 
<https://ci-builds.apache.org/job/Santuario/job/Santuario%20JDK8%20Java%20PR/ws/>
The recommended git tool is: NONE
using credential 5f95d117-af3b-452a-9e5c-4bddb22a67f4
 > git rev-parse --resolve-git-dir 
 > <https://ci-builds.apache.org/job/Santuario/job/Santuario%20JDK8%20Java%20PR/ws/.git>
 >  # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url 
 > https://github.com/apache/santuario-xml-security-java/ # timeout=10
Fetching upstream changes from 
https://github.com/apache/santuario-xml-security-java/
 > git --version # timeout=10
 > git --version # 'git version 2.17.1'
using GIT_ASKPASS to set credentials ASF CI for Github PRs etc
 > git fetch --tags --progress -- 
 > https://github.com/apache/santuario-xml-security-java/ 
 > +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f origin/main # timeout=10
 > git branch -a -v --no-abbrev # timeout=10
 > git branch -D main # timeout=10
 > git checkout -b main origin/main # timeout=10
  Opening connection
    Done: 0
  Counting objects
    Done: 0
  Finding sources
    Done: 0
  Writing objects
    Done: 0
  remote: Updating references
Merging refs/tags/changes/40
 > git rev-parse refs/tags/changes/40^{commit} # timeout=10
 > git remote # timeout=10
 > git config --get remote.origin.url # timeout=10
using GIT_ASKPASS to set credentials ASF CI for Github PRs etc
 > git merge b83c25ba924df5053d875142246e40475e672c78 # timeout=10
 > git rev-parse main^{commit} # timeout=10
Checking out Revision b83c25ba924df5053d875142246e40475e672c78 (main)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f b83c25ba924df5053d875142246e40475e672c78 # timeout=10
Commit message: "Bump maven-pmd-plugin from 3.15.0 to 3.20.0"
 > git rev-parse origin/main^{commit} # timeout=10
 > git rev-list --no-walk dd62e28193389a943d72bd9448c722ededcb3100 # timeout=10
New run name is '#40'
Parsing POMs
Established TCP socket on 41861
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[Santuario JDK8 Java PR] $ /home/jenkins/tools/java/latest1.8/bin/java -cp 
/home/jenkins/jenkins-agent/maven35-agent.jar:/home/jenkins/tools/maven/latest3/boot/plexus-classworlds-2.6.0.jar:/home/jenkins/tools/maven/latest3/conf/logging
 jenkins.maven3.agent.Maven35Main /home/jenkins/tools/maven/latest3 
/home/jenkins/jenkins-agent/agent.jar 
/home/jenkins/jenkins-agent/maven35-interceptor.jar 
/home/jenkins/jenkins-agent/maven3-interceptor-commons.jar 41861
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f 
<https://ci-builds.apache.org/job/Santuario/job/Santuario%20JDK8%20Java%20PR/ws/pom.xml>
 clean install deploy
[INFO] Scanning for projects...
[HUDSON] Collecting dependencies info
[INFO] 
[INFO] --------------------< org.apache.santuario:xmlsec >---------------------
[INFO] Building Apache XML Security for Java 3.0.2-SNAPSHOT
[INFO] -------------------------------[ bundle ]-------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ xmlsec ---
[INFO] Deleting 
<https://ci-builds.apache.org/job/Santuario/job/Santuario%20JDK8%20Java%20PR/ws/target>
[INFO] 
[INFO] --- maven-enforcer-plugin:3.1.0:enforce (enforce-maven-version) @ xmlsec 
---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.1.0:enforce (enforce-java-version) @ xmlsec 
---
[INFO] 
[INFO] >>> maven-pmd-plugin:3.20.0:check (validate) > :pmd @ xmlsec >>>
[INFO] 
[INFO] --- maven-pmd-plugin:3.20.0:pmd (pmd) @ xmlsec ---
[INFO] PMD version: 6.53.0
[WARNING] Unable to exclude rules [BeanMembersShouldSerialize] from ruleset 
reference category/java/errorprone.xml; perhaps the rule name is misspelled or 
the rule doesn't exist anymore?
[WARNING] Unable to exclude rules [BeanMembersShouldSerialize] from ruleset 
reference category/java/errorprone.xml; perhaps the rule name is misspelled or 
the rule doesn't exist anymore?
[WARNING] Removed misconfigured rule: LoosePackageCoupling  cause: No packages 
or classes specified
[INFO] Rendering content with org.apache.maven.skins:maven-default-skin:jar:1.3 
skin.
[INFO] 
[INFO] <<< maven-pmd-plugin:3.20.0:check (validate) < :pmd @ xmlsec <<<
[INFO] 
[INFO] 
[INFO] --- maven-pmd-plugin:3.20.0:check (validate) @ xmlsec ---
[INFO] PMD version: 6.53.0
[INFO] PMD Failure: 
org.apache.jcp.xml.dsig.internal.dom.ApacheCanonicalizer:180 
Rule:ReturnEmptyCollectionRatherThanNull Priority:1 Return an empty collection 
rather than null..
[INFO] PMD Failure: org.apache.xml.security.encryption.XMLCipher:85 
Rule:ClassWithOnlyPrivateConstructorsShouldBeFinal Priority:1 A class which 
only has private constructors should be final.
[INFO] PMD Failure: org.apache.xml.security.signature.XMLSignatureInput:524 
Rule:ReturnEmptyCollectionRatherThanNull Priority:1 Return an empty collection 
rather than null..
[INFO] PMD Failure: 
org.apache.xml.security.stax.impl.transformer.canonicalizer.Canonicalizer20010315_Excl:60
 Rule:ReturnEmptyCollectionRatherThanNull Priority:1 Return an empty collection 
rather than null..
[WARNING] Attempt to (de-)serialize anonymous class 
org.jfrog.hudson.maven2.MavenDependenciesRecorder$1; see: 
https://jenkins.io/redirect/serialization-of-anonymous-classes/
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  33.178 s
[INFO] Finished at: 2023-01-12T02:18:12Z
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-pmd-plugin:3.20.0:check (validate) on project 
xmlsec: You have 4 PMD violations. For more details see: 
<https://ci-builds.apache.org/job/Santuario/job/Santuario%20JDK8%20Java%20PR/ws/target/pmd.xml>
 -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[JENKINS] Archiving 
<https://ci-builds.apache.org/job/Santuario/job/Santuario%20JDK8%20Java%20PR/ws/pom.xml>
 to org.apache.santuario/xmlsec/3.0.2-SNAPSHOT/xmlsec-3.0.2-SNAPSHOT.pom
Sending e-mails to: dev@santuario.apache.org
New run name is '#40'
channel stopped
Putting comment on the pull request

Reply via email to