See 
https://builds.apache.org/job/maven-box/job/maven-site-plugin/job/MSITE-842/4/

Changes:

* deploy SNAPSHOT only if  (env.BRANCH_NAME == 'master' && jdk == '8' &&
* deploy only os == linux
* deploy only with 3.6.x
* no need to execute tests twice..
* this one can deploy as well
* Update asfMavenTlpStdBuild.groovy
* no need to filter on maven version only one is used here
* Drop license header for testing purposes
* Drop license header for testing purposes
* Drop license header for testing purposes
* Drop license header for testing purposes
* Drop license header for testing purposes
* Drop license header for testing purposes
* Drop license header for testing purposes
* Drop license header for testing purposes
* Drop license header for testing purposes
* Drop license header for testing purposes
* Drop license header for testing purposes

No tests ran.

Build log:
[...truncated 1903 lines...]
    at java.lang.reflect.Method.invoke (Method.java:566)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
(Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
(Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
(Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main 
(Launcher.java:356)
Caused by: org.apache.rat.mp.RatCheckException: Too many files with unapproved 
license: 4 See RAT report in: 
f:\jenkins\jenkins-slave\workspace\-box_maven-site-plugin_MSITE-842@2@2\windows-jdk11-m3.6.x_build\target\rat.txt
    at org.apache.rat.mp.RatCheckMojo.check (RatCheckMojo.java:183)
    at org.apache.rat.mp.RatCheckMojo.execute (RatCheckMojo.java:156)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo 
(DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:81)
    at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
 (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
(LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:566)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
(Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
(Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
(Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main 
(Launcher.java:356)
[ERROR] 
[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
[Pipeline] cleanWs
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] }
[Pipeline] // stage
[Pipeline] // dir
[Pipeline] // withMaven
[Pipeline] }
[Pipeline] }
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[Pipeline] // ws
[Pipeline] }
[Fast Archiver] No prior successful build to compare, so performing full copy 
of artifacts
[WS-CLEANUP] done
[Pipeline] // node
[Pipeline] }
Failed in branch windows-jdk8-m3.5.x_build
[Pipeline] }
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact 
org.apache.maven.plugins:maven-site-plugin:maven-plugin:3.8.1-SNAPSHOT in 
source directory windows-jdk11-m3.6.x_build\src\main\java
[Pipeline] // stage
[Pipeline] }
[TASKS] Scanning folder 
'f:\jenkins\jenkins-slave\workspace\-box_maven-site-plugin_MSITE-842@2@2' for 
files matching the pattern 'windows-jdk11-m3.6.x_build\src\main\java\**\*' - 
excludes: null
[TASKS] Found 21 files to scan for tasks
[TASKS] Found 8 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[Pipeline] // ws
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch linux-jdk8-m3.5.x_build
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[withMaven] Publishers: Generated Artifacts Publisher: 16 ms, Open Task Scanner 
Publisher: 206 ms, Dependencies Fingerprint Publisher: 1 ms
[Pipeline] // ws
[Pipeline] // withMaven
[Pipeline] }
[Pipeline] cleanWs
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ maven-site-plugin 
---
[WS-CLEANUP] done
[Pipeline] // node
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[Pipeline] }
Failed in branch linux-jdk11-m3.6.x_build
[Fast Archiver] No prior successful build to compare, so performing full copy 
of artifacts
[Pipeline] cleanWs
[WS-CLEANUP] done
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] cleanWs
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ 
maven-site-plugin ---
[Pipeline] // node
[Pipeline] }
Failed in branch windows-jdk11-m3.6.x_build
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact 
org.apache.maven.plugins:maven-site-plugin:maven-plugin:3.8.1-SNAPSHOT in 
source directory linux-jdk12-m3.6.x_build/src/main/java
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[WS-CLEANUP] done
[Pipeline] }
Failed in branch linux-jdk8-m3.3.x_build
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[TASKS] Scanning folder 
'/home/jenkins/jenkins-slave/workspace/-box_maven-site-plugin_MSITE-842@2' for 
files matching the pattern 'linux-jdk12-m3.6.x_build/src/main/java/**/*' - 
excludes: null
[TASKS] Found 21 files to scan for tasks
[TASKS] Found 8 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch linux-jdk8-m3.2.x_build
[withMaven] Publishers: Generated Artifacts Publisher: 157 ms, Open Task 
Scanner Publisher: 1469 ms, Dependencies Fingerprint Publisher: 1 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] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch linux-jdk12-m3.6.x_build
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-bytecode-version) @ 
maven-site-plugin ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (ban-known-bad-maven-versions) @ 
maven-site-plugin ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (ensure-no-container-api) @ 
maven-site-plugin ---
[INFO] 
[INFO] --- apache-rat-plugin:0.12:check (rat-check) @ maven-site-plugin ---
[INFO] Enabled default license matchers.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Parsing exclusions from 
f:\jenkins\jenkins-slave\workspace\-box_maven-site-plugin_MSITE-842@2\windows-jdk8-m3.3.x_build\.gitignore
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 71 implicit excludes (use -debug for more details).
[INFO] Exclude: dependency-reduced-pom.xml
[INFO] Exclude: .repository/**
[INFO] Exclude: .maven/spy.log
[INFO] Exclude: dependency-reduced-pom.xml
[INFO] Exclude: .java-version
[INFO] 599 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 4, unknown: 4, generated: 
0, approved: 590 licenses.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 42.845 s
[INFO] Finished at: 2019-07-01T03:17:51-07:00
[INFO] Final Memory: 26M/464M
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated 
F:\jenkins\jenkins-slave\workspace\-box_maven-site-plugin_MSITE-842@2@tmp\withMaven5c3df3a6\maven-spy-20190701-031707-8638073031354430563254.log
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.12:check 
(rat-check) on project maven-site-plugin: Too many files with unapproved 
license: 4 See RAT report in: 
f:\jenkins\jenkins-slave\workspace\-box_maven-site-plugin_MSITE-842@2\windows-jdk8-m3.3.x_build\target\rat.txt
 -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.rat:apache-rat-plugin:0.12:check (rat-check) on project 
maven-site-plugin: Too many files with unapproved license: 4 See RAT report in: 
f:\jenkins\jenkins-slave\workspace\-box_maven-site-plugin_MSITE-842@2\windows-jdk8-m3.3.x_build\target\rat.txt
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
        at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
        at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.rat.mp.RatCheckException: Too many files with unapproved 
license: 4 See RAT report in: 
f:\jenkins\jenkins-slave\workspace\-box_maven-site-plugin_MSITE-842@2\windows-jdk8-m3.3.x_build\target\rat.txt
        at org.apache.rat.mp.RatCheckMojo.check(RatCheckMojo.java:183)
        at org.apache.rat.mp.RatCheckMojo.execute(RatCheckMojo.java:156)
        at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
        ... 20 more
[ERROR] 
[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
Picked up JAVA_TOOL_OPTIONS: 
-Dmaven.ext.class.path="f:\jenkins\jenkins-slave\workspace\-box_maven-site-plugin_MSITE-842@2@tmp\withMaven5c3df3a6\pipeline-maven-spy.jar"
 
-Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\workspace\-box_maven-site-plugin_MSITE-842@2@tmp\withMaven5c3df3a6"
 
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Fast Archiver] No prior successful build to compare, so performing full copy 
of artifacts
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact 
org.apache.maven.plugins:maven-site-plugin:maven-plugin:3.8.1-SNAPSHOT in 
source directory windows-jdk8-m3.3.x_build\src\main\java
[TASKS] Scanning folder 
'f:\jenkins\jenkins-slave\workspace\-box_maven-site-plugin_MSITE-842@2' for 
files matching the pattern 'windows-jdk8-m3.3.x_build\src\main\java\**\*' - 
excludes: null
[TASKS] Found 21 files to scan for tasks
[TASKS] Found 8 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[withMaven] Publishers: Generated Artifacts Publisher: 21 ms, Open Task Scanner 
Publisher: 204 ms, Dependencies Fingerprint Publisher: 1 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] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch windows-jdk8-m3.3.x_build
[Pipeline] // parallel
[Pipeline] stage
[Pipeline] { (Notifications)
[Pipeline] echo
Build result: FAILURE
[Pipeline] jiraIssueSelector
[Pipeline] emailext

Reply via email to