You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@maven.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2017/04/18 07:56:52 UTC

Build failed in Jenkins: maven-enforcer-m3.1.x #197

See <https://builds.apache.org/job/maven-enforcer-m3.1.x/197/display/redirect>

------------------------------------------
Started by user khmarbaise
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-us1 (ubuntu trusty) in workspace <https://builds.apache.org/job/maven-enforcer-m3.1.x/ws/>
Updating http://svn.apache.org/repos/asf/maven/enforcer/trunk at revision '2017-04-18T07:55:49.586 +0000'
At revision 1791758

No changes for http://svn.apache.org/repos/asf/maven/enforcer/trunk since the previous build
Parsing POMs
Established TCP socket on 60654
maven33-agent.jar already up to date
maven33-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[maven-enforcer-m3.1.x] $ /home/jenkins/tools/java/latest1.7/bin/java -Xmx2g -Xms256m -cp /home/jenkins/jenkins-slave/maven33-agent.jar:/home/jenkins/tools/maven/apache-maven-3.3.9/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/apache-maven-3.3.9/conf/logging jenkins.maven3.agent.Maven33Main /home/jenkins/tools/maven/apache-maven-3.3.9 /home/jenkins/jenkins-slave/slave.jar /home/jenkins/jenkins-slave/maven33-interceptor.jar /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 60654
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f <https://builds.apache.org/job/maven-enforcer-m3.1.x/ws/pom.xml> -Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/0 clean install -B -U -e -fae -V -Prun-its
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T16:41:47+00:00)
Maven home: /usr/local/asfpackages/maven/apache-maven-3.3.9
Java version: 1.7.0_80, vendor: Oracle Corporation
Java home: /usr/local/asfpackages/java/jdk1.7.0_80/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.19.0-25-generic", arch: "amd64", family: "unix"
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Apache Maven Enforcer
[INFO] Apache Maven Enforcer API
[INFO] Apache Maven Enforcer Rules
[INFO] Apache Maven Enforcer Plugin
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Maven Enforcer 1.4.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ enforcer ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-bytecode-version) @ enforcer ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (ban-known-bad-maven-versions) @ enforcer ---
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (rat-check) @ enforcer ---
[INFO] 54 implicit excludes (use -debug for more details).
[INFO] Exclude: DEPENDENCIES
[INFO] 9 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 6 licence.
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ enforcer ---
[INFO] 
[INFO] --- maven-site-plugin:3.5.1:attach-descriptor (attach-descriptor) @ enforcer ---
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.15:check (checkstyle-check) @ enforcer ---
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ enforcer ---
[INFO] Installing <https://builds.apache.org/job/maven-enforcer-m3.1.x/ws/pom.xml> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/maven/enforcer/enforcer/1.4.2-SNAPSHOT/enforcer-1.4.2-SNAPSHOT.pom
[INFO] Installing <https://builds.apache.org/job/maven-enforcer-m3.1.x/ws/target/enforcer-1.4.2-SNAPSHOT-site.xml> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/maven/enforcer/enforcer/1.4.2-SNAPSHOT/enforcer-1.4.2-SNAPSHOT-site.xml
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Maven Enforcer API 1.4.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ enforcer-api ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-bytecode-version) @ enforcer-api ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (ban-known-bad-maven-versions) @ enforcer-api ---
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (rat-check) @ enforcer-api ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude: DEPENDENCIES
[INFO] 14 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 14 licence.
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ enforcer-api ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ enforcer-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/maven-enforcer-m3.1.x/ws/enforcer-api/src/main/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ enforcer-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 5 source files to <https://builds.apache.org/job/maven-enforcer-m3.1.x/ws/enforcer-api/target/classes>
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ enforcer-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/maven-enforcer-m3.1.x/ws/enforcer-api/src/test/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ enforcer-api ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ enforcer-api ---
[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-jar-plugin:3.0.0:jar (default-jar) @ enforcer-api ---
[INFO] Building jar: <https://builds.apache.org/job/maven-enforcer-m3.1.x/ws/enforcer-api/target/enforcer-api-1.4.2-SNAPSHOT.jar>
[INFO] 
[INFO] --- maven-site-plugin:3.5.1:attach-descriptor (attach-descriptor) @ enforcer-api ---
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.15:check (checkstyle-check) @ enforcer-api ---
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ enforcer-api ---
[INFO] Installing <https://builds.apache.org/job/maven-enforcer-m3.1.x/ws/enforcer-api/target/enforcer-api-1.4.2-SNAPSHOT.jar> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/maven/enforcer/enforcer-api/1.4.2-SNAPSHOT/enforcer-api-1.4.2-SNAPSHOT.jar
[INFO] Installing <https://builds.apache.org/job/maven-enforcer-m3.1.x/ws/enforcer-api/pom.xml> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/maven/enforcer/enforcer-api/1.4.2-SNAPSHOT/enforcer-api-1.4.2-SNAPSHOT.pom
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Maven Enforcer Rules 1.4.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ enforcer-rules ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-bytecode-version) @ enforcer-rules ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (ban-known-bad-maven-versions) @ enforcer-rules ---
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (rat-check) @ enforcer-rules ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude: DEPENDENCIES
[INFO] 139 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 1 unknown: 1 generated: 0 approved: 132 licence.
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Apache Maven Enforcer Plugin
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Maven Enforcer .............................. SUCCESS [ 12.824 s]
[INFO] Apache Maven Enforcer API .......................... SUCCESS [  8.298 s]
[INFO] Apache Maven Enforcer Rules ........................ FAILURE [  2.673 s]
[INFO] Apache Maven Enforcer Plugin ....................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 32.059 s
[INFO] Finished at: 2017-04-18T07:56:43+00:00
[INFO] Final Memory: 58M/707M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check (rat-check) on project enforcer-rules: Too many files with unapproved license: 1 See RAT report in: <https://builds.apache.org/job/maven-enforcer-m3.1.x/ws/enforcer-rules/target/rat.txt> -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check (rat-check) on project enforcer-rules: Too many files with unapproved license: 1 See RAT report in: <https://builds.apache.org/job/maven-enforcer-m3.1.x/ws/enforcer-rules/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.jvnet.hudson.maven3.launcher.Maven33Launcher.main(Maven33Launcher.java:129)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238)
	at jenkins.maven3.agent.Maven33Main.launch(Maven33Main.java:176)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at hudson.maven.Maven3Builder.call(Maven3Builder.java:139)
	at hudson.maven.Maven3Builder.call(Maven3Builder.java:70)
	at hudson.remoting.UserRequest.perform(UserRequest.java:153)
	at hudson.remoting.UserRequest.perform(UserRequest.java:50)
	at hudson.remoting.Request$2.run(Request.java:336)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.rat.mp.RatCheckException: Too many files with unapproved license: 1 See RAT report in: <https://builds.apache.org/job/maven-enforcer-m3.1.x/ws/enforcer-rules/target/rat.txt>
	at org.apache.rat.mp.RatCheckMojo.check(RatCheckMojo.java:194)
	at org.apache.rat.mp.RatCheckMojo.execute(RatCheckMojo.java:182)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
	... 31 more
[JENKINS] Archiving <https://builds.apache.org/job/maven-enforcer-m3.1.x/ws/enforcer-api/pom.xml> to org.apache.maven.enforcer/enforcer-api/1.4.2-SNAPSHOT/enforcer-api-1.4.2-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/maven-enforcer-m3.1.x/ws/enforcer-api/target/enforcer-api-1.4.2-SNAPSHOT.jar> to org.apache.maven.enforcer/enforcer-api/1.4.2-SNAPSHOT/enforcer-api-1.4.2-SNAPSHOT.jar
[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
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :enforcer-rules
[JENKINS] Archiving <https://builds.apache.org/job/maven-enforcer-m3.1.x/ws/maven-enforcer-plugin/pom.xml> to org.apache.maven.plugins/maven-enforcer-plugin/1.4.2-SNAPSHOT/maven-enforcer-plugin-1.4.2-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/maven-enforcer-m3.1.x/ws/enforcer-rules/pom.xml> to org.apache.maven.enforcer/enforcer-rules/1.4.2-SNAPSHOT/enforcer-rules-1.4.2-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/maven-enforcer-m3.1.x/ws/pom.xml> to org.apache.maven.enforcer/enforcer/1.4.2-SNAPSHOT/enforcer-1.4.2-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/maven-enforcer-m3.1.x/ws/target/enforcer-1.4.2-SNAPSHOT-site.xml> to org.apache.maven.enforcer/enforcer/1.4.2-SNAPSHOT/enforcer-1.4.2-SNAPSHOT-site.xml
Sending e-mails to: notifications@maven.apache.org
channel stopped