See https://ci-builds.apache.org/job/Maven/job/maven-box/job/maven-dependency-plugin/job/MDEP-644B/3/
Changes: * Add Java 16 to available runtimes * Added JDK 16 for Windows * Java 16-ea has not been installed on the Windows Jenkins hosts yet. * 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 * pwd() doesn't seem to work on slaves? * Using $WORKSPACE instead of env.WORKSPACE as this could behave inconsistent when used on parallel nodes. * Attempting to get the right workspace directory in parallel nodes using a withEnv block. * Attempting to get the right workspace directory in parallel nodes using a withEnv block. fix; envs should be prefixed with the `env.` prefix. * Using !isUnix() to check whether the node is running Windows or not * Shorten the windows filepath even further * Restored the full default jdk matrix including the current and ea version * Restored the full maven version matrix default All tests passed Build log: [...truncated 429973 lines...] [DEBUG] (f) testResources = [Resource {targetPath: null, filtering: false, FileSet {directory: f:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@2\windows-jdk7-m3.6.x_build\src\test\resources, PatternSet [includes: {}, excludes: {}]}}, Resource {targetPath: null, filtering: false, FileSet {directory: f:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@2\windows-jdk7-m3.6.x_build\target\maven-shared-archive-resources, PatternSet [includes: {}, excludes: {}]}}] [DEBUG] (f) testSourceDirectories = [src/test/java] [DEBUG] (f) violationIgnore = RedundantThrows,NewlineAtEndOfFile,ParameterNumber,MethodLength,FileLength [DEBUG] (f) violationSeverity = error [DEBUG] -- end configuration -- [DEBUG] executeCheckstyle start headerLocation : config/maven-header.txt [DEBUG] Added 59 source files found in 'F:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@2\windows-jdk7-m3.6.x_build\src\main\java'. [DEBUG] Added 5 resource files found in 'f:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@2\windows-jdk7-m3.6.x_build\src\main\resources'. [DEBUG] Added 0 resource files found in 'f:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@2\windows-jdk7-m3.6.x_build\target\maven-shared-archive-resources'. [DEBUG] Added 1 resource files found in 'f:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@2\windows-jdk7-m3.6.x_build\src\test\resources'. [DEBUG] Added 0 resource files found in 'f:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@2\windows-jdk7-m3.6.x_build\target\maven-shared-archive-resources'. [DEBUG] Added 65 files to process. [DEBUG] Adding the outputDirectory file:/f:/jenkins/jenkins-slave/712657a4/workspace/aven-dependency-plugin_MDEP-644B@2/windows-jdk7-m3.6.x_build/target/classes/ to the Checkstyle class path [DEBUG] request.getConfigLocation() config/maven_checks.xml [DEBUG] The resource 'config/maven_checks.xml' was not found with resourceLoader org.codehaus.plexus.resource.loader.JarResourceLoader. [DEBUG] The resource 'config/maven_checks.xml' was found as jar:file:/f:/jenkins/jenkins-slave/712657a4/workspace/.maven_repositories/1/org/apache/maven/shared/maven-shared-resources/2/maven-shared-resources-2.jar!/config/maven_checks.xml. [DEBUG] headerLocation config/maven-header.txt [DEBUG] JarResourceLoader : trying to load "jar:file:/f:/jenkins/jenkins-slave/712657a4/workspace/.maven_repositories/1/org/apache/maven/shared/maven-shared-resources/2/maven-shared-resources-2.jar" [DEBUG] The resource 'config/maven-header.txt' was found as jar:file:/f:/jenkins/jenkins-slave/712657a4/workspace/.maven_repositories/1/org/apache/maven/shared/maven-shared-resources/2/maven-shared-resources-2.jar!/config/maven-header.txt. [DEBUG] Added 'f:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@2\windows-jdk7-m3.6.x_build\src\main\resources' as a source directory. [DEBUG] Added 'f:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@2\windows-jdk7-m3.6.x_build\target\maven-shared-archive-resources' as a source directory. [INFO] run post-build script verify.groovy [INFO] mdep-586-unpacking-resources\pom.xml ............. SUCCESS (4.9 s) [INFO] Building: mdep-599-analyze-java9\pom.xml [INFO] There is 1 error reported by Checkstyle 6.18 with config/maven_checks.xml ruleset. [INFO] Ignored 1 error, 0 violation remaining. [INFO] [INFO] --- maven-invoker-plugin:3.2.1:verify (integration-test) @ maven-dependency-plugin --- [DEBUG] Configuring mojo org.apache.maven.plugins:maven-invoker-plugin:3.2.1:verify from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-invoker-plugin:3.2.1, parent: sun.misc.Launcher$AppClassLoader@29cd761a] [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-invoker-plugin:3.2.1:verify' with basic configurator --> [DEBUG] (f) ignoreFailures = false [DEBUG] (f) reportsDirectory = f:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@2\windows-jdk7-m3.6.x_build\target\invoker-reports [DEBUG] (f) skipInvocation = false [DEBUG] (f) suppressSummaries = false [DEBUG] -- end configuration -- [INFO] ------------------------------------------------- [INFO] Build Summary: [INFO] Passed: 60, Failed: 0, Errors: 0, Skipped: 6 [INFO] ------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 08:55 min [INFO] Finished at: 2020-10-07T00:18:05-07:00 [INFO] ------------------------------------------------------------------------ [INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@2@tmp\withMavend7f8471a\maven-spy-20201007-000910-5044097898476858944136.log Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="f:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@2@tmp\withMavend7f8471a\pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@2@tmp\withMavend7f8471a" [Pipeline] } [Pipeline] // dir [Pipeline] } [withMaven] artifactsPublisher - Archive artifact windows-jdk7-m3.6.x_build\pom.xml under org\apache\maven\plugins\maven-dependency-plugin\3.1.3-SNAPSHOT\maven-dependency-plugin-3.1.3-SNAPSHOT.pom [withMaven] artifactsPublisher - Archive artifact windows-jdk7-m3.6.x_build\target\maven-dependency-plugin-3.1.3-SNAPSHOT.jar under org\apache\maven\plugins\maven-dependency-plugin\3.1.3-SNAPSHOT\maven-dependency-plugin-3.1.3-SNAPSHOT.jar [withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:3.1.3-SNAPSHOT generated by maven-surefire-plugin:test (default-test): windows-jdk7-m3.6.x_build\target\surefire-reports\*.xml Recording test results [withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:3.1.3-SNAPSHOT in source directory windows-jdk7-m3.6.x_build\src\main\java [TASKS] Scanning folder 'f:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@2' for files matching the pattern 'windows-jdk7-m3.6.x_build\src\main\java\**\*' - excludes: null [TASKS] Found 59 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 #1 [withMaven] invokerPublisher - Archive invoker results for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:3.1.3-SNAPSHOT(version: 3.1.3-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.2.1@integration-test integration-test}: windows-jdk7-m3.6.x_build\target\invoker-reports\*.xml [INFO] mdep-599-analyze-java9\pom.xml ................... SUCCESS (8.4 s) [INFO] Building: mdep-663_analyze_unsupported_version\pom.xml [INFO] mdep-663_analyze_unsupported_version\pom.xml ..... SUCCESS (5.8 s) [INFO] Building: purge-local-repository\pom.xml [INFO] run pre-build script setup.bsh [INFO] artifact org.apache.maven.its.dependency.purged:1.0: checking for updates from central [INFO] run post-build script verify.groovy [INFO] purge-local-repository\pom.xml ................... SUCCESS (4.5 s) [INFO] Building: purge-local-repository-bad-dep\pom.xml [INFO] snapshot org.apache.maven.its.dependency:purge-local-repository-bad-dep:1.0-SNAPSHOT: checking for updates from apache-snapshots [INFO] snapshot org.apache.maven.its.dependency:purge-local-repository-bad-dep:1.0-SNAPSHOT: checking for updates from Nexus [INFO] artifact org.apache.maven.its.dependency.purge-local-repository-bad-dep:1.0-SNAPSHOT: checking for updates from central [INFO] artifact org.apache.maven.its.dependency.i-do-not-exist:1.0: checking for updates from central [INFO] run post-build script verify.groovy [INFO] purge-local-repository-bad-dep\pom.xml ........... SUCCESS (5.0 s) [INFO] Building: purge-local-repository-include\pom.xml [INFO] snapshot org.apache.maven.its.dependency:purge-local-repository-include:1.0-SNAPSHOT: checking for updates from apache-snapshots [INFO] snapshot org.apache.maven.its.dependency:purge-local-repository-include:1.0-SNAPSHOT: checking for updates from Nexus [INFO] artifact org.apache.maven.its.dependency.purge-local-repository-include:1.0-SNAPSHOT: checking for updates from central [INFO] run post-build script verify.groovy [INFO] purge-local-repository-include\pom.xml ........... SUCCESS (4.5 s) [INFO] Building: purge-local-repository-multi-module\pom.xml [INFO] run pre-build script setup.bsh [INFO] snapshot org.apache.maven.its.dependency:child1:1.0-SNAPSHOT: checking for updates from apache-snapshots [INFO] snapshot org.apache.maven.its.dependency:child1:1.0-SNAPSHOT: checking for updates from Nexus [INFO] artifact org.apache.maven.its.dependency.child1:1.0-SNAPSHOT: checking for updates from central [INFO] artifact org.apache.maven.its.dependency.purged-a:1.0: checking for updates from central [INFO] snapshot org.apache.maven.its.dependency:child2:1.0-SNAPSHOT: checking for updates from apache-snapshots [INFO] snapshot org.apache.maven.its.dependency:child2:1.0-SNAPSHOT: checking for updates from Nexus [INFO] artifact org.apache.maven.its.dependency.child2:1.0-SNAPSHOT: checking for updates from central [INFO] artifact org.apache.maven.its.dependency.purged-b:1.0: checking for updates from central [INFO] run post-build script verify.groovy [INFO] purge-local-repository-multi-module\pom.xml ...... SUCCESS (5.0 s) [INFO] Building: purge-local-repository-multi-module-execution\pom.xml [INFO] run pre-build script setup.bsh [INFO] run post-build script verify.bsh [INFO] purge-local-repository-multi-module-execution\pom.xml SUCCESS (4.3 s) [INFO] Building: purge-local-repository-non-transitive\pom.xml [withMaven] Publishers: Generated Artifacts Publisher: 506 ms, Junit Publisher: 3538 ms, Open Task Scanner Publisher: 228 ms, Dependencies Fingerprint Publisher: 165 ms, Invoker Publisher: 33957 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] } [INFO] run post-build script verify.bsh [INFO] purge-local-repository-non-transitive\pom.xml .... SUCCESS (5.4 s) [INFO] Building: purge-local-repository-reresolve\pom.xml [INFO] run post-build script verify.bsh [INFO] purge-local-repository-reresolve\pom.xml ......... SUCCESS (4.9 s) [INFO] Building: purge-local-repository-snapshots-only\pom.xml [INFO] run pre-build script setup.bsh [INFO] snapshot org.apache.maven.its.dependency:snap-purged:1.0-SNAPSHOT: checking for updates from apache-snapshots [INFO] snapshot org.apache.maven.its.dependency:snap-purged:1.0-SNAPSHOT: checking for updates from Nexus [INFO] artifact org.apache.maven.its.dependency.snap-purged:1.0-SNAPSHOT: checking for updates from central [INFO] run post-build script verify.bsh [INFO] purge-local-repository-snapshots-only\pom.xml .... SUCCESS (5.2 s) [INFO] Building: purge-local-repository-version-range\pom.xml [INFO] artifact org.apache.maven.its.dependency:purge-local-repository: checking for updates from central [INFO] artifact org.apache.maven.its.dependency:purge-local-repository: checking for updates from central [INFO] run post-build script verify.bsh [INFO] purge-local-repository-version-range\pom.xml ..... SUCCESS (4.6 s) [INFO] Building: resolve\pom.xml [INFO] resolve\pom.xml .................................. SUCCESS (4.5 s) [INFO] Building: resolve-plugins\pom.xml [INFO] resolve-plugins\pom.xml .......................... SUCCESS (5.4 s) [INFO] Building: resolve-plugins-exclude-reactor\pom.xml [INFO] run post-build script verify.groovy [INFO] resolve-plugins-exclude-reactor\pom.xml .......... SUCCESS (6.7 s) [INFO] Building: resolve-plugins-with-exclude\pom.xml [INFO] run post-build script verify.groovy [INFO] resolve-plugins-with-exclude\pom.xml ............. SUCCESS (5.1 s) [INFO] Building: sources\pom.xml [INFO] artifact classworlds.classworlds:1.1-alpha-2: checking for updates from central [INFO] sources\pom.xml .................................. SUCCESS (6.6 s) [INFO] Building: tree\pom.xml [INFO] run post-build script verify.bsh [INFO] tree\pom.xml ..................................... SUCCESS (4.9 s) [INFO] Building: tree-includes\pom.xml [INFO] run post-build script verify.bsh [INFO] tree-includes\pom.xml ............................ SUCCESS (4.6 s) [INFO] Building: tree-multimodule\pom.xml [INFO] snapshot org.apache.maven.its.dependency:tree-multimodule-module-a:1.0-SNAPSHOT: checking for updates from apache-snapshots [INFO] snapshot org.apache.maven.its.dependency:tree-multimodule-module-a:1.0-SNAPSHOT: checking for updates from Nexus [INFO] artifact org.apache.maven.its.dependency.tree-multimodule-module-a:1.0-SNAPSHOT: checking for updates from central [INFO] run post-build script verify.bsh [INFO] tree-multimodule\pom.xml ......................... SUCCESS (4.2 s) [INFO] Building: tree-verbose\pom.xml [INFO] run post-build script verify.bsh [INFO] tree-verbose\pom.xml ............................. SUCCESS (6.7 s) [INFO] Building: tree-verbose-multimodule\pom.xml [INFO] run post-build script verify.bsh [INFO] tree-verbose-multimodule\pom.xml ................. SUCCESS (5.5 s) [INFO] Building: tree-verbose-small\pom.xml [INFO] run post-build script verify.bsh [INFO] tree-verbose-small\pom.xml ....................... SUCCESS (5.6 s) [INFO] Building: unpack\pom.xml [INFO] run post-build script verify.bsh [INFO] unpack\pom.xml ................................... SUCCESS (5.8 s) [INFO] Building: unpack-cli\pom.xml [INFO] run post-build script verify.bsh [INFO] unpack-cli\pom.xml ............................... SUCCESS (4.4 s) [INFO] Building: unpack-custom-ear\pom.xml [INFO] run post-build script verify.groovy [INFO] unpack-custom-ear\pom.xml ........................ SUCCESS (5.0 s) [INFO] Building: unpack-dependencies\pom.xml [INFO] run post-build script verify.groovy [INFO] unpack-dependencies\pom.xml ...................... SUCCESS (5.4 s) [INFO] Building: unpack-dependencies-with-filemappers\pom.xml [INFO] run post-build script verify.groovy [INFO] unpack-dependencies-with-filemappers\pom.xml ..... SUCCESS (6.3 s) [INFO] Building: unpack-from-remote-repository\pom.xml [INFO] run pre-build script setup.bsh [INFO] artifact org.apache.maven.its.dependency.fake-remote-unpack:1.0: checking for updates from central [INFO] run post-build script verify.bsh [INFO] unpack-from-remote-repository\pom.xml ............ SUCCESS (5.6 s) [INFO] Building: used-dependencies\pom.xml [INFO] used-dependencies\pom.xml ........................ SUCCESS (6.0 s) [INFO] Building: purge-local-repository-without-pom [INFO] run pre-build script setup.bsh [INFO] run post-build script verify.groovy [INFO] purge-local-repository-without-pom ............... SUCCESS (4.4 s) [INFO] [INFO] --- mrm-maven-plugin:1.2.0:stop (default) @ maven-dependency-plugin --- [INFO] Stopping Mock Repository Manager on http://localhost:64874 [INFO] Stopped SocketConnector@0.0.0.0:64874 [INFO] Mock Repository Manager http://localhost:64874 is stopped. [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ maven-dependency-plugin --- [INFO] There is 1 error reported by Checkstyle 6.18 with config/maven_checks.xml ruleset. [INFO] Ignored 1 error, 0 violation remaining. [INFO] [INFO] --- maven-invoker-plugin:3.2.1:verify (integration-test) @ maven-dependency-plugin --- [INFO] ------------------------------------------------- [INFO] Build Summary: [INFO] Passed: 66, Failed: 0, Errors: 0, Skipped: 0 [INFO] ------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 08:15 min [INFO] Finished at: 2020-10-07T00:20:48-07:00 [INFO] ------------------------------------------------------------------------ [INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@3@2@tmp\withMaven4033b15d\maven-spy-20201007-001232-76715055110334253084865.log [Pipeline] } [Pipeline] // dir [Pipeline] } [withMaven] artifactsPublisher - Archive artifact windows-jdk11-m3.6.x_build\pom.xml under org\apache\maven\plugins\maven-dependency-plugin\3.1.3-SNAPSHOT\maven-dependency-plugin-3.1.3-SNAPSHOT.pom [withMaven] artifactsPublisher - Archive artifact windows-jdk11-m3.6.x_build\target\maven-dependency-plugin-3.1.3-SNAPSHOT.jar under org\apache\maven\plugins\maven-dependency-plugin\3.1.3-SNAPSHOT\maven-dependency-plugin-3.1.3-SNAPSHOT.jar [withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:3.1.3-SNAPSHOT generated by maven-surefire-plugin:test (default-test): windows-jdk11-m3.6.x_build\target\surefire-reports\*.xml Recording test results [withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:3.1.3-SNAPSHOT in source directory windows-jdk11-m3.6.x_build\src\main\java [TASKS] Scanning folder 'f:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@3@2' for files matching the pattern 'windows-jdk11-m3.6.x_build\src\main\java\**\*' - excludes: null [TASKS] Found 59 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 #1 [withMaven] invokerPublisher - Archive invoker results for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:3.1.3-SNAPSHOT(version: 3.1.3-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.2.1@integration-test integration-test}: windows-jdk11-m3.6.x_build\target\invoker-reports\*.xml [withMaven] Publishers: Generated Artifacts Publisher: 616 ms, Junit Publisher: 3462 ms, Open Task Scanner Publisher: 226 ms, Dependencies Fingerprint Publisher: 234 ms, Invoker Publisher: 30123 ms, Pipeline Graph Publisher: 1 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 [mthmulders, martinkanters, rfscholte]. [Pipeline] echo Sending email ... [Pipeline] emailext