Hi, No such problem here. Can you try with an Oracle JDK, please? Since this is the only unusual part of your configuration.
Regards, Hervé Le mercredi 1 avril 2015 07:20:57 Chris Graham a écrit : > Hi All. > > I've forked the apache scm repo on github and cloned it locally. > > I'm simply trying to build it, before I start making any changes at all. > > I've run into several issues, something is truly not right here, but I can > not quite work out what. > > At the moment, either under 2.2.1 or 3.0.4, I'm getting a RAT failure. > Using IBM 1.6 JDK on XP. > > [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check > (rat-check) on project maven-scm: Too many files with unapproved license: > 1745 See RAT report in: C:\CALMData\Workspa > ces\RTC\Deb\maven-scm\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 > maven-scm: Too many files with unapproved lice > nse: 1745 See RAT report in: > C:\CALMData\Workspaces\RTC\Deb\maven-scm\target\rat.txt > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:2 > 13) at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:1 > 53) at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:1 > 45) at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(Life > cycleModuleBuilder.java:84) at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(Life > cycleModuleBuilder.java:59) at > org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(Lif > ecycleStarter.java:183) at > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarte > r.java:161) at > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at > org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at > org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at > org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at > org.apache.maven.cli.MavenCli.main(MavenCli.java:141) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 > ) at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl > .java:37) at java.lang.reflect.Method.invoke(Method.java:599) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.ja > va:290) at > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) > at > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher. > java:409) at > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) > Caused by: org.apache.rat.mp.RatCheckException: Too many files with > unapproved license: 1745 See RAT report in: > C:\CALMData\Workspaces\RTC\Deb\maven-scm\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(DefaultBuildPl > uginManager.java:101) at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:2 > 09) ... 19 more > > When I look at the report file, I can see that target is being included. > Huh???? > > ***************************************************** > Summary > ------- > Generated at: 2015-04-01T07:14:41+11:00 > Notes: 176 > Binaries: 1010 > Archives: 80 > Standards: 3075 > > Apache Licensed: 1305 > Generated Documents: 0 > > JavaDocs are generated and so license header is optional > Generated files do not required license headers > > 1745 Unknown Licenses > > ******************************* > > Unapproved licenses: > > maven-scm/..project > maven-scm/.settings/org.maven.ide.eclipse.prefs > maven-scm/maven-scm-api/.classpath > maven-scm/maven-scm-api/.project > maven-scm/maven-scm-api/.settings/org.eclipse.jdt.core.prefs > maven-scm/maven-scm-api/.settings/org.maven.ide.eclipse.prefs > maven-scm/maven-scm-api/target/.plxarc > maven-scm/maven-scm-api/target/checkstyle-cachefile > maven-scm/maven-scm-api/target/checkstyle-header.txt > maven-scm/maven-scm-api/target/checkstyle-result.xml > > maven-scm/maven-scm-api/target/maven-status/maven-compiler-plugin/compile/de > fault-compile/createdFiles.lst > > maven-scm/maven-scm-api/target/maven-status/maven-compiler-plugin/compile/de > fault-compile/inputFiles.lst > > maven-scm/maven-scm-api/target/maven-status/maven-compiler-plugin/testCompil > e/default-testCompile/createdFiles.lst > > maven-scm/maven-scm-api/target/maven-status/maven-compiler-plugin/testCompil > e/default-testCompile/inputFiles.lst maven-scm/maven-scm-api/target/rat.txt > > > > Given that this was not my initial error, which was this: > > ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on > project maven-scm-api: Execution default-test of goal > org.apache.maven.plugins:maven-surefire-plugin:2.17:test failed: Unable to > load the mojo 'test' in the plugin > 'org.apache.maven.plugins:maven-surefire-plugin:2.17'. A required class is > missing: javax.annotation.Nonnull > > > I'm kind of lost. > > Anders has been able to confirm that it is buildable, but he is using a > slightly different commit (one that I can not find). > > Can anyone shed any light on what's going on? > > TIA, > > -Chris --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
