See 
https://ci-builds.apache.org/job/Maven/job/maven-box/job/maven-source-plugin/job/master/16/

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
* Fix some sonar findings
* Bump junit from 4.12 to 4.13
* Bump plexus-archiver from 4.2.1 to 4.2.2
* Bump maven-assembly-plugin from 3.2.0 to 3.3.0
* Fix issues reported by IDE

All tests passed

Build log:
[...truncated 19065 lines...]
[INFO] Building jar: 
f:\jenkins\jenkins-slave\712657a4\workspace\n-box_maven-source-plugin_master@3\windows-jdk11-m3.6.x_build\target\maven-source-plugin-3.2.2-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-plugin-plugin:3.5.2:addPluginArtifactMetadata 
(default-addPluginArtifactMetadata) @ maven-source-plugin ---
[INFO] 
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ 
maven-source-plugin ---
[INFO] Installing 
f:\jenkins\jenkins-slave\712657a4\workspace\n-box_maven-source-plugin_master@2@2\windows-jdk8-m3.6.x_build\pom.xml
 to 
f:\jenkins\jenkins-slave\712657a4\workspace\n-box_maven-source-plugin_master@2@2\windows-jdk8-m3.6.x_build\target\local-repo\org\apache\maven\plugins\maven-source-plugin\3.2.2-SNAPSHOT\maven-source-plugin-3.2.2-SNAPSHOT.pom
[INFO] Installing 
f:\jenkins\jenkins-slave\712657a4\workspace\n-box_maven-source-plugin_master@2@2\windows-jdk8-m3.6.x_build\target\maven-source-plugin-3.2.2-SNAPSHOT.jar
 to 
f:\jenkins\jenkins-slave\712657a4\workspace\n-box_maven-source-plugin_master@2@2\windows-jdk8-m3.6.x_build\target\local-repo\org\apache\maven\plugins\maven-source-plugin\3.2.2-SNAPSHOT\maven-source-plugin-3.2.2-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-invoker-plugin:3.2.1:integration-test (integration-test) @ 
maven-source-plugin ---
[INFO] Skipping because packaging 'maven-plugin' is not pom.
[INFO] 
[INFO] --- maven-invoker-plugin:3.2.1:install (integration-test) @ 
maven-source-plugin ---
[INFO] Building: jar\pom.xml
[INFO] Installing 
f:\jenkins\jenkins-slave\712657a4\workspace\n-box_maven-source-plugin_master@3\windows-jdk11-m3.6.x_build\pom.xml
 to 
f:\jenkins\jenkins-slave\712657a4\workspace\n-box_maven-source-plugin_master@3\windows-jdk11-m3.6.x_build\target\local-repo\org\apache\maven\plugins\maven-source-plugin\3.2.2-SNAPSHOT\maven-source-plugin-3.2.2-SNAPSHOT.pom
[INFO] Installing 
f:\jenkins\jenkins-slave\712657a4\workspace\n-box_maven-source-plugin_master@3\windows-jdk11-m3.6.x_build\target\maven-source-plugin-3.2.2-SNAPSHOT.jar
 to 
f:\jenkins\jenkins-slave\712657a4\workspace\n-box_maven-source-plugin_master@3\windows-jdk11-m3.6.x_build\target\local-repo\org\apache\maven\plugins\maven-source-plugin\3.2.2-SNAPSHOT\maven-source-plugin-3.2.2-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-invoker-plugin:3.2.1:integration-test (integration-test) @ 
maven-source-plugin ---
[INFO] Building: jar\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           jar\pom.xml ...................................... SUCCESS 
(6.8 s)
[INFO] Building: jar-attached\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           jar\pom.xml ...................................... SUCCESS 
(6.1 s)
[INFO] Building: jar-attached\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           jar-attached\pom.xml ............................. SUCCESS 
(15.2 s)
[INFO] Building: jar-classifier\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           jar-attached\pom.xml ............................. SUCCESS 
(14.2 s)
[INFO] Building: jar-classifier\pom.xml
[INFO] run post-build script verify.bsh
[INFO] run post-build script verify.bsh
[INFO]           jar-classifier\pom.xml ........................... SUCCESS 
(3.7 s)
[INFO] Building: jar-includes-excludes\pom.xml
[INFO]           jar-classifier\pom.xml ........................... SUCCESS 
(3.6 s)
[INFO] Building: jar-includes-excludes\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           jar-includes-excludes\pom.xml .................... SUCCESS 
(7.3 s)
[INFO] Building: jar-no-fork\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           jar-includes-excludes\pom.xml .................... SUCCESS 
(7.2 s)
[INFO] Building: jar-no-fork\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           jar-no-fork\pom.xml .............................. SUCCESS 
(5.8 s)
[INFO] Building: jar-with-archive-config\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           jar-no-fork\pom.xml .............................. SUCCESS 
(5.6 s)
[INFO] Building: jar-with-archive-config\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           jar-with-archive-config\pom.xml .................. SUCCESS 
(2.8 s)
[INFO] Building: jar-without-descriptor-config\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           jar-with-archive-config\pom.xml .................. SUCCESS 
(2.9 s)
[INFO] Building: jar-without-descriptor-config\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           jar-without-descriptor-config\pom.xml ............ SUCCESS 
(2.6 s)
[INFO] Building: manifest-content\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           jar-without-descriptor-config\pom.xml ............ SUCCESS 
(2.9 s)
[INFO] Building: manifest-content\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           manifest-content\pom.xml ......................... SUCCESS 
(2.4 s)
[INFO] Building: MSOURCES-62\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           manifest-content\pom.xml ......................... SUCCESS 
(2.7 s)
[INFO] Building: MSOURCES-62\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           MSOURCES-62\pom.xml .............................. SUCCESS 
(3.9 s)
[INFO] Building: MSOURCES-64\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           MSOURCES-62\pom.xml .............................. SUCCESS 
(4.4 s)
[INFO] Building: MSOURCES-64\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MSOURCES-64\pom.xml .............................. SUCCESS 
(4.5 s)
[INFO] Building: MSOURCES-95\pom.xml
[INFO] run post-build script verify.groovy
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by 
org.codehaus.groovy.reflection.CachedClass 
(file:/f:/jenkins/jenkins-slave/712657a4/workspace/.maven_repositories/0/org/codehaus/groovy/groovy-all/2.4.8/groovy-all-2.4.8.jar)
 to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of 
org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO]           MSOURCES-64\pom.xml .............................. SUCCESS 
(4.9 s)
[INFO] Building: MSOURCES-95\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MSOURCES-95\pom.xml .............................. SUCCESS 
(5.6 s)
[INFO] Building: project-without-sources\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MSOURCES-95\pom.xml .............................. SUCCESS 
(6.2 s)
[INFO] Building: project-without-sources\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           project-without-sources\pom.xml .................. SUCCESS 
(3.0 s)
[INFO] Building: reproducible\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           project-without-sources\pom.xml .................. SUCCESS 
(2.9 s)
[INFO] Building: reproducible\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           reproducible\pom.xml ............................. SUCCESS 
(9.0 s)
[INFO] Building: test-jar\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           reproducible\pom.xml ............................. SUCCESS 
(8.1 s)
[INFO] Building: test-jar\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           test-jar\pom.xml ................................. SUCCESS 
(3.2 s)
[INFO] Building: test-jar-classifier\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           test-jar\pom.xml ................................. SUCCESS 
(3.8 s)
[INFO] Building: test-jar-classifier\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           test-jar-classifier\pom.xml ...................... SUCCESS 
(3.5 s)
[INFO] Building: test-jar-generated\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           test-jar-classifier\pom.xml ...................... SUCCESS 
(3.6 s)
[INFO] Building: test-jar-generated\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           test-jar-generated\pom.xml ....................... SUCCESS 
(4.3 s)
[INFO] Building: test-jar-no-fork\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           test-jar-generated\pom.xml ....................... SUCCESS 
(4.4 s)
[INFO] Building: test-jar-no-fork\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           test-jar-no-fork\pom.xml ......................... SUCCESS 
(4.9 s)
[INFO] Building: verify-parameter-goal-generated-test-jar\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           test-jar-no-fork\pom.xml ......................... SUCCESS 
(5.3 s)
[INFO] Building: verify-parameter-goal-generated-test-jar\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           verify-parameter-goal-generated-test-jar\pom.xml . SUCCESS 
(2.8 s)
[INFO] Building: verify-parameter-goal-jar\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           verify-parameter-goal-generated-test-jar\pom.xml . SUCCESS 
(3.1 s)
[INFO] Building: verify-parameter-goal-jar\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           verify-parameter-goal-jar\pom.xml ................ SUCCESS 
(2.9 s)
[INFO] Building: verify-parameter-goal-jar-no-fork\pom.xml
[INFO] run post-build script verify.groovy
[INFO] run post-build script verify.groovy
[INFO]           verify-parameter-goal-jar-no-fork\pom.xml ........ SUCCESS 
(2.7 s)
[INFO] Building: verify-parameter-goal-test-jar\pom.xml
[INFO]           verify-parameter-goal-jar\pom.xml ................ SUCCESS 
(2.9 s)
[INFO] Building: verify-parameter-goal-jar-no-fork\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           verify-parameter-goal-test-jar\pom.xml ........... SUCCESS 
(3.2 s)
[INFO] Building: verify-parameter-goal-test-jar-no-fork\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           verify-parameter-goal-jar-no-fork\pom.xml ........ SUCCESS 
(3.3 s)
[INFO] Building: verify-parameter-goal-test-jar\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           verify-parameter-goal-test-jar-no-fork\pom.xml ... SUCCESS 
(3.0 s)
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ 
maven-source-plugin ---
[INFO] run post-build script verify.groovy
[INFO]           verify-parameter-goal-test-jar\pom.xml ........... SUCCESS 
(3.2 s)
[INFO] Building: verify-parameter-goal-test-jar-no-fork\pom.xml
[INFO] 
[INFO] --- maven-invoker-plugin:3.2.1:verify (integration-test) @ 
maven-source-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 22, Failed: 0, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  02:00 min
[INFO] Finished at: 2020-09-26T06:59:48-07:00
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated 
F:\jenkins\jenkins-slave\712657a4\workspace\n-box_maven-source-plugin_master@2@2@tmp\withMavenbe858b8e\maven-spy-20200926-065747-4817924897597642571962.log
Picked up JAVA_TOOL_OPTIONS: 
-Dmaven.ext.class.path="f:\jenkins\jenkins-slave\712657a4\workspace\n-box_maven-source-plugin_master@2@2@tmp\withMavenbe858b8e\pipeline-maven-spy.jar"
 
-Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\712657a4\workspace\n-box_maven-source-plugin_master@2@2@tmp\withMavenbe858b8e"
 
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk8-m3.6.x_build\pom.xml under 
org\apache\maven\plugins\maven-source-plugin\3.2.2-SNAPSHOT\maven-source-plugin-3.2.2-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk8-m3.6.x_build\target\maven-source-plugin-3.2.2-SNAPSHOT.jar under 
org\apache\maven\plugins\maven-source-plugin\3.2.2-SNAPSHOT\maven-source-plugin-3.2.2-SNAPSHOT.jar
[Fast Archiver] No prior successful build to compare, so performing full copy 
of artifacts
[INFO] run post-build script verify.groovy
[INFO]           verify-parameter-goal-test-jar-no-fork\pom.xml ... SUCCESS 
(3.2 s)
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ 
maven-source-plugin ---
[withMaven] junitPublisher - Archive test results for Maven artifact 
org.apache.maven.plugins:maven-source-plugin:maven-plugin:3.2.2-SNAPSHOT 
generated by maven-surefire-plugin:test (default-test): 
windows-jdk8-m3.6.x_build\target\surefire-reports\*.xml
Recording test results
[INFO] 
[INFO] --- maven-invoker-plugin:3.2.1:verify (integration-test) @ 
maven-source-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 22, Failed: 0, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  02:04 min
[INFO] Finished at: 2020-09-26T06:59:51-07:00
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated 
F:\jenkins\jenkins-slave\712657a4\workspace\n-box_maven-source-plugin_master@3@tmp\withMavenaeb2845b\maven-spy-20200926-065747-50410502108239570719558.log
[Pipeline] }
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact 
org.apache.maven.plugins:maven-source-plugin:maven-plugin:3.2.2-SNAPSHOT in 
source directory windows-jdk8-m3.6.x_build\src\main\java
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk11-m3.6.x_build\pom.xml under 
org\apache\maven\plugins\maven-source-plugin\3.2.2-SNAPSHOT\maven-source-plugin-3.2.2-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk11-m3.6.x_build\target\maven-source-plugin-3.2.2-SNAPSHOT.jar under 
org\apache\maven\plugins\maven-source-plugin\3.2.2-SNAPSHOT\maven-source-plugin-3.2.2-SNAPSHOT.jar
[Fast Archiver] No prior successful build to compare, so performing full copy 
of artifacts
[withMaven] junitPublisher - Archive test results for Maven artifact 
org.apache.maven.plugins:maven-source-plugin:maven-plugin:3.2.2-SNAPSHOT 
generated by maven-surefire-plugin:test (default-test): 
windows-jdk11-m3.6.x_build\target\surefire-reports\*.xml
Recording test results
[TASKS] Scanning folder 
'f:\jenkins\jenkins-slave\712657a4\workspace\n-box_maven-source-plugin_master@2@2'
 for files matching the pattern 'windows-jdk8-m3.6.x_build\src\main\java\**\*' 
- excludes: null
[TASKS] Found 7 files to scan for tasks
[TASKS] Found 0 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[withMaven] invokerPublisher - Archive invoker results for Maven artifact 
MavenArtifact{org.apache.maven.plugins:maven-source-plugin:maven-plugin:3.2.2-SNAPSHOT(version:
 3.2.2-SNAPSHOT, snapshot:false) } generated by 
PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.2.1@integration-test
  integration-test}: windows-jdk8-m3.6.x_build\target\invoker-reports\*.xml
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact 
org.apache.maven.plugins:maven-source-plugin:maven-plugin:3.2.2-SNAPSHOT in 
source directory windows-jdk11-m3.6.x_build\src\main\java
[TASKS] Scanning folder 
'f:\jenkins\jenkins-slave\712657a4\workspace\n-box_maven-source-plugin_master@3'
 for files matching the pattern 'windows-jdk11-m3.6.x_build\src\main\java\**\*' 
- excludes: null
[TASKS] Found 7 files to scan for tasks
[TASKS] Found 0 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[withMaven] invokerPublisher - Archive invoker results for Maven artifact 
MavenArtifact{org.apache.maven.plugins:maven-source-plugin:maven-plugin:3.2.2-SNAPSHOT(version:
 3.2.2-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: 414 ms, Junit Publisher: 
328 ms, Open Task Scanner Publisher: 76 ms, Invoker Publisher: 6938 ms
[withMaven] Publishers: Generated Artifacts Publisher: 968 ms, Junit Publisher: 
1779 ms, Open Task Scanner Publisher: 800 ms, Invoker Publisher: 7361 ms
[Pipeline] // withMaven
[Pipeline] cleanWs
[Pipeline] // withMaven
[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...
[Pipeline] }
[WS-CLEANUP] done
[Pipeline] // stage
[Pipeline] }
[Pipeline] }
[Pipeline] // ws
[Pipeline] // stage
[Pipeline] }
[Pipeline] }
[Pipeline] // node
[Pipeline] // ws
[Pipeline] }
[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

Reply via email to