See https://ci-builds.apache.org/job/Maven/job/maven-box/job/maven-enforcer/job/master/21/
Changes: * introduce optional tmpWs for Windows to prevent long path failures * fix } * don't pick up tmpWs from a context * Revert "don't pick up tmpWs from a context" * Spaces instead of tabs * introduce optional tmpWs * Support for Java 13, 14, 15 All tests passed Build log: [...truncated 504504 lines...] [INFO] ban-transitive-dependencies\pom.xml .............. SUCCESS (4.1 s) [INFO] Building: ban-transitive-dependencies-fail\pom.xml [INFO] run post-build script verify.groovy [INFO] ban-transitive-dependencies-fail\pom.xml ......... SUCCESS (4.0 s) [INFO] Building: banned-dependencies\pom.xml [INFO] banned-dependencies\pom.xml ...................... SUCCESS (3.6 s) [INFO] Building: banned-dependencies-versionrange\pom.xml [INFO] banned-dependencies-versionrange\pom.xml ......... SUCCESS (3.6 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.9 s) [INFO] Building: banned-dependencies-wildcards\pom.xml [INFO] banned-dependencies-wildcards\pom.xml ............ SUCCESS (4.0 s) [INFO] Building: banned-plugins\pom.xml [INFO] banned-plugins\pom.xml ........................... SUCCESS (3.7 s) [INFO] Building: builds_a_pom_noop\pom.xml [INFO] builds_a_pom_noop\pom.xml ........................ SUCCESS (3.3 s) [INFO] Building: ci-friendly\pom.xml [INFO] ci-friendly\pom.xml .............................. SUCCESS (3.1 s) [INFO] Building: cli-always-fail\pom.xml [INFO] cli-always-fail\pom.xml .......................... SUCCESS (4.1 s) [INFO] Building: cli-always-pass\pom.xml [INFO] cli-always-pass\pom.xml .......................... SUCCESS (4.2 s) [INFO] Building: dependencies_converge\pom.xml [INFO] dependencies_converge\pom.xml .................... SUCCESS (4.1 s) [INFO] Building: dependencies_converge_exclude_wildcard\pom.xml [INFO] dependencies_converge_exclude_wildcard\pom.xml ... SUCCESS (3.9 s) [INFO] Building: dependencies_not_converging\pom.xml [INFO] dependencies_not_converging\pom.xml .............. SUCCESS (4.3 s) [INFO] Building: dependencies_not_converging_test_scope\pom.xml [INFO] dependencies_not_converging_test_scope\pom.xml ... SUCCESS (3.6 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: evaluate-beanshell\pom.xml [INFO] evaluate-beanshell\pom.xml ....................... SUCCESS (4.3 s) [INFO] Building: MENFORCER-306\pom.xml [INFO] MENFORCER-306\pom.xml ............................ SUCCESS (4.0 s) [INFO] Building: multimodule\pom.xml [INFO] multimodule\pom.xml .............................. SUCCESS (3.5 s) [INFO] Building: multimodule-ban-transitive-dependencies\pom.xml [INFO] multimodule-ban-transitive-dependencies\pom.xml .. SUCCESS (4.7 s) [INFO] Building: multimodule-ban-transitive-dependencies_failure\pom.xml [INFO] run post-build script verify.groovy [INFO] multimodule-ban-transitive-dependencies_failure\pom.xml SUCCESS (4.7 s) [INFO] Building: multimodule-require-release-dependencies\pom.xml [INFO] multimodule-require-release-dependencies\pom.xml . SUCCESS (4.7 s) [INFO] Building: multimodule-require-release-dependencies-exclude\pom.xml [INFO] multimodule-require-release-dependencies-exclude\pom.xml SUCCESS (4.2 s) [INFO] Building: multimodule-require-release-dependencies-exclude_failure\pom.xml [INFO] run post-build script verify.groovy [INFO] multimodule-require-release-dependencies-exclude_failure\pom.xml SUCCESS (4.2 s) [INFO] Building: multimodule-require-release-dependencies-snapshot-parent_failure\pom.xml [INFO] run post-build script verify.groovy [INFO] multimodule-require-release-dependencies-snapshot-parent_failure\pom.xml SUCCESS (2.9 s) [INFO] Building: require-active-profile\pom.xml [INFO] require-active-profile\pom.xml ................... SUCCESS (3.5 s) [INFO] Building: require-active-profile-all\pom.xml [INFO] require-active-profile-all\pom.xml ............... SUCCESS (3.9 s) [INFO] Building: require-active-profile-from-settings\pom.xml [INFO] require-active-profile-from-settings\pom.xml ..... SUCCESS (3.8 s) [INFO] Building: require-file-checksum\pom.xml [INFO] run pre-build script setup.groovy [INFO] require-file-checksum\pom.xml .................... SUCCESS (4.1 s) [INFO] Building: require-files-dont-exist\pom.xml [INFO] require-files-dont-exist\pom.xml ................. SUCCESS (3.9 s) [INFO] Building: require-files-exist\pom.xml [INFO] require-files-exist\pom.xml ...................... SUCCESS (5.2 s) [INFO] Building: require-files-size\pom.xml [INFO] require-files-size\pom.xml ....................... SUCCESS (3.7 s) [INFO] Building: require-java-version\pom.xml [INFO] require-java-version\pom.xml ..................... SUCCESS (4.1 s) [INFO] Building: require-maven-version\pom.xml [INFO] require-maven-version\pom.xml .................... SUCCESS (4.1 s) [INFO] Building: require-no-repositories\pom.xml [INFO] require-no-repositories\pom.xml .................. SUCCESS (4.0 s) [INFO] Building: require-no-repositories-allow-plugin-repo\pom.xml [INFO] run post-build script verify.groovy [INFO] require-no-repositories-allow-plugin-repo\pom.xml SUCCESS (4.0 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 (4.1 s) [INFO] Building: require-no-repositories_failure\pom.xml [INFO] run post-build script verify.groovy [INFO] require-no-repositories_failure\pom.xml .......... SUCCESS (4.1 s) [INFO] Building: require-no-repositories_failure_allowed-plugin-repo\pom.xml [INFO] run post-build script verify.groovy [INFO] require-no-repositories_failure_allowed-plugin-repo\pom.xml SUCCESS (4.3 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 (4.1 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 (4.2 s) [INFO] Building: require-no-repositories_mm\pom.xml [INFO] require-no-repositories_mm\pom.xml ............... SUCCESS (4.2 s) [INFO] Building: require-no-repositories_mm_ci\pom.xml [INFO] require-no-repositories_mm_ci\pom.xml ............ SUCCESS (4.1 s) [INFO] Building: require-plugin-versions\pom.xml [INFO] require-plugin-versions\pom.xml .................. SUCCESS (3.9 s) [INFO] Building: require-plugin-versions-ci\pom.xml [INFO] run post-build script verify.groovy [INFO] require-plugin-versions-ci\pom.xml ............... SUCCESS (4.1 s) [INFO] Building: require-plugin-versions-custom-packaging\pom.xml [INFO] require-plugin-versions-custom-packaging\pom.xml . SUCCESS (6.6 s) [INFO] Building: require-plugin-versions-expressions\pom.xml [INFO] require-plugin-versions-expressions\pom.xml ...... SUCCESS (3.5 s) [INFO] Building: require-plugin-versions-mm-ci-friendly\pom.xml [INFO] require-plugin-versions-mm-ci-friendly\pom.xml ... SUCCESS (3.9 s) [INFO] Building: require-plugin-versions-plugin-with-extensions\pom.xml [INFO] require-plugin-versions-plugin-with-extensions\pom.xml SUCCESS (5.9 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 (15.5 s) [INFO] Building: require-plugin-versions-projectGAVexpressions\pom.xml [INFO] require-plugin-versions-projectGAVexpressions\pom.xml SUCCESS (4.1 s) [INFO] Building: require-profile-id-exist_defined_in_parent\pom.xml [INFO] run post-build script verify.groovy [INFO] require-profile-id-exist_defined_in_parent\pom.xml SUCCESS (14.7 s) [INFO] Building: require-profile-ids-exist_failure\pom.xml [INFO] run post-build script verify.groovy [INFO] require-profile-ids-exist_failure\pom.xml ........ SUCCESS (3.7 s) [INFO] Building: require-profile-ids-exist_success\pom.xml [INFO] require-profile-ids-exist_success\pom.xml ........ SUCCESS (3.8 s) [INFO] Building: require-property\pom.xml [INFO] require-property\pom.xml ......................... SUCCESS (3.6 s) [INFO] Building: require-release-dependencies\pom.xml [INFO] require-release-dependencies\pom.xml ............. SUCCESS (4.0 s) [INFO] Building: require-release-dependencies-excludes\pom.xml [INFO] require-release-dependencies-excludes\pom.xml .... SUCCESS (3.9 s) [INFO] Building: require-release-dependencies-excludes_failure\pom.xml [INFO] require-release-dependencies-excludes_failure\pom.xml SUCCESS (4.0 s) [INFO] Building: require-release-version\pom.xml [INFO] require-release-version\pom.xml .................. SUCCESS (3.8 s) [INFO] Building: require-same-versions_failure\pom.xml [INFO] require-same-versions_failure\pom.xml ............ SUCCESS (3.6 s) [INFO] Building: require-same-versions_success\pom.xml [INFO] require-same-versions_success\pom.xml ............ SUCCESS (3.8 s) [INFO] Building: require-same-versions_with-dependencies-failure\pom.xml [INFO] require-same-versions_with-dependencies-failure\pom.xml SUCCESS (4.1 s) [INFO] Building: require-same-versions_with-dependencies-success\pom.xml [INFO] require-same-versions_with-dependencies-success\pom.xml SUCCESS (3.7 s) [INFO] Building: require-snapshot-version_failure\pom.xml [INFO] require-snapshot-version_failure\pom.xml ......... SUCCESS (3.9 s) [INFO] Building: require-snapshot-version_failure_parent-ci-friendly\pom.xml [INFO] run post-build script verify.groovy [INFO] require-snapshot-version_failure_parent-ci-friendly\pom.xml SUCCESS (3.8 s) [INFO] Building: require-snapshot-version_success\pom.xml [INFO] require-snapshot-version_success\pom.xml ......... SUCCESS (3.7 s) [INFO] Building: require-snapshot-version_success_parent-ci-friendly\pom.xml [INFO] require-snapshot-version_success_parent-ci-friendly\pom.xml SUCCESS (3.6 s) [INFO] Building: require-upper-bound-dependencies-managed_failure\pom.xml [INFO] run post-build script verify.groovy [INFO] require-upper-bound-dependencies-managed_failure\pom.xml SUCCESS (4.0 s) [INFO] Building: require-upper-bound-dependencies-managed_success\pom.xml [INFO] require-upper-bound-dependencies-managed_success\pom.xml SUCCESS (4.1 s) [INFO] Building: require-upper-bound-dependencies-unique_failure\pom.xml [INFO] run post-build script verify.groovy [INFO] require-upper-bound-dependencies-unique_failure\pom.xml SUCCESS (4.6 s) [INFO] Building: require-upper-bound-dependencies-unique_success\pom.xml [INFO] require-upper-bound-dependencies-unique_success\pom.xml SUCCESS (4.2 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 (4.1 s) [INFO] Building: require-upper-bound-deps_ignored\pom.xml [INFO] run post-build script verify.groovy [INFO] require-upper-bound-deps_ignored\pom.xml ......... SUCCESS (3.8 s) [INFO] Building: require-upper-bound-deps_includes\pom.xml [INFO] run post-build script verify.groovy [INFO] require-upper-bound-deps_includes\pom.xml ........ SUCCESS (4.3 s) [INFO] Building: require-upper-bound-deps_success\pom.xml [INFO] require-upper-bound-deps_success\pom.xml ......... SUCCESS (3.8 s) [INFO] Building: require-upper-bound-exclude_wildcard\pom.xml [INFO] require-upper-bound-exclude_wildcard\pom.xml ..... SUCCESS (3.9 s) [INFO] Building: resolve_collect_dependencies\pom.xml [INFO] run post-build script verify.groovy [INFO] resolve_collect_dependencies\pom.xml ............. SUCCESS (7.1 s) [INFO] ------------------------------------------------- [INFO] Build Summary: [INFO] Passed: 86, 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:54576 [INFO] Mock Repository Manager http://localhost:54576 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-M4-SNAPSHOT: [INFO] [INFO] Apache Maven Enforcer .............................. SUCCESS [ 11.378 s] [INFO] Apache Maven Enforcer API .......................... SUCCESS [ 2.465 s] [INFO] Apache Maven Enforcer Built-In Rules ............... SUCCESS [ 13.402 s] [INFO] Apache Maven Enforcer Plugin ....................... SUCCESS [06:28 min] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 06:56 min [INFO] Finished at: 2020-09-27T01:55:11-07:00 [INFO] ------------------------------------------------------------------------ [INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\712657a4\workspace\_maven-box_maven-enforcer_master@2@tmp\withMaven2dbf1d02\maven-spy-20200927-014815-2444022317684845939846.log [Pipeline] } [Pipeline] // dir [Pipeline] } [withMaven] artifactsPublisher - Archive artifact windows-jdk11-m3.6.x_build\pom.xml under org\apache\maven\enforcer\enforcer\3.0.0-M4-SNAPSHOT\enforcer-3.0.0-M4-SNAPSHOT.pom [withMaven] artifactsPublisher - Archive artifact windows-jdk11-m3.6.x_build\target\enforcer-3.0.0-M4-SNAPSHOT-site.xml under org\apache\maven\enforcer\enforcer\3.0.0-M4-SNAPSHOT\enforcer-3.0.0-M4-SNAPSHOT-site.xml [withMaven] artifactsPublisher - Archive artifact windows-jdk11-m3.6.x_build\enforcer-api\pom.xml under org\apache\maven\enforcer\enforcer-api\3.0.0-M4-SNAPSHOT\enforcer-api-3.0.0-M4-SNAPSHOT.pom [withMaven] artifactsPublisher - Archive artifact windows-jdk11-m3.6.x_build\enforcer-api\target\enforcer-api-3.0.0-M4-SNAPSHOT.jar under org\apache\maven\enforcer\enforcer-api\3.0.0-M4-SNAPSHOT\enforcer-api-3.0.0-M4-SNAPSHOT.jar [withMaven] artifactsPublisher - Archive artifact windows-jdk11-m3.6.x_build\enforcer-rules\pom.xml under org\apache\maven\enforcer\enforcer-rules\3.0.0-M4-SNAPSHOT\enforcer-rules-3.0.0-M4-SNAPSHOT.pom [withMaven] artifactsPublisher - Archive artifact windows-jdk11-m3.6.x_build\enforcer-rules\target\enforcer-rules-3.0.0-M4-SNAPSHOT.jar under org\apache\maven\enforcer\enforcer-rules\3.0.0-M4-SNAPSHOT\enforcer-rules-3.0.0-M4-SNAPSHOT.jar [withMaven] artifactsPublisher - Archive artifact windows-jdk11-m3.6.x_build\enforcer-rules\target\enforcer-rules-3.0.0-M4-SNAPSHOT-tests.jar under org\apache\maven\enforcer\enforcer-rules\3.0.0-M4-SNAPSHOT\enforcer-rules-3.0.0-M4-SNAPSHOT-tests.jar [withMaven] artifactsPublisher - Archive artifact windows-jdk11-m3.6.x_build\maven-enforcer-plugin\pom.xml under org\apache\maven\plugins\maven-enforcer-plugin\3.0.0-M4-SNAPSHOT\maven-enforcer-plugin-3.0.0-M4-SNAPSHOT.pom [withMaven] artifactsPublisher - Archive artifact windows-jdk11-m3.6.x_build\maven-enforcer-plugin\target\maven-enforcer-plugin-3.0.0-M4-SNAPSHOT.jar under org\apache\maven\plugins\maven-enforcer-plugin\3.0.0-M4-SNAPSHOT\maven-enforcer-plugin-3.0.0-M4-SNAPSHOT.jar [withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.enforcer:enforcer-api:jar:3.0.0-M4-SNAPSHOT generated by maven-surefire-plugin:test (default-test): windows-jdk11-m3.6.x_build\enforcer-api\target\surefire-reports\*.xml [withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.enforcer:enforcer-rules:jar:3.0.0-M4-SNAPSHOT generated by maven-surefire-plugin:test (default-test): windows-jdk11-m3.6.x_build\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-M4-SNAPSHOT generated by maven-surefire-plugin:test (default-test): windows-jdk11-m3.6.x_build\maven-enforcer-plugin\target\surefire-reports\*.xml Recording test results [withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.enforcer:enforcer-api:jar:3.0.0-M4-SNAPSHOT in source directory windows-jdk11-m3.6.x_build\enforcer-api\src\main\java [withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.enforcer:enforcer-rules:jar:3.0.0-M4-SNAPSHOT in source directory windows-jdk11-m3.6.x_build\enforcer-rules\src\main\java [withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.plugins:maven-enforcer-plugin:maven-plugin:3.0.0-M4-SNAPSHOT in source directory windows-jdk11-m3.6.x_build\maven-enforcer-plugin\src\main\java [TASKS] Scanning folder 'f:\jenkins\jenkins-slave\712657a4\workspace\_maven-box_maven-enforcer_master@2' for files matching the pattern 'windows-jdk11-m3.6.x_build\enforcer-api\src\main\java\**\*,windows-jdk11-m3.6.x_build\enforcer-rules\src\main\java\**\*,windows-jdk11-m3.6.x_build\maven-enforcer-plugin\src\main\java\**\*' - excludes: null [TASKS] Found 53 files to scan for tasks [TASKS] Found 4 open tasks. Skipping warnings blame since pipelines do not have an SCM link.%n [TASKS] Computing warning deltas based on reference build #20 [withMaven] invokerPublisher - Archive invoker results for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-enforcer-plugin:maven-plugin:3.0.0-M4-SNAPSHOT(version: 3.0.0-M4-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.2.1@run integration-test}: windows-jdk11-m3.6.x_build\maven-enforcer-plugin\target\invoker-reports\*.xml [withMaven] Publishers: Generated Artifacts Publisher: 1765 ms, Junit Publisher: 3760 ms, Open Task Scanner Publisher: 445 ms, Dependencies Fingerprint Publisher: 475 ms, Invoker Publisher: 30360 ms, Pipeline Graph Publisher: 3 ms [Pipeline] // withMaven [Pipeline] cleanWs [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] done [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // parallel [Pipeline] stage [Pipeline] { (Notifications) [Pipeline] echo Build result: FAILURE [Pipeline] jiraIssueSelector [Pipeline] echo The authors of changes [rfscholte, slachiewicz]. [Pipeline] echo Sending email ... [Pipeline] emailext