See https://builds.apache.org/job/maven-box/job/maven-enforcer/job/MENFORCER-267/19/
Changes: * Add JDK 13 (latest) * INFRA-17514, lock to 1 Windows node * Cause found, back to all Windows nodes * INFRA-17514 testing if this invoker keeps locks on the files. * INFRA-17514 disable invokerPublisher() This is the root cause for the No tests ran. Build log: [...truncated 10502 lines...] [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-booter/2.20.1/surefire-booter-2.20.1.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-booter/2.20.1/surefire-booter-2.20.1.pom (8.5 kB at 222 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/maven-toolchain/2.2.1/maven-toolchain-2.2.1.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/maven-toolchain/2.2.1/maven-toolchain-2.2.1.pom (3.3 kB at 93 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/maven-surefire-common/2.20.1/maven-surefire-common-2.20.1.jar [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-annotations/3.3/maven-plugin-annotations-3.3.jar [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-api/2.20.1/surefire-api-2.20.1.jar [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-booter/2.20.1/surefire-booter-2.20.1.jar [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-logger-api/2.20.1/surefire-logger-api-2.20.1.jar [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-api/2.20.1/surefire-api-2.20.1.jar (183 kB at 3.2 MB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.jar [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/maven-surefire-common/2.20.1/maven-surefire-common-2.20.1.jar (509 kB at 8.1 MB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/maven-toolchain/2.2.1/maven-toolchain-2.2.1.jar [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-booter/2.20.1/surefire-booter-2.20.1.jar (268 kB at 3.8 MB/s) [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-logger-api/2.20.1/surefire-logger-api-2.20.1.jar (13 kB at 112 kB/s) [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-annotations/3.3/maven-plugin-annotations-3.3.jar (14 kB at 117 kB/s) [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.jar (315 kB at 2.5 MB/s) [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/maven-toolchain/2.2.1/maven-toolchain-2.2.1.jar (38 kB at 144 kB/s) [INFO] [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ enforcer-api --- [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/3.0.1/maven-shared-utils-3.0.1.jar [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/3.0.1/maven-shared-utils-3.0.1.jar (154 kB at 3.5 MB/s) [INFO] Building jar: F:\jenkins\jenkins-slave\workspace\box_maven-enforcer_MENFORCER-267\m\enforcer-api\target\enforcer-api-3.0.0-SNAPSHOT.jar [INFO] [INFO] --- maven-site-plugin:3.7:attach-descriptor (attach-descriptor) @ enforcer-api --- [INFO] Skipping because packaging 'jar' is not pom. [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ enforcer-api --- [INFO] /F:/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java: Some input files use or override a deprecated API. [INFO] /F:/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java: Recompile with -Xlint:deprecation for details. [INFO] /F:/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java: F:\jenkins\jenkins-slave\workspace\box_maven-enforcer_MENFORCER-267\m\enforcer-rules\src\main\java\org\apache\maven\plugins\enforcer\RequirePluginVersions.java uses unchecked or unsafe operations. [INFO] /F:/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java: Recompile with -Xlint:unchecked for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /F:/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java:[555,26] cannot find symbol symbol: method resolve(org.apache.maven.artifact.Artifact,java.util.List<org.apache.maven.artifact.repository.ArtifactRepository>,org.apache.maven.artifact.repository.ArtifactRepository) location: variable resolver of type org.sonatype.aether.impl.ArtifactResolver [ERROR] /F:/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/BannedPlugins.java:[35,5] method does not override or implement a method from a supertype [INFO] 2 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Maven Enforcer .............................. SUCCESS [ 29.264 s] [INFO] Apache Maven Enforcer API .......................... SUCCESS [ 6.950 s] [INFO] Apache Maven Enforcer Built-In Rules ............... FAILURE [ 5.886 s] [INFO] Apache Maven Enforcer Plugin ....................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 44.178 s [INFO] Finished at: 2019-01-20T07:26:35Z [INFO] Final Memory: 35M/120M [INFO] ------------------------------------------------------------------------ [INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\workspace\box_maven-enforcer_MENFORCER-267@tmp\withMaven573d8d17\maven-spy-20190120-072551-15813109058531904816785.log [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project enforcer-rules: Compilation failure: Compilation failure: [ERROR] /F:/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java:[555,26] cannot find symbol [ERROR] symbol: method resolve(org.apache.maven.artifact.Artifact,java.util.List<org.apache.maven.artifact.repository.ArtifactRepository>,org.apache.maven.artifact.repository.ArtifactRepository) [ERROR] location: variable resolver of type org.sonatype.aether.impl.ArtifactResolver [ERROR] /F:/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/BannedPlugins.java:[35,5] method does not override or implement a method from a supertype [ERROR] -> [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 [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :enforcer-rules [Pipeline] } [Pipeline] // dir [Pipeline] } [withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.enforcer:enforcer-api:jar:3.0.0-SNAPSHOT generated by maven-surefire-plugin:test (default-test): m\enforcer-api\target\surefire-reports\*.xml Recording test results None of the test reports contained any result [withMaven] Publishers: Pipeline Graph Publisher: 2 ms, Junit Publisher: 25 ms, Dependencies Fingerprint Publisher: 33 ms [Pipeline] // withMaven [Pipeline] cleanWs [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] done [Pipeline] cleanWs [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] done [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] } Failed in branch windows-jdk11 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Maven Enforcer Built-In Rules 3.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-common-artifact-filters/3.0.1/maven-common-artifact-filters-3.0.1.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-common-artifact-filters/3.0.1/maven-common-artifact-filters-3.0.1.pom (4.8 kB at 127 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugin-testing/maven-plugin-testing-harness/2.1/maven-plugin-testing-harness-2.1.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugin-testing/maven-plugin-testing-harness/2.1/maven-plugin-testing-harness-2.1.pom (3.2 kB at 83 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugin-testing/maven-plugin-testing/2.1/maven-plugin-testing-2.1.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugin-testing/maven-plugin-testing/2.1/maven-plugin-testing-2.1.pom (10 kB at 287 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.pom (11 kB at 302 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/22/commons-parent-22.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/22/commons-parent-22.pom (42 kB at 998 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/mockito/mockito-core/2.11.0/mockito-core-2.11.0.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/mockito/mockito-core/2.11.0/mockito-core-2.11.0.pom (15 kB at 384 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/net/bytebuddy/byte-buddy/1.7.4/byte-buddy-1.7.4.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/net/bytebuddy/byte-buddy/1.7.4/byte-buddy-1.7.4.pom (12 kB at 359 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/net/bytebuddy/byte-buddy-parent/1.7.4/byte-buddy-parent-1.7.4.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/net/bytebuddy/byte-buddy-parent/1.7.4/byte-buddy-parent-1.7.4.pom (25 kB at 667 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/net/bytebuddy/byte-buddy-agent/1.7.4/byte-buddy-agent-1.7.4.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/net/bytebuddy/byte-buddy-agent/1.7.4/byte-buddy-agent-1.7.4.pom (4.9 kB at 154 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/objenesis/objenesis/2.6/objenesis-2.6.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/objenesis/objenesis/2.6/objenesis-2.6.pom (2.8 kB at 90 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/objenesis/objenesis-parent/2.6/objenesis-parent-2.6.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/objenesis/objenesis-parent/2.6/objenesis-parent-2.6.pom (17 kB at 501 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-dependency-tree/3.0.1/maven-dependency-tree-3.0.1.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-dependency-tree/3.0.1/maven-dependency-tree-3.0.1.pom (7.5 kB at 234 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/assertj/assertj-core/1.7.1/assertj-core-1.7.1.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/assertj/assertj-core/1.7.1/assertj-core-1.7.1.pom (4.7 kB at 142 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/assertj/assertj-parent-pom/1.2.6/assertj-parent-pom-1.2.6.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/assertj/assertj-parent-pom/1.2.6/assertj-parent-pom-1.2.6.pom (13 kB at 419 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-common-artifact-filters/3.0.1/maven-common-artifact-filters-3.0.1.jar [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/mockito/mockito-core/2.11.0/mockito-core-2.11.0.jar [INFO] Downloading from central: https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jar [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugin-testing/maven-plugin-testing-harness/2.1/maven-plugin-testing-harness-2.1.jar [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-common-artifact-filters/3.0.1/maven-common-artifact-filters-3.0.1.jar (61 kB at 338 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/net/bytebuddy/byte-buddy/1.7.4/byte-buddy-1.7.4.jar [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/mockito/mockito-core/2.11.0/mockito-core-2.11.0.jar (538 kB at 2.8 MB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/net/bytebuddy/byte-buddy-agent/1.7.4/byte-buddy-agent-1.7.4.jar [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugin-testing/maven-plugin-testing-harness/2.1/maven-plugin-testing-harness-2.1.jar (39 kB at 201 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/objenesis/objenesis/2.6/objenesis-2.6.jar [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jar (233 kB at 1.2 MB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-dependency-tree/3.0.1/maven-dependency-tree-3.0.1.jar [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar (480 kB at 2.3 MB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/assertj/assertj-core/1.7.1/assertj-core-1.7.1.jar [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/objenesis/objenesis/2.6/objenesis-2.6.jar (56 kB at 164 kB/s) [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/assertj/assertj-core/1.7.1/assertj-core-1.7.1.jar (619 kB at 1.8 MB/s) [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/net/bytebuddy/byte-buddy/1.7.4/byte-buddy-1.7.4.jar (2.9 MB at 8.2 MB/s) [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/net/bytebuddy/byte-buddy-agent/1.7.4/byte-buddy-agent-1.7.4.jar (43 kB at 94 kB/s) [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-dependency-tree/3.0.1/maven-dependency-tree-3.0.1.jar (37 kB at 73 kB/s) [INFO] [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ enforcer-rules --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ enforcer-rules --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-bytecode-version) @ enforcer-rules --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (ban-known-bad-maven-versions) @ enforcer-rules --- [INFO] [INFO] --- apache-rat-plugin:0.12:check (rat-check) @ enforcer-rules --- [INFO] Enabled default license matchers. [INFO] Will parse SCM ignores for exclusions... [INFO] Finished adding exclusions from SCM ignore files. [INFO] 61 implicit excludes (use -debug for more details). [INFO] Exclude: .repository/** [INFO] Exclude: .maven/spy.log [INFO] Exclude: dependency-reduced-pom.xml [INFO] Exclude: .java-version [INFO] 129 resources included (use -debug for more details) [INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 123 licenses. [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ enforcer-rules --- [INFO] [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ enforcer-rules --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory F:\jenkins\jenkins-slave\workspace\box_maven-enforcer_MENFORCER-267\m\enforcer-rules\src\main\resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ enforcer-rules --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 43 source files to F:\jenkins\jenkins-slave\workspace\box_maven-enforcer_MENFORCER-267\m\enforcer-rules\target\classes [INFO] /F:/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java: Some input files use or override a deprecated API. [INFO] /F:/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java: Recompile with -Xlint:deprecation for details. [INFO] /F:/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java: F:\jenkins\jenkins-slave\workspace\box_maven-enforcer_MENFORCER-267\m\enforcer-rules\src\main\java\org\apache\maven\plugins\enforcer\RequirePluginVersions.java uses unchecked or unsafe operations. [INFO] /F:/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java: Recompile with -Xlint:unchecked for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /F:/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java:[555,26] cannot find symbol symbol: method resolve(org.apache.maven.artifact.Artifact,java.util.List<org.apache.maven.artifact.repository.ArtifactRepository>,org.apache.maven.artifact.repository.ArtifactRepository) location: variable resolver of type org.sonatype.aether.impl.ArtifactResolver [ERROR] /F:/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/BannedPlugins.java:[35,5] method does not override or implement a method from a supertype [INFO] 2 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Maven Enforcer .............................. SUCCESS [ 46.551 s] [INFO] Apache Maven Enforcer API .......................... SUCCESS [ 8.433 s] [INFO] Apache Maven Enforcer Built-In Rules ............... FAILURE [ 5.065 s] [INFO] Apache Maven Enforcer Plugin ....................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:02 min [INFO] Finished at: 2019-01-19T23:26:43-08:00 [INFO] Final Memory: 38M/460M [INFO] ------------------------------------------------------------------------ [INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\workspace\box_maven-enforcer_MENFORCER-267@tmp\withMaveneec68cae\maven-spy-20190119-232540-22484852904538722085.log [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project enforcer-rules: Compilation failure: Compilation failure: [ERROR] /F:/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java:[555,26] cannot find symbol [ERROR] symbol: method resolve(org.apache.maven.artifact.Artifact,java.util.List<org.apache.maven.artifact.repository.ArtifactRepository>,org.apache.maven.artifact.repository.ArtifactRepository) [ERROR] location: variable resolver of type org.sonatype.aether.impl.ArtifactResolver [ERROR] /F:/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/BannedPlugins.java:[35,5] method does not override or implement a method from a supertype [ERROR] -> [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 [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :enforcer-rules Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="f:\jenkins\jenkins-slave\workspace\box_maven-enforcer_MENFORCER-267@tmp\withMaveneec68cae\pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\workspace\box_maven-enforcer_MENFORCER-267@tmp\withMaveneec68cae" [Pipeline] } [Pipeline] // dir [Pipeline] } [withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.enforcer:enforcer-api:jar:3.0.0-SNAPSHOT generated by maven-surefire-plugin:test (default-test): m\enforcer-api\target\surefire-reports\*.xml Recording test results None of the test reports contained any result [withMaven] Publishers: Pipeline Graph Publisher: 2 ms, Junit Publisher: 23 ms, Dependencies Fingerprint Publisher: 32 ms [Pipeline] // withMaven [Pipeline] cleanWs [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] done [Pipeline] cleanWs [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] done [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] } Failed in branch windows-jdk8 [Pipeline] // parallel [Pipeline] stage [Pipeline] { (Notifications) [Pipeline] echo Build result: FAILURE [Pipeline] jiraIssueSelector [Pipeline] emailext
