See <https://builds.apache.org/job/Creadur-Rat-Site/141/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 1803 lines...] [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] 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-annotations [INFO] Mojo extractor for language: java-annotations found 0 mojo descriptors. [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] [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] 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-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-annotations [INFO] Mojo extractor for language: java-annotations found 0 mojo descriptors. [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] [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-annotations [INFO] Mojo extractor for language: java-annotations found 0 mojo descriptors. [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] [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/ws/apache-rat-plugin/target/classes> [INFO] <https://builds.apache.org/job/Creadur-Rat-Site/ws/apache-rat-plugin/src/main/java/org/apache/rat/mp/RatReportMojo.java> uses or overrides a deprecated API. [INFO] Recompile with -Xlint:deprecation for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] <https://builds.apache.org/job/Creadur-Rat-Site/ws/apache-rat-plugin/src/main/java/org/apache/rat/mp/util/ScmIgnoreParser.java>:[88,81] cannot find symbol symbol : method getIgnoreFile() location: class org.apache.rat.config.SourceCodeManagementSystems [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Creadur Rat ................................ SUCCESS [34.295s] [INFO] Apache Creadur Rat::API ........................... SUCCESS [9.076s] [INFO] Apache Creadur Rat::Core .......................... SUCCESS [12.212s] [INFO] Apache Creadur Rat::Plugin4Maven .................. FAILURE [7.862s] [INFO] Apache Creadur Rat::Tasks4Ant ..................... SKIPPED [INFO] Apache Creadur Rat::Command Line .................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1:06.157s [INFO] Finished at: Fri Apr 10 22:27:37 UTC 2015 [INFO] Final Memory: 55M/363M [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-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/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: class 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:217) 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:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) 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:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 31 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/ws/apache-rat-plugin/src/main/java/org/apache/rat/mp/util/ScmIgnoreParser.java>:[88,81] cannot find symbol symbol : method getIgnoreFile() location: class org.apache.rat.config.SourceCodeManagementSystems 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.MojoExecutor.executeForkedExecutions(MojoExecutor.java:365) 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) ... 35 more Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure <https://builds.apache.org/job/Creadur-Rat-Site/ws/apache-rat-plugin/src/main/java/org/apache/rat/mp/util/ScmIgnoreParser.java>:[88,81] cannot find symbol symbol : method getIgnoreFile() location: class 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:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 41 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/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 » Apache Creadur Rat::Plugin4Maven #140 Archived 1 artifacts Archive block size is 32768 Received 0 blocks and 9008 bytes Compression is 0.0% Took 0.15 sec [JENKINS] Archiving <https://builds.apache.org/job/Creadur-Rat-Site/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 » Apache Creadur Rat::Tasks4Ant #140 Archived 1 artifacts Archive block size is 32768 Received 0 blocks and 6322 bytes Compression is 0.0% Took 0.2 sec [JENKINS] Archiving <https://builds.apache.org/job/Creadur-Rat-Site/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 » Apache Creadur Rat #140 Archived 1 artifacts Archive block size is 32768 Received 0 blocks and 21618 bytes Compression is 0.0% Took 91 ms [JENKINS] Archiving <https://builds.apache.org/job/Creadur-Rat-Site/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 » Apache Creadur Rat::API #140 Archived 1 artifacts Archive block size is 32768 Received 0 blocks and 1972 bytes Compression is 0.0% Took 0.1 sec [JENKINS] Archiving <https://builds.apache.org/job/Creadur-Rat-Site/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 » Apache Creadur Rat::Command Line #140 Archived 1 artifacts Archive block size is 32768 Received 0 blocks and 7019 bytes Compression is 0.0% Took 0.15 sec [JENKINS] Archiving <https://builds.apache.org/job/Creadur-Rat-Site/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 » Apache Creadur Rat::Core #140 Archived 1 artifacts Archive block size is 32768 Received 0 blocks and 4323 bytes Compression is 0.0% Took 79 ms channel stopped
