See
https://builds.apache.org/job/maven-box/job/maven-enforcer/job/MENFORCER-288/41/
No changes.
1 tests failed.
FAILED: org.apache.maven.plugins.enforcer.TestRequireJavaVersion.windows-jdk11
/ Build windows-jdk11 / settingsTheJavaVersionAsNormalizedVersionShouldNotFail
Error Message:
Detected JDK Version: 9.0.4 is not in the allowed range 11.
Stack Trace:
org.apache.maven.enforcer.rule.api.EnforcerRuleException: Detected JDK Version:
9.0.4 is not in the allowed range 11.
at
org.apache.maven.plugins.enforcer.TestRequireJavaVersion.settingsTheJavaVersionAsNormalizedVersionShouldNotFail(TestRequireJavaVersion.java:84)
Build log:
[...truncated 22582 lines...]
[INFO] Downloaded from central:
https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-filtering/3.1.1/maven-filtering-3.1.1.jar
(51 kB at 959 kB/s)
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-288/m/enforcer-api/src/main/resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ enforcer-api
---
[INFO] Downloading from central:
https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-incremental/1.1/maven-shared-incremental-1.1.pom
[INFO] Downloaded from central:
https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-incremental/1.1/maven-shared-incremental-1.1.pom
(4.7 kB at 95 kB/s)
[INFO] Downloading from central:
https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/0.1/maven-shared-utils-0.1.pom
[INFO] Downloaded from central:
https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/0.1/maven-shared-utils-0.1.pom
(4.0 kB at 81 kB/s)
[INFO] Downloading from central:
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-java/0.9.2/plexus-java-0.9.2.pom
[INFO] Downloaded from central:
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-java/0.9.2/plexus-java-0.9.2.pom
(2.4 kB at 48 kB/s)
[INFO] Downloading from central:
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-languages/0.9.2/plexus-languages-0.9.2.pom
[INFO] Downloaded from central:
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-languages/0.9.2/plexus-languages-0.9.2.pom
(2.3 kB at 46 kB/s)
[INFO] Downloading from central:
https://repo.maven.apache.org/maven2/org/ow2/asm/asm/6.0_BETA/asm-6.0_BETA.pom
[INFO] Downloaded from central:
https://repo.maven.apache.org/maven2/org/ow2/asm/asm/6.0_BETA/asm-6.0_BETA.pom
(1.9 kB at 39 kB/s)
[INFO] Downloading from central:
https://repo.maven.apache.org/maven2/org/ow2/asm/asm-parent/6.0_BETA/asm-parent-6.0_BETA.pom
[INFO] Downloaded from central:
https://repo.maven.apache.org/maven2/org/ow2/asm/asm-parent/6.0_BETA/asm-parent-6.0_BETA.pom
(5.5 kB at 110 kB/s)
[INFO] Downloading from central:
https://repo.maven.apache.org/maven2/org/ow2/ow2/1.3/ow2-1.3.pom
[INFO] Downloaded from central:
https://repo.maven.apache.org/maven2/org/ow2/ow2/1.3/ow2-1.3.pom (9.5 kB at 190
kB/s)
[INFO] Downloading from central:
https://repo.maven.apache.org/maven2/com/thoughtworks/qdox/qdox/2.0-M7/qdox-2.0-M7.pom
[INFO] Downloaded from central:
https://repo.maven.apache.org/maven2/com/thoughtworks/qdox/qdox/2.0-M7/qdox-2.0-M7.pom
(16 kB at 317 kB/s)
[INFO] Downloading from central:
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/2.8.2/plexus-compiler-api-2.8.2.pom
[INFO] Downloaded from central:
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/2.8.2/plexus-compiler-api-2.8.2.pom
(867 B at 18 kB/s)
[INFO] Downloading from central:
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler/2.8.2/plexus-compiler-2.8.2.pom
[INFO] Downloaded from central:
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler/2.8.2/plexus-compiler-2.8.2.pom
(4.9 kB at 98 kB/s)
[INFO] Downloading from central:
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/2.8.2/plexus-compiler-manager-2.8.2.pom
[INFO] Downloaded from central:
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/2.8.2/plexus-compiler-manager-2.8.2.pom
(692 B at 14 kB/s)
[INFO] Downloading from central:
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/2.8.2/plexus-compiler-javac-2.8.2.pom
[INFO] Downloaded from central:
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/2.8.2/plexus-compiler-javac-2.8.2.pom
(771 B at 15 kB/s)
[INFO] Downloading from central:
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compilers/2.8.2/plexus-compilers-2.8.2.pom
[INFO] Downloaded from central:
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compilers/2.8.2/plexus-compilers-2.8.2.pom
(1.3 kB at 27 kB/s)
[INFO] Downloading from central:
https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-incremental/1.1/maven-shared-incremental-1.1.jar
[INFO] Downloading from central:
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-java/0.9.2/plexus-java-0.9.2.jar
[INFO] Downloading from central:
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/2.8.2/plexus-compiler-api-2.8.2.jar
[INFO] Downloading from central:
https://repo.maven.apache.org/maven2/com/thoughtworks/qdox/qdox/2.0-M7/qdox-2.0-M7.jar
[INFO] Downloading from central:
https://repo.maven.apache.org/maven2/org/ow2/asm/asm/6.0_BETA/asm-6.0_BETA.jar
[INFO] Downloaded from central:
https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-incremental/1.1/maven-shared-incremental-1.1.jar
(14 kB at 265 kB/s)
[INFO] Downloading from central:
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/2.8.2/plexus-compiler-manager-2.8.2.jar
[INFO] Downloaded from central:
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/2.8.2/plexus-compiler-api-2.8.2.jar
(26 kB at 517 kB/s)
[INFO] Downloaded from central:
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-java/0.9.2/plexus-java-0.9.2.jar
(31 kB at 611 kB/s)
[INFO] Downloading from central:
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/2.8.2/plexus-compiler-javac-2.8.2.jar
[INFO] Downloaded from central:
https://repo.maven.apache.org/maven2/org/ow2/asm/asm/6.0_BETA/asm-6.0_BETA.jar
(56 kB at 715 kB/s)
[INFO] Downloaded from central:
https://repo.maven.apache.org/maven2/com/thoughtworks/qdox/qdox/2.0-M7/qdox-2.0-M7.jar
(315 kB at 3.3 MB/s)
[INFO] Downloaded from central:
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/2.8.2/plexus-compiler-manager-2.8.2.jar
(4.7 kB at 46 kB/s)
[INFO] Downloaded from central:
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/2.8.2/plexus-compiler-javac-2.8.2.jar
(20 kB at 191 kB/s)
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 5 source files to
/home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-288/m/enforcer-api/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Source option 6 is no longer supported. Use 7 or later.
[ERROR] Target option 6 is no longer supported. Use 7 or later.
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache Maven Enforcer 3.0.0-SNAPSHOT:
[INFO]
[INFO] Apache Maven Enforcer .............................. SUCCESS [ 35.339 s]
[INFO] Apache Maven Enforcer API .......................... FAILURE [ 2.829 s]
[INFO] Apache Maven Enforcer Built-In Rules ............... SKIPPED
[INFO] Apache Maven Enforcer Plugin ....................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 39.739 s
[INFO] Finished at: 2019-10-03T12:27:43Z
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated
/home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-288@tmp/withMavenec4fe24a/maven-spy-20191003-122703-6604814579055883679864.log
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile)
on project enforcer-api: Compilation failure: Compilation failure:
[ERROR] Source option 6 is no longer supported. Use 7 or later.
[ERROR] Target option 6 is no longer supported. Use 7 or later.
[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-api
[INFO] evaluate-beanshell/pom.xml ....................... SUCCESS
(3.2 s)
[INFO] Building: require-no-repositories-allow-plugin-repo/pom.xml
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] Publishers: Pipeline Graph Publisher: 1 ms
[Pipeline] // withMaven
[Pipeline] echo
[FAILURE-004] hudson.AbortException: script returned exit code 1
[Pipeline] cleanWs
[INFO] run post-build script verify.groovy
[INFO] require-no-repositories-allow-plugin-repo/pom.xml SUCCESS
(3.3 s)
[INFO] Building: require-files-dont-exist/pom.xml
[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 linux-jdk14
[INFO] require-files-dont-exist/pom.xml ................. SUCCESS
(3.5 s)
[INFO] Building: require-no-repositories/pom.xml
[INFO] require-no-repositories/pom.xml .................. SUCCESS
(3.4 s)
[INFO] Building: ban-distribution-management/pom.xml
[INFO] run post-build script verify.groovy
[INFO] ban-distribution-management/pom.xml .............. SUCCESS
(3.6 s)
[INFO] Building: require-release-version/pom.xml
[INFO] require-release-version/pom.xml .................. SUCCESS
(3.2 s)
[INFO] Building: require-no-repositories_failure_plugin-repositories/pom.xml
[INFO] run post-build script verify.groovy
[INFO] require-no-repositories_failure_plugin-repositories/pom.xml
SUCCESS (3.5 s)
[INFO] Building: require-files-size/pom.xml
[INFO] require-files-size/pom.xml ....................... SUCCESS
(3.5 s)
[INFO] Building: require-files-exist/pom.xml
[INFO] require-files-exist/pom.xml ...................... SUCCESS
(3.3 s)
[INFO] Building: display-info/pom.xml
[INFO] run post-build script verify.groovy
[INFO] display-info/pom.xml ............................. SUCCESS
(3.4 s)
[INFO] Building: ban-distribution-management-multi-module-build/pom.xml
[INFO] run post-build script verify.groovy
[INFO] ban-distribution-management-multi-module-build/pom.xml SUCCESS
(3.6 s)
[INFO] Building:
require-plugin-versions-plugin-with-integration-test-lifecycle/pom.xml
[INFO]
require-plugin-versions-plugin-with-integration-test-lifecycle/pom.xml SUCCESS
(13.1 s)
[INFO] Building: require-active-profile/pom.xml
[INFO] require-active-profile/pom.xml ................... SUCCESS
(3.5 s)
[INFO] Building: require-no-repositories_failure/pom.xml
[INFO] run post-build script verify.groovy
[INFO] require-no-repositories_failure/pom.xml .......... SUCCESS
(3.5 s)
[INFO] Building: require-plugin-versions-custom-packaging/pom.xml
[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for
updates from central
[INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking for
updates from central
[INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking for
updates from central
[INFO] artifact org.apache.maven.plugins:maven-install-plugin: checking for
updates from central
[INFO] artifact org.apache.maven.plugins:maven-deploy-plugin: checking for
updates from central
[INFO] require-plugin-versions-custom-packaging/pom.xml . SUCCESS
(4.9 s)
[INFO] Building: dependencies_not_converging_test_scope/pom.xml
[INFO] dependencies_not_converging_test_scope/pom.xml ... SUCCESS
(3.8 s)
[INFO] Building: require-plugin-versions-projectGAVexpressions/pom.xml
[INFO] require-plugin-versions-projectGAVexpressions/pom.xml SUCCESS
(3.2 s)
[INFO] Building: always-fail-warn/pom.xml
[INFO] run post-build script verify.groovy
[INFO] always-fail-warn/pom.xml ......................... SUCCESS
(4.4 s)
[INFO] Building: require-release-dependencies/pom.xml
[INFO] require-release-dependencies/pom.xml ............. SUCCESS
(4.1 s)
[INFO] Building: always-fail/pom.xml
[INFO] always-fail/pom.xml .............................. SUCCESS
(3.5 s)
[INFO] Building: require-file-checksum/pom.xml
[INFO] run pre-build script setup.groovy
[INFO] require-file-checksum/pom.xml .................... SUCCESS
(3.5 s)
[INFO] Building: require-no-repositories-allow-repo/pom.xml
[INFO] run post-build script verify.groovy
[INFO] require-no-repositories-allow-repo/pom.xml ....... SUCCESS
(3.6 s)
[INFO] Building: always-pass/pom.xml
[INFO] always-pass/pom.xml .............................. SUCCESS
(3.4 s)
[INFO] Building: require-plugin-versions/pom.xml
[INFO] require-plugin-versions/pom.xml .................. SUCCESS
(4.5 s)
[INFO] Building: require-plugin-versions-plugin-with-extensions/pom.xml
[INFO] require-plugin-versions-plugin-with-extensions/pom.xml SUCCESS
(5.1 s)
[INFO] Building: multimodule/pom.xml
[INFO] multimodule/pom.xml .............................. SUCCESS
(3.2 s)
[INFO] Building: require-plugin-versions-expressions/pom.xml
[INFO] require-plugin-versions-expressions/pom.xml ...... SUCCESS
(3.1 s)
[INFO] Building: dependencies_not_converging/pom.xml
[INFO] dependencies_not_converging/pom.xml .............. SUCCESS
(3.2 s)
[INFO] Building: banned-dependencies-versionrange/pom.xml
[INFO] banned-dependencies-versionrange/pom.xml ......... SUCCESS
(3.8 s)
[INFO] Building: require-release-dependencies-excludes_failure/pom.xml
[INFO] require-release-dependencies-excludes_failure/pom.xml SUCCESS
(3.4 s)
[INFO] Building: banned-dependencies-versionrange-fail/pom.xml
[INFO] run post-build script verify.groovy
[INFO] banned-dependencies-versionrange-fail/pom.xml .... SUCCESS
(3.2 s)
[INFO] Building: require-no-repositories_failure_repositories/pom.xml
[INFO] run post-build script verify.groovy
[INFO] require-no-repositories_failure_repositories/pom.xml SUCCESS
(3.3 s)
[INFO] Building: require-property/pom.xml
[INFO] require-property/pom.xml ......................... SUCCESS
(3.8 s)
[INFO] Building: require-plugin-versions-mm-ci-friendly/pom.xml
[INFO] require-plugin-versions-mm-ci-friendly/pom.xml ... SUCCESS
(3.8 s)
[INFO] Building: require-upper-bound-dependencies-unique_success/pom.xml
[INFO] require-upper-bound-dependencies-unique_success/pom.xml
SUCCESS (3.3 s)
[INFO] Building: require-upper-bound-deps_failure/pom.xml
[INFO] run post-build script verify.groovy
[INFO] require-upper-bound-deps_failure/pom.xml ......... SUCCESS
(3.9 s)
[INFO] Building: require-no-repositories_mm_ci/pom.xml
[INFO] require-no-repositories_mm_ci/pom.xml ............ SUCCESS
(3.5 s)
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO] Passed: 68, Failed: 0, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[INFO]
[INFO] --- mrm-maven-plugin:1.0.0:stop (default) @ maven-enforcer-plugin ---
[INFO] Stopping Mock Repository Manager on http://localhost:38367
[INFO] Mock Repository Manager http://localhost:38367 is stopped.
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @
maven-enforcer-plugin ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache Maven Enforcer 3.0.0-SNAPSHOT:
[INFO]
[INFO] Apache Maven Enforcer .............................. SUCCESS [ 47.000 s]
[INFO] Apache Maven Enforcer API .......................... SUCCESS [ 6.172 s]
[INFO] Apache Maven Enforcer Built-In Rules ............... SUCCESS [ 28.665 s]
[INFO] Apache Maven Enforcer Plugin ....................... SUCCESS [05:13 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 06:36 min
[INFO] Finished at: 2019-10-03T12:29:58Z
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated
/home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-288@tmp/withMaven2e4a98f3/maven-spy-20191003-122322-2156198514166423948492.log
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] invokerPublisher - Archive invoker results for Maven artifact
MavenArtifact{org.apache.maven.plugins:maven-enforcer-plugin:maven-plugin:3.0.0-SNAPSHOT(version:
3.0.0-SNAPSHOT, snapshot:false) } generated by
PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.0.1@run
integration-test}: m/maven-enforcer-plugin/target/invoker-reports/*.xml
[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
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.enforcer:enforcer-rules:jar:3.0.0-SNAPSHOT generated by
maven-surefire-plugin:test (default-test):
m/enforcer-rules/target/surefire-reports/*.xml
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.plugins:maven-enforcer-plugin:maven-plugin:3.0.0-SNAPSHOT
generated by maven-surefire-plugin:test (default-test):
m/maven-enforcer-plugin/target/surefire-reports/*.xml
Recording test results
[withMaven] Publishers: Pipeline Graph Publisher: 4 ms, Invoker Publisher:
72472 ms, Junit Publisher: 17855 ms, Dependencies Fingerprint Publisher: 939 ms
[Pipeline] // withMaven
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // parallel
[Pipeline] echo
[FAILURE-003] AbortException hudson.AbortException: script returned exit code 1
[Pipeline] stage
[Pipeline] { (Notifications)
[Pipeline] echo
Build result: FAILURE
[Pipeline] jiraIssueSelector
[Pipeline] echo
The authors of changes [].
[Pipeline] echo
Sending email ...
[Pipeline] emailext