See 
<https://builds.apache.org/job/Creadur-Rat-Site-Latest-Jdk/270/display/redirect?page=changes>

Changes:

[pottlinger] RAT-242: Adapt rat check configuration

Add explicit exclusion for new resource files.

------------------------------------------
[...truncated 32.71 KB...]
Established TCP socket on 45770
maven32-agent.jar already up to date
maven32-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[Creadur-Rat-Site-Latest-Jdk] $ /home/jenkins/tools/java/latest1.8/bin/java 
-Xmx2g -Xms256m -cp 
/home/jenkins/jenkins-slave/maven32-agent.jar:/home/jenkins/tools/maven/apache-maven-3.2.1/boot/plexus-classworlds-2.5.1.jar:/home/jenkins/tools/maven/apache-maven-3.2.1/conf/logging
 jenkins.maven3.agent.Maven32Main /home/jenkins/tools/maven/apache-maven-3.2.1 
/home/jenkins/jenkins-slave/slave.jar 
/home/jenkins/jenkins-slave/maven32-interceptor.jar 
/home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 45770
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f 
<https://builds.apache.org/job/Creadur-Rat-Site-Latest-Jdk/ws/pom.xml> 
-Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/1 -e clean 
site -Dmaven.test.skip=true
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Apache Creadur Rat
[INFO] Apache Creadur Rat::API
[INFO] Apache Creadur Rat::Core
[INFO] Apache Creadur Rat::Plugin4Maven
[INFO] Apache Creadur Rat::Tasks4Ant
[INFO] Apache Creadur Rat::Command Line
[INFO] 
[INFO] Using the builder 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder
 with a thread count of 1
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Creadur Rat 0.13-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ apache-rat-project 
---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (copy-site-resources) @ 
apache-rat-project ---
[INFO] Executing tasks

main:
     [copy] Copying 1 file to 
<https://builds.apache.org/job/Creadur-Rat-Site-Latest-Jdk/ws/target/site>
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-site-plugin:3.4:site (default-site) @ apache-rat-project ---
[INFO] configuring report plugin 
org.apache.maven.plugins:maven-changes-plugin:2.11
[INFO] configuring report plugin 
org.apache.maven.plugins:maven-javadoc-plugin:2.10.4
[INFO] preparing 'javadoc' report requires 'generate-sources' forked phase 
execution
[INFO] 
[INFO] >>> maven-javadoc-plugin:2.10.4:javadoc @ apache-rat-project >>>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-bytecode-version) @ 
apache-rat-project ---
[INFO] 
[INFO] --- apache-rat-plugin:0.12:check (default) @ apache-rat-project ---
[INFO] Enabled default license matchers.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Parsing exclusions from 
<https://builds.apache.org/job/Creadur-Rat-Site-Latest-Jdk/ws/.gitignore>
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 78 implicit excludes (use -debug for more details).
[INFO] Exclude: .travis.yml
[INFO] Exclude: BUILD.txt
[INFO] Exclude: apache-rat/README*.txt
[INFO] Exclude: apache-rat-core/src/test/resources/**
[INFO] Exclude: apache-rat*/target/**
[INFO] Exclude: apache-rat-plugin/src/test/resources/**
[INFO] Exclude: apache-rat-plugin/src/it/**
[INFO] Exclude: apache-rat-tasks/src/test/resources/**
[INFO] Exclude: **/iso-8859-1.html
[INFO] 16 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 
0, approved: 11 licenses.
[INFO] 
[INFO] <<< maven-javadoc-plugin:2.10.4:javadoc @ apache-rat-project <<<
[INFO] preparing 'aggregate' report requires 'generate-sources' forked phase 
execution
[INFO] 
[INFO] >>> maven-javadoc-plugin:2.10.4:aggregate @ apache-rat-project >>>
[INFO]                                                                         
[INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO] Forking Apache Creadur Rat 0.13-SNAPSHOT
[INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-bytecode-version) @ 
apache-rat-project ---
[INFO] 
[INFO] --- apache-rat-plugin:0.12:check (default) @ apache-rat-project ---
[INFO] Enabled default license matchers.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Parsing exclusions from 
<https://builds.apache.org/job/Creadur-Rat-Site-Latest-Jdk/ws/.gitignore>
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 78 implicit excludes (use -debug for more details).
[INFO] Exclude: .travis.yml
[INFO] Exclude: BUILD.txt
[INFO] Exclude: apache-rat/README*.txt
[INFO] Exclude: apache-rat-core/src/test/resources/**
[INFO] Exclude: apache-rat*/target/**
[INFO] Exclude: apache-rat-plugin/src/test/resources/**
[INFO] Exclude: apache-rat-plugin/src/it/**
[INFO] Exclude: apache-rat-tasks/src/test/resources/**
[INFO] Exclude: **/iso-8859-1.html
[INFO] 16 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 
0, approved: 11 licenses.
[INFO]                                                                         
[INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO] Forking Apache Creadur Rat::API 0.13-SNAPSHOT
[INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-bytecode-version) @ 
apache-rat-api ---
[INFO] 
[INFO] --- apache-rat-plugin:0.12:check (default) @ apache-rat-api ---
[INFO] Enabled default license matchers.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Parsing exclusions from 
<https://builds.apache.org/job/Creadur-Rat-Site-Latest-Jdk/ws/apache-rat-api/.gitignore>
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 74 implicit excludes (use -debug for more details).
[INFO] Exclude: .travis.yml
[INFO] Exclude: BUILD.txt
[INFO] Exclude: apache-rat/README*.txt
[INFO] Exclude: apache-rat-core/src/test/resources/**
[INFO] Exclude: apache-rat*/target/**
[INFO] Exclude: apache-rat-plugin/src/test/resources/**
[INFO] Exclude: apache-rat-plugin/src/it/**
[INFO] Exclude: apache-rat-tasks/src/test/resources/**
[INFO] Exclude: **/iso-8859-1.html
[INFO] 8 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 
0, approved: 8 licenses.
[INFO]                                                                         
[INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO] Forking Apache Creadur Rat::Core 0.13-SNAPSHOT
[INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO] Downloading: 
http://repository.apache.org/snapshots/org/apache/rat/apache-rat-api/0.13-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: 
http://repository.apache.org/snapshots/org/apache/rat/apache-rat-api/0.13-SNAPSHOT/maven-metadata.xml
 (778 B at 1.8 KB/sec)
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-bytecode-version) @ 
apache-rat-core ---
[INFO] 
[INFO] --- apache-rat-plugin:0.12:check (default) @ apache-rat-core ---
[INFO] Enabled default license matchers.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 61 implicit excludes (use -debug for more details).
[INFO] Exclude: src/test/resources/appliedAL20/bad/*.*
[INFO] Exclude: src/test/resources/oasis/bad/*.*
[INFO] Exclude: src/test/resources/elements/Source.java
[INFO] Exclude: src/test/resources/elements/ILoggerFactory.java
[INFO] Exclude: src/test/resources/elements/sub/Empty.txt
[INFO] Exclude: src/test/resources/violations/bad.txt
[INFO] Exclude: src/test/resources/violations/FilterTest.cs
[INFO] Exclude: src/test/resources/binaries/Image-png.not
[INFO] 166 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 
0, approved: 158 licenses.
[INFO]                                                                         
[INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO] Forking Apache Creadur Rat::Plugin4Maven 0.13-SNAPSHOT
[INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO] Downloading: 
http://repository.apache.org/snapshots/org/apache/rat/apache-rat-core/0.13-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: 
http://repository.apache.org/snapshots/org/apache/rat/apache-rat-core/0.13-SNAPSHOT/maven-metadata.xml
 (779 B at 2.5 KB/sec)
[INFO] Downloading: 
http://repository.apache.org/snapshots/org/apache/rat/apache-rat-core/0.13-SNAPSHOT/apache-rat-core-0.13-20180114.090516-92.jar
[INFO] Downloading: 
http://repository.apache.org/snapshots/org/apache/rat/apache-rat-api/0.13-SNAPSHOT/apache-rat-api-0.13-20180114.090459-92.jar
[INFO] Downloaded: 
http://repository.apache.org/snapshots/org/apache/rat/apache-rat-api/0.13-SNAPSHOT/apache-rat-api-0.13-20180114.090459-92.jar
 (11 KB at 34.2 KB/sec)
[INFO] Downloaded: 
http://repository.apache.org/snapshots/org/apache/rat/apache-rat-core/0.13-SNAPSHOT/apache-rat-core-0.13-20180114.090516-92.jar
 (126 KB at 239.6 KB/sec)
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-bytecode-version) @ 
apache-rat-plugin ---
[INFO] Downloading: 
http://repository.apache.org/snapshots/org/apache/rat/apache-rat-core/0.13-SNAPSHOT/apache-rat-core-0.13-20180114.090516-92.pom
[INFO] Downloaded: 
http://repository.apache.org/snapshots/org/apache/rat/apache-rat-core/0.13-SNAPSHOT/apache-rat-core-0.13-20180114.090516-92.pom
 (5 KB at 13.3 KB/sec)
[INFO] 
[INFO] --- apache-rat-plugin:0.12:check (default) @ apache-rat-plugin ---
[INFO] Enabled default license matchers.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 61 implicit excludes (use -debug for more details).
[INFO] Exclude: src/it/it1/src.apt
[INFO] Exclude: src/test/resources/unit/it2/src.txt
[INFO] Exclude: src/test/resources/unit/it3/src.apt
[INFO] Exclude: **/*.iml
[INFO] Exclude: **/.bzrignore
[INFO] 40 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 1, unknown: 1, generated: 
0, approved: 39 licenses.
[JENKINS] Archiving site from 
<https://builds.apache.org/job/Creadur-Rat-Site-Latest-Jdk/ws/target/site> to 
/x1/jenkins/jenkins-home/jobs/Creadur-Rat-Site-Latest-Jdk/site
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Creadur Rat ................................ FAILURE [01:36 min]
[INFO] Apache Creadur Rat::API ........................... SKIPPED
[INFO] Apache Creadur Rat::Core .......................... SKIPPED
[INFO] Apache Creadur Rat::Plugin4Maven .................. SKIPPED
[INFO] Apache Creadur Rat::Tasks4Ant ..................... SKIPPED
[INFO] Apache Creadur Rat::Command Line .................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:43 min
[INFO] Finished at: 2018-01-14T09:07:43+00:00
[INFO] Final Memory: 37M/454M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project 
apache-rat-project: failed to get report for 
org.apache.maven.plugins:maven-javadoc-plugin: Failed to execute goal 
org.apache.rat:apache-rat-plugin:0.12:check (default) on project 
apache-rat-plugin: Too many files with unapproved license: 1 See RAT report in: 
<https://builds.apache.org/job/Creadur-Rat-Site-Latest-Jdk/ws/apache-rat-plugin/target/rat.txt>
 -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project 
apache-rat-project: failed to get report for 
org.apache.maven.plugins:maven-javadoc-plugin
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
        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:108)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
        at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
        at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
        at 
org.jvnet.hudson.maven3.launcher.Maven32Launcher.main(Maven32Launcher.java:132)
        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.launchStandard(Launcher.java:330)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238)
        at jenkins.maven3.agent.Maven32Main.launch(Maven32Main.java:186)
        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 hudson.maven.Maven3Builder.call(Maven3Builder.java:139)
        at hudson.maven.Maven3Builder.call(Maven3Builder.java:70)
        at hudson.remoting.UserRequest.perform(UserRequest.java:207)
        at hudson.remoting.UserRequest.perform(UserRequest.java:53)
        at hudson.remoting.Request$2.run(Request.java:358)
        at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.maven.plugin.MojoExecutionException: failed to get report 
for org.apache.maven.plugins:maven-javadoc-plugin
        at 
org.apache.maven.reporting.exec.DefaultMavenReportExecutor.buildMavenReports(DefaultMavenReportExecutor.java:156)
        at 
org.apache.maven.plugins.site.render.AbstractSiteRenderingMojo.getReports(AbstractSiteRenderingMojo.java:239)
        at 
org.apache.maven.plugins.site.render.SiteMojo.execute(SiteMojo.java:124)
        at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
        ... 30 more
Caused by: org.apache.maven.lifecycle.LifecycleExecutionException: Failed to 
execute goal org.apache.rat:apache-rat-plugin:0.12:check (default) on project 
apache-rat-plugin: Too many files with unapproved license: 1 See RAT report in: 
<https://builds.apache.org/job/Creadur-Rat-Site-Latest-Jdk/ws/apache-rat-plugin/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.MojoExecutor.executeForkedExecutions(MojoExecutor.java:364)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeForkedExecutions(DefaultLifecycleExecutor.java:173)
        at 
org.apache.maven.reporting.exec.DefaultMavenReportExecutor.buildReportPlugin(DefaultMavenReportExecutor.java:309)
        at 
org.apache.maven.reporting.exec.DefaultMavenReportExecutor.buildMavenReports(DefaultMavenReportExecutor.java:151)
        ... 34 more
Caused by: org.apache.rat.mp.RatCheckException: Too many files with unapproved 
license: 1 See RAT report in: 
<https://builds.apache.org/job/Creadur-Rat-Site-Latest-Jdk/ws/apache-rat-plugin/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:133)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
        ... 40 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/MojoExecutionException
[JENKINS] Archiving 
<https://builds.apache.org/job/Creadur-Rat-Site-Latest-Jdk/ws/apache-rat-plugin/pom.xml>
 to 
org.apache.rat/apache-rat-plugin/0.13-SNAPSHOT/apache-rat-plugin-0.13-SNAPSHOT.pom
[JENKINS] Archiving 
<https://builds.apache.org/job/Creadur-Rat-Site-Latest-Jdk/ws/apache-rat-api/pom.xml>
 to org.apache.rat/apache-rat-api/0.13-SNAPSHOT/apache-rat-api-0.13-SNAPSHOT.pom
[JENKINS] Archiving 
<https://builds.apache.org/job/Creadur-Rat-Site-Latest-Jdk/ws/apache-rat/pom.xml>
 to org.apache.rat/apache-rat/0.13-SNAPSHOT/apache-rat-0.13-SNAPSHOT.pom
[JENKINS] Archiving 
<https://builds.apache.org/job/Creadur-Rat-Site-Latest-Jdk/ws/pom.xml> to 
org.apache.rat/apache-rat-project/0.13-SNAPSHOT/apache-rat-project-0.13-SNAPSHOT.pom
[JENKINS] Archiving 
<https://builds.apache.org/job/Creadur-Rat-Site-Latest-Jdk/ws/apache-rat-core/pom.xml>
 to 
org.apache.rat/apache-rat-core/0.13-SNAPSHOT/apache-rat-core-0.13-SNAPSHOT.pom
[JENKINS] Archiving 
<https://builds.apache.org/job/Creadur-Rat-Site-Latest-Jdk/ws/apache-rat-tasks/pom.xml>
 to 
org.apache.rat/apache-rat-tasks/0.13-SNAPSHOT/apache-rat-tasks-0.13-SNAPSHOT.pom
channel stopped

Reply via email to