See <https://builds.apache.org/job/Creadur-Rat-Site-Latest-Jdk/125/changes>
Changes: [pottlinger] RAT-171: Add parsing of SCM ignores and enable exclusions in maven runs * If configuration parameter 'parseSCMIgnoresAsExcludes' is set to true OR environment variable 'rat.parseSCMIgnoresAsExcludes' project basedir's SCM ignores are parsed for exclusions. * Added tests and changed visibility of some helper methods, moved stuff in util packages. * ExclusionHelper may parse ignore files. Certain comment prefixes are ignored. There's no syntax checking going on. * Try out with: mvn -U -debug -Drat.parseSCMIgnoresAsExcludes=true [pottlinger] RAT-171: Updating dependency versions * JUnit * Compiler- and Release-Plugin ------------------------------------------ [...truncated 1818 lines...] [INFO] Exclude: src/test/resources/violations/FilterTest.cs [INFO] Exclude: src/test/resources/binaries/Image-png.not [INFO] 159 resources included (use -debug for more details) [INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 151 licence. [INFO] [INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [INFO] Forking Apache Creadur Rat::Plugin4Maven 0.12-SNAPSHOT [INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-bytecode-version) @ apache-rat-plugin --- [INFO] [INFO] --- apache-rat-plugin:0.11:check (default) @ apache-rat-plugin --- [INFO] 51 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] 36 resources included (use -debug for more details) [INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 36 licence. [INFO] [INFO] --- maven-plugin-plugin:3.3:helpmojo (help-goal) @ apache-rat-plugin --- [INFO] Using 'UTF-8' encoding to read mojo metadata. [INFO] Applying mojo extractor for language: java [INFO] Mojo extractor for language: java found 0 mojo descriptors. [INFO] Applying mojo extractor for language: bsh [INFO] Mojo extractor for language: bsh found 0 mojo descriptors. [INFO] Applying mojo extractor for language: java-annotations [INFO] Mojo extractor for language: java-annotations found 0 mojo descriptors. [INFO] [INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [INFO] Forking Apache Creadur Rat::Tasks4Ant 0.12-SNAPSHOT [INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-bytecode-version) @ apache-rat-tasks --- [INFO] [INFO] --- apache-rat-plugin:0.11:check (default) @ apache-rat-tasks --- [INFO] 51 implicit excludes (use -debug for more details). [INFO] Exclude: src/test/resources/antunit/index.apt [INFO] 22 resources included (use -debug for more details) [INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 22 licence. [INFO] [INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [INFO] Forking Apache Creadur Rat::Command Line 0.12-SNAPSHOT [INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-bytecode-version) @ apache-rat --- [INFO] [INFO] --- apache-rat-plugin:0.11: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) [INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 6 licence. [INFO] [INFO] <<< maven-javadoc-plugin:2.9.1:aggregate @ apache-rat-plugin <<< [INFO] configuring report plugin org.apache.maven.plugins:maven-jxr-plugin:2.4 [INFO] configuring report plugin org.apache.maven.plugins:maven-pmd-plugin:3.1 [INFO] configuring report plugin org.apache.maven.plugins:maven-project-info-reports-plugin:2.7 [INFO] configuring report plugin org.apache.rat:apache-rat-plugin:0.11 [INFO] configuring report plugin org.apache.maven.plugins:maven-plugin-plugin:3.3 [INFO] preparing 'report' report requires 'process-classes' forked phase execution [INFO] [INFO] >>> maven-plugin-plugin:3.3:report @ apache-rat-plugin >>> [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-bytecode-version) @ apache-rat-plugin --- [INFO] [INFO] --- apache-rat-plugin:0.11:check (default) @ apache-rat-plugin --- [INFO] 51 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] 36 resources included (use -debug for more details) [INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 36 licence. [INFO] [INFO] --- maven-plugin-plugin:3.3:helpmojo (help-goal) @ apache-rat-plugin --- [INFO] Using 'UTF-8' encoding to read mojo metadata. [INFO] Applying mojo extractor for language: java [INFO] Mojo extractor for language: java found 0 mojo descriptors. [INFO] Applying mojo extractor for language: bsh [INFO] Mojo extractor for language: bsh found 0 mojo descriptors. [INFO] Applying mojo extractor for language: java-annotations [INFO] Mojo extractor for language: java-annotations found 0 mojo descriptors. [INFO] [INFO] --- maven-plugin-plugin:3.3:descriptor (default-descriptor) @ apache-rat-plugin --- [INFO] Using 'UTF-8' encoding to read mojo metadata. [INFO] Applying mojo extractor for language: java [INFO] Mojo extractor for language: java found 0 mojo descriptors. [INFO] Applying mojo extractor for language: bsh [INFO] Mojo extractor for language: bsh found 0 mojo descriptors. [INFO] Applying mojo extractor for language: java-annotations [INFO] Mojo extractor for language: java-annotations found 0 mojo descriptors. [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ apache-rat-plugin --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ apache-rat-plugin --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 1 resource [INFO] Copying 1 resource to META-INF [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ apache-rat-plugin --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 10 source files to <https://builds.apache.org/job/Creadur-Rat-Site-Latest-Jdk/ws/apache-rat-plugin/target/classes> [INFO] <https://builds.apache.org/job/Creadur-Rat-Site-Latest-Jdk/ws/apache-rat-plugin/src/main/java/org/apache/rat/mp/RatReportMojo.java>: <https://builds.apache.org/job/Creadur-Rat-Site-Latest-Jdk/ws/apache-rat-plugin/src/main/java/org/apache/rat/mp/RatReportMojo.java> uses or overrides a deprecated API. [INFO] <https://builds.apache.org/job/Creadur-Rat-Site-Latest-Jdk/ws/apache-rat-plugin/src/main/java/org/apache/rat/mp/RatReportMojo.java>: Recompile with -Xlint:deprecation for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] <https://builds.apache.org/job/Creadur-Rat-Site-Latest-Jdk/ws/apache-rat-plugin/src/main/java/org/apache/rat/mp/util/ScmIgnoreParser.java>:[88,81] cannot find symbol symbol: method getIgnoreFile() location: variable scm of type org.apache.rat.config.SourceCodeManagementSystems [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Creadur Rat ................................ SUCCESS [ 28.973 s] [INFO] Apache Creadur Rat::API ........................... SUCCESS [ 8.763 s] [INFO] Apache Creadur Rat::Core .......................... SUCCESS [ 11.788 s] [INFO] Apache Creadur Rat::Plugin4Maven .................. FAILURE [ 8.256 s] [INFO] Apache Creadur Rat::Tasks4Ant ..................... SKIPPED [INFO] Apache Creadur Rat::Command Line .................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:00 min [INFO] Finished at: 2015-04-10T22:27:49+00:00 [INFO] Final Memory: 61M/854M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project apache-rat-plugin: failed to get report for org.apache.maven.plugins:maven-plugin-plugin: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project apache-rat-plugin: Compilation failure [ERROR] <https://builds.apache.org/job/Creadur-Rat-Site-Latest-Jdk/ws/apache-rat-plugin/src/main/java/org/apache/rat/mp/util/ScmIgnoreParser.java>:[88,81] cannot find symbol [ERROR] symbol: method getIgnoreFile() [ERROR] location: variable scm of type org.apache.rat.config.SourceCodeManagementSystems [ERROR] -> [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-plugin: failed to get report for org.apache.maven.plugins:maven-plugin-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.Maven31Launcher.main(Maven31Launcher.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:483) 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.Maven31Main.launch(Maven31Main.java:181) 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:483) at hudson.maven.Maven3Builder.call(Maven3Builder.java:136) at hudson.maven.Maven3Builder.call(Maven3Builder.java:71) 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:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.maven.plugin.MojoExecutionException: failed to get report for org.apache.maven.plugins:maven-plugin-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.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project apache-rat-plugin: Compilation failure <https://builds.apache.org/job/Creadur-Rat-Site-Latest-Jdk/ws/apache-rat-plugin/src/main/java/org/apache/rat/mp/util/ScmIgnoreParser.java>:[88,81] cannot find symbol symbol: method getIgnoreFile() location: variable scm of type org.apache.rat.config.SourceCodeManagementSystems 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.maven.plugin.compiler.CompilationFailureException: Compilation failure <https://builds.apache.org/job/Creadur-Rat-Site-Latest-Jdk/ws/apache-rat-plugin/src/main/java/org/apache/rat/mp/util/ScmIgnoreParser.java>:[88,81] cannot find symbol symbol: method getIgnoreFile() location: variable scm of type org.apache.rat.config.SourceCodeManagementSystems at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:909) at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129) 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 [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-Site-Latest-Jdk/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-Site-Latest-Jdk ? Apache Creadur Rat::Plugin4Maven #124 Archived 1 artifacts Archive block size is 32768 Received 0 blocks and 9008 bytes Compression is 0.0% Took 50 ms [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.12-SNAPSHOT/apache-rat-tasks-0.12-SNAPSHOT.pom Sending artifact delta relative to Creadur-Rat-Site-Latest-Jdk ? Apache Creadur Rat::Tasks4Ant #124 Archived 1 artifacts Archive block size is 32768 Received 0 blocks and 6322 bytes Compression is 0.0% Took 54 ms [JENKINS] Archiving <https://builds.apache.org/job/Creadur-Rat-Site-Latest-Jdk/ws/pom.xml> to org.apache.rat/apache-rat-project/0.12-SNAPSHOT/apache-rat-project-0.12-SNAPSHOT.pom Sending artifact delta relative to Creadur-Rat-Site-Latest-Jdk ? Apache Creadur Rat #124 Archived 1 artifacts Archive block size is 32768 Received 0 blocks and 21618 bytes Compression is 0.0% Took 31 ms [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.12-SNAPSHOT/apache-rat-api-0.12-SNAPSHOT.pom Sending artifact delta relative to Creadur-Rat-Site-Latest-Jdk ? Apache Creadur Rat::API #124 Archived 1 artifacts Archive block size is 32768 Received 0 blocks and 1972 bytes Compression is 0.0% Took 20 ms [JENKINS] Archiving <https://builds.apache.org/job/Creadur-Rat-Site-Latest-Jdk/ws/apache-rat/pom.xml> to org.apache.rat/apache-rat/0.12-SNAPSHOT/apache-rat-0.12-SNAPSHOT.pom Sending artifact delta relative to Creadur-Rat-Site-Latest-Jdk ? Apache Creadur Rat::Command Line #124 Archived 1 artifacts Archive block size is 32768 Received 0 blocks and 7019 bytes Compression is 0.0% Took 45 ms [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.12-SNAPSHOT/apache-rat-core-0.12-SNAPSHOT.pom Sending artifact delta relative to Creadur-Rat-Site-Latest-Jdk ? Apache Creadur Rat::Core #124 Archived 1 artifacts Archive block size is 32768 Received 0 blocks and 4323 bytes Compression is 0.0% Took 71 ms channel stopped