See <https://builds.apache.org/job/Creadur-Rat/101/changes>

Changes:

[dennisl] Move the integration tests to the standard location in a Maven 
project. See 
http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html
 for more info.

[dennisl] Inject project version and name from the POM, so that we don't have 
to update these for every new release.
I also tried to inject the project artifactId, but that won't work currently, 
because our artifactIds are not quite right. I will revisit that in a later 
version.

[dennisl] Fix typo.

[dennisl] Simplify invoker goals.

[dennisl] [RAT-168] Add integration test for apache-rat:rat to catch NPE
Use the correct annotation for this kind of @Parameter. The "property" option 
is used for parameters that can be set from the command line as a system 
property using -D, but this parameter is read only so we should not use that. 
Instead we want the parameter to have a default value injected with the current 
project. The IT (it4_RAT-168) that was added for this issue still passes with 
this change.

[dennisl] [RAT-169] IT tests it2 and it3 don't appear to be run
These tests are really run during unit testing, but their placement in the 
directory structure is misleading. Move them to test/resources/unit to make it 
more obvious that they are resources used during unit testing.

[dennisl] Correct site publication instructions.

------------------------------------------
[...truncated 302 lines...]
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 4 source files to 
<https://builds.apache.org/job/Creadur-Rat/ws/apache-rat-tasks/target/classes>
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.11:check (check-java-1.5-compat) @ 
apache-rat-tasks ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java15:1.0
[INFO] 
[INFO] --- maven-dependency-plugin:2.8:copy-dependencies (default) @ 
apache-rat-tasks ---
[INFO] Copying ant-antunit-1.1.jar to 
<https://builds.apache.org/job/Creadur-Rat/ws/apache-rat-tasks/target/dependencies/ant-antunit.jar>
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ 
apache-rat-tasks ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ 
apache-rat-tasks ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 4 source files to 
<https://builds.apache.org/job/Creadur-Rat/ws/apache-rat-tasks/target/test-classes>
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ apache-rat-tasks ---
[INFO] Surefire report directory: 
<https://builds.apache.org/job/Creadur-Rat/ws/apache-rat-tasks/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.rat.anttasks.ReportTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.896 sec - in 
org.apache.rat.anttasks.ReportTest

Results :

Tests run: 7, Failures: 0, Errors: 0, Skipped: 0

[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (default) @ apache-rat-tasks ---
[INFO] Executing tasks

main:

allTests:
[au:antunit] Build File: 
<https://builds.apache.org/job/Creadur-Rat/ws/apache-rat-tasks/src/test/resources/antunit/report-bad-configurations.xml>
[au:antunit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.326 sec
[au:antunit] Target: testNoStylesheet took 0.003 sec
[au:antunit] Target: testNoResources took 0.001 sec
[au:antunit] Target: testSubstringMatcherRequiresFamilyName took 0.087 sec
[au:antunit] Target: testFullTextMatcherRequiresFamilyName took 0.026 sec
[au:antunit] Target: testUnusedStylesheet took 0.044 sec
[au:antunit] Target: testFullTextMatcherRequiresText took 0.03 sec
[au:antunit] Target: testSubstringMatcherRequiresFamilyCategory took 0.024 sec
[au:antunit] Target: testSubstringMatcherRequiresPattern took 0.023 sec
[au:antunit] Target: testNoLicenseMatchers took 0.001 sec
[au:antunit] Target: testFullTextMatcherRequiresFamilyCategory took 0.023 sec
    [mkdir] Created dir: 
<https://builds.apache.org/job/Creadur-Rat/ws/apache-rat-tasks/target/testoutput/dest>

allTests:
[au:antunit] Build File: 
<https://builds.apache.org/job/Creadur-Rat/ws/apache-rat-tasks/src/test/resources/antunit/report-normal-operation.xml>
[au:antunit] Tests run: 11, Failures: 0, Errors: 1, Time elapsed: 1.535 sec
[au:antunit] Target: testFullTextMatcherNotApprovedSentToFile took 0.149 sec
[au:antunit] Target: testFullTextMatcherSentToFileNoMatch took 0.085 sec
[au:antunit] Target: testFullTextMatcherApprovedSentToFile took 0.082 sec
[au:antunit] Target: testFullTextMatcherExpandsProperties took 0.081 sec
[au:antunit] Target: testXMLReportSentToFile took 0.061 sec
[au:antunit] Target: testSubstringMatcherApprovedSentToFile took 0.105 sec
[au:antunit] Target: testSubstringMatcherSentToFileNoMatch took 0.088 sec
[au:antunit] Target: testSubstringMatcherNotApprovedSentToFile took 0.08 sec
[au:antunit] Target: testWithALUnknownSentToFile took 0.08 sec
[au:antunit] Target: testWithReportSentToFile took 0.135 sec
[au:antunit] Target: testCustomMatcherSentToFile  caused an ERROR
[au:antunit]    at line 333, column 43
[au:antunit]    Message: Unable to find a javac compiler;
[au:antunit] com.sun.tools.javac.Main is not on the classpath.
[au:antunit] Perhaps JAVA_HOME does not point to the JDK.
[au:antunit] It is currently set to "/home/jenkins/tools/java/jdk1.7.0_55/jre"
[au:antunit]    took 0.024 sec
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ apache-rat-tasks ---
[INFO] Building jar: 
<https://builds.apache.org/job/Creadur-Rat/ws/apache-rat-tasks/target/apache-rat-tasks-0.12-SNAPSHOT.jar>
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ 
apache-rat-tasks ---
[INFO] 
[INFO] --- maven-install-plugin:2.5.1:install (default-install) @ 
apache-rat-tasks ---
[INFO] Installing 
<https://builds.apache.org/job/Creadur-Rat/ws/apache-rat-tasks/target/apache-rat-tasks-0.12-SNAPSHOT.jar>
 to 
/home/jenkins/jenkins-slave/maven-repositories/0/org/apache/rat/apache-rat-tasks/0.12-SNAPSHOT/apache-rat-tasks-0.12-SNAPSHOT.jar
[INFO] Installing 
<https://builds.apache.org/job/Creadur-Rat/ws/apache-rat-tasks/pom.xml> to 
/home/jenkins/jenkins-slave/maven-repositories/0/org/apache/rat/apache-rat-tasks/0.12-SNAPSHOT/apache-rat-tasks-0.12-SNAPSHOT.pom
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Creadur Rat::Command Line 0.12-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ apache-rat ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-bytecode-version) @ 
apache-rat ---
[INFO] 
[INFO] --- apache-rat-plugin:0.10:check (default) @ apache-rat ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude: README-ANT.txt
[INFO] Exclude: README-CLI.txt
[INFO] 7 resources included (use -debug for more details)
Warning:  org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 
'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not 
recognized.
Compiler warnings:
  WARNING:  'org.apache.xerces.jaxp.SAXParserImpl: Property 
'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.'
Warning:  org.apache.xerces.parsers.SAXParser: Feature 
'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized.
Warning:  org.apache.xerces.parsers.SAXParser: Property 
'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.
Warning:  org.apache.xerces.parsers.SAXParser: Property 
'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not 
recognized.
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 
approved: 6 licence.
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ apache-rat ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ 
apache-rat ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources to META-INF
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ apache-rat ---
[INFO] No sources to compile
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.11:check (check-java-1.5-compat) @ 
apache-rat ---
[INFO] Signature checking is skipped.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ 
apache-rat ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
<https://builds.apache.org/job/Creadur-Rat/ws/apache-rat/src/test/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ 
apache-rat ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ apache-rat ---
[JENKINS] Recording test results[INFO] 
[INFO] --- maven-dependency-plugin:2.8:unpack-dependencies (default) @ 
apache-rat ---
[INFO] Unpacking 
/home/jenkins/jenkins-slave/maven-repositories/0/commons-lang/commons-lang/2.6/commons-lang-2.6.jar
 to <https://builds.apache.org/job/Creadur-Rat/ws/apache-rat/target/classes> 
with includes "" and excludes "META-INF/**"

[INFO] Unpacking 
<https://builds.apache.org/job/Creadur-Rat/ws/apache-rat-core/target/apache-rat-core-0.12-SNAPSHOT.jar>
 to <https://builds.apache.org/job/Creadur-Rat/ws/apache-rat/target/classes> 
with includes "" and excludes "META-INF/**"
[INFO] Unpacking 
<https://builds.apache.org/job/Creadur-Rat/ws/apache-rat-tasks/target/apache-rat-tasks-0.12-SNAPSHOT.jar>
 to <https://builds.apache.org/job/Creadur-Rat/ws/apache-rat/target/classes> 
with includes "" and excludes "META-INF/**"
[INFO] Unpacking 
/home/jenkins/jenkins-slave/maven-repositories/0/commons-io/commons-io/2.2/commons-io-2.2.jar
 to <https://builds.apache.org/job/Creadur-Rat/ws/apache-rat/target/classes> 
with includes "" and excludes "META-INF/**"
[INFO] Unpacking 
/home/jenkins/jenkins-slave/maven-repositories/0/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
 to <https://builds.apache.org/job/Creadur-Rat/ws/apache-rat/target/classes> 
with includes "" and excludes "META-INF/**"
[INFO] Unpacking 
/home/jenkins/jenkins-slave/maven-repositories/0/commons-cli/commons-cli/1.2/commons-cli-1.2.jar
 to <https://builds.apache.org/job/Creadur-Rat/ws/apache-rat/target/classes> 
with includes "" and excludes "META-INF/**"
[INFO] Unpacking 
/home/jenkins/jenkins-slave/maven-repositories/0/org/apache/commons/commons-compress/1.5/commons-compress-1.5.jar
 to <https://builds.apache.org/job/Creadur-Rat/ws/apache-rat/target/classes> 
with includes "" and excludes "META-INF/**"
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ apache-rat ---
[INFO] Building jar: 
<https://builds.apache.org/job/Creadur-Rat/ws/apache-rat/target/apache-rat-0.12-SNAPSHOT.jar>
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ 
apache-rat ---
[INFO] 
[INFO] --- maven-install-plugin:2.5.1:install (default-install) @ apache-rat ---
[INFO] Installing 
<https://builds.apache.org/job/Creadur-Rat/ws/apache-rat/target/apache-rat-0.12-SNAPSHOT.jar>
 to 
/home/jenkins/jenkins-slave/maven-repositories/0/org/apache/rat/apache-rat/0.12-SNAPSHOT/apache-rat-0.12-SNAPSHOT.jar
[INFO] Installing 
<https://builds.apache.org/job/Creadur-Rat/ws/apache-rat/pom.xml> to 
/home/jenkins/jenkins-slave/maven-repositories/0/org/apache/rat/apache-rat/0.12-SNAPSHOT/apache-rat-0.12-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Creadur Rat ................................ SUCCESS [14.801s]
[INFO] Apache Creadur Rat::Core .......................... SUCCESS [12.070s]
[INFO] Apache Creadur Rat::Plugin4Maven .................. FAILURE [3.352s]
[INFO] Apache Creadur Rat::Tasks4Ant ..................... SUCCESS [10.218s]
[INFO] Apache Creadur Rat::Command Line .................. SUCCESS [2.872s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 46.398s
[INFO] Finished at: Thu Aug 14 22:01:16 UTC 2014
[INFO] Final Memory: 31M/705M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data[ERROR] Failed to execute goal 
org.apache.rat:apache-rat-plugin:0.10:check (default) on project 
apache-rat-plugin: Too many files with unapproved license: 3 See RAT report in: 
<https://builds.apache.org/job/Creadur-Rat/ws/apache-rat-plugin/target/rat.txt> 
-> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.rat:apache-rat-plugin:0.10:check (default) on project 
apache-rat-plugin: Too many files with unapproved license: 3 See RAT report in: 
<https://builds.apache.org/job/Creadur-Rat/ws/apache-rat-plugin/target/rat.txt>
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
        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:84)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
        at 
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
        at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
        at 
org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:117)
        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:329)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
        at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:178)
        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:134)
        at hudson.maven.Maven3Builder.call(Maven3Builder.java:69)
        at hudson.remoting.UserRequest.perform(UserRequest.java:118)
        at hudson.remoting.UserRequest.perform(UserRequest.java:48)
        at hudson.remoting.Request$2.run(Request.java:328)
        at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
        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: 3 See RAT report in: 
<https://builds.apache.org/job/Creadur-Rat/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:171)
        at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
        ... 30 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
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :apache-rat-plugin

[JENKINS] Archiving 
<https://builds.apache.org/job/Creadur-Rat/ws/apache-rat-plugin/pom.xml> to 
org.apache.rat/apache-rat-plugin/0.12-SNAPSHOT/apache-rat-plugin-0.12-SNAPSHOT.pom
Sending artifact delta relative to Creadur-Rat ? Apache Creadur 
Rat::Plugin4Maven #100
Archived 1 artifacts
Archive block size is 32768
Received 0 blocks and 9216 bytes
Compression is 0.0%
Took 54 ms
[JENKINS] Archiving 
<https://builds.apache.org/job/Creadur-Rat/ws/apache-rat-tasks/pom.xml> to 
org.apache.rat/apache-rat-tasks/0.12-SNAPSHOT/apache-rat-tasks-0.12-SNAPSHOT.pom
[JENKINS] Archiving 
<https://builds.apache.org/job/Creadur-Rat/ws/apache-rat-tasks/target/apache-rat-tasks-0.12-SNAPSHOT.jar>
 to 
org.apache.rat/apache-rat-tasks/0.12-SNAPSHOT/apache-rat-tasks-0.12-SNAPSHOT.jar
Sending artifact delta relative to Creadur-Rat ? Apache Creadur Rat::Tasks4Ant 
#100
Archived 2 artifacts
Archive block size is 32768
Received 0 blocks and 30387 bytes
Compression is 0.0%
Took 1.3 sec
[JENKINS] Archiving <https://builds.apache.org/job/Creadur-Rat/ws/pom.xml> to 
org.apache.rat/apache-rat-project/0.12-SNAPSHOT/apache-rat-project-0.12-SNAPSHOT.pom
[JENKINS] Archiving 
<https://builds.apache.org/job/Creadur-Rat/ws/target/apache-rat-project-0.12-SNAPSHOT-site.xml>
 to 
org.apache.rat/apache-rat-project/0.12-SNAPSHOT/apache-rat-project-0.12-SNAPSHOT-site.xml
Sending artifact delta relative to Creadur-Rat ? Apache Creadur Rat #100
Archived 2 artifacts
Archive block size is 32768
Received 0 blocks and 25363 bytes
Compression is 0.0%
Took 67 ms
[JENKINS] Archiving 
<https://builds.apache.org/job/Creadur-Rat/ws/apache-rat/pom.xml> to 
org.apache.rat/apache-rat/0.12-SNAPSHOT/apache-rat-0.12-SNAPSHOT.pom
[JENKINS] Archiving 
<https://builds.apache.org/job/Creadur-Rat/ws/apache-rat/target/apache-rat-0.12-SNAPSHOT.jar>
 to org.apache.rat/apache-rat/0.12-SNAPSHOT/apache-rat-0.12-SNAPSHOT.jar
Sending artifact delta relative to Creadur-Rat ? Apache Creadur Rat::Command 
Line #100
Archived 2 artifacts
Archive block size is 32768
Received 37 blocks and 210352 bytes
Compression is 85.2%
Took 0.26 sec
[JENKINS] Archiving 
<https://builds.apache.org/job/Creadur-Rat/ws/apache-rat-core/pom.xml> to 
org.apache.rat/apache-rat-core/0.12-SNAPSHOT/apache-rat-core-0.12-SNAPSHOT.pom
[JENKINS] Archiving 
<https://builds.apache.org/job/Creadur-Rat/ws/apache-rat-core/target/apache-rat-core-0.12-SNAPSHOT.jar>
 to 
org.apache.rat/apache-rat-core/0.12-SNAPSHOT/apache-rat-core-0.12-SNAPSHOT.jar
Sending artifact delta relative to Creadur-Rat ? Apache Creadur Rat::Core #100
Archived 2 artifacts
Archive block size is 32768
Received 0 blocks and 122562 bytes
Compression is 0.0%
Took 0.12 sec
channel stopped

Reply via email to