diff --git a/Jenkinsfile b/Jenkinsfile index 7296772..dd81bce 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,8 +2,8 @@ pipeline { agent any environment { - JDK_TOOL_NAME = 'JDK 11' - MAVEN_TOOL_NAME = 'Maven 3.8.6' + JDK_TOOL_NAME = 'JDK 21' + MAVEN_TOOL_NAME = 'Maven 3.9.6' } options { @@ -58,7 +58,8 @@ pipeline { } steps { withMaven(jdk: env.JDK_TOOL_NAME, maven: env.MAVEN_TOOL_NAME) { - sh 'mvn pmd:pmd pmd:cpd spotbugs:spotbugs' +// sh 'mvn pmd:pmd pmd:cpd spotbugs:spotbugs' + sh 'mvn spotbugs:spotbugs' } } post { diff --git a/pom.xml b/pom.xml index 0e2de05..3fbb940 100644 --- a/pom.xml +++ b/pom.xml @@ -58,8 +58,8 @@ UTF-8 UTF-8 - 11 - 11 + 21 + 21 false ${skipTests} @@ -115,7 +115,7 @@ 4 - 1.16.0 + 1.20.0