Another different version, another different set of issues to solve. [INFO] --- apache-rat-plugin:0.11:check (rat-check) @ maven-scm --- [INFO] 57 implicit excludes (use -debug for more details). [INFO] Exclude: .gitignore [INFO] Exclude: README.txt [INFO] Exclude: *.sh [INFO] Exclude: .git/** [INFO] Exclude: .idea/** [INFO] Exclude: **/generated-sources/** [INFO] Exclude: **/.gitattributes [INFO] Exclude: src/main/resources/repository/** [INFO] Exclude: **/src/main/resources/tck-repository/** [INFO] Exclude: src/test/resources/** [INFO] Exclude: src/test/repository/** [INFO] Exclude: src/test/tck-repository/** [INFO] Exclude: src/main/resources/tck/** [INFO] Exclude: .java-version [INFO] Exclude: .repository/** [INFO] Exclude: target/** [INFO] Exclude: DEPENDENCIES [INFO] 4341 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: 1745 unknown: 1745 generated: 0 approved: 1305 licence. [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Maven SCM ......................................... FAILURE [38.306s] [INFO] Maven SCM API ..................................... SKIPPED [INFO] Maven SCM Managers ................................ SKIPPED [INFO] Maven SCM Manager for Plexus ...................... SKIPPED [INFO] Maven SCM Test .................................... SKIPPED [INFO] Maven SCM Providers ............................... SKIPPED [INFO] Maven SCM AccuRev Provider ........................ SKIPPED [INFO] Maven SCM Bazaar Provider ......................... SKIPPED [INFO] Maven SCM Clearcase Provider ...................... SKIPPED [INFO] Maven SCM CVS Provider - Parent ................... SKIPPED [INFO] Maven SCM CVS Provider TCK tests .................. SKIPPED [INFO] Maven SCM CVS Provider - Common library ........... SKIPPED [INFO] Maven SCM CVS Provider - CVS Executable Impl. ..... SKIPPED [INFO] Maven SCM CVS Provider - CVS Java Impl. ........... SKIPPED [INFO] Maven SCM Mercurial (Hg) Provider ................. SKIPPED [INFO] Maven SCM Git Provider - Parent ................... SKIPPED [INFO] Maven SCM Git Provider - Common library ........... SKIPPED [INFO] Maven SCM Git Provider TCK Tests .................. SKIPPED [INFO] Maven SCM Git Provider - Git Executable Impl. ..... SKIPPED [INFO] Maven SCM Git Provider - JGit Impl. ............... SKIPPED [INFO] Maven SCM Local Provider .......................... SKIPPED [INFO] Maven SCM Perforce Provider ....................... SKIPPED [INFO] Maven SCM Starteam Provider ....................... SKIPPED [INFO] Maven SCM Subversion Provider - Parent ............ SKIPPED [INFO] Maven SCM Subversion Provider - Common library .... SKIPPED [INFO] Maven SCM Subversion Provider TCK Tests ........... SKIPPED [INFO] Maven SCM Subversion Provider - SVN Executable Impl. SKIPPED [INFO] Maven SCM Synergy Provider ........................ SKIPPED [INFO] Maven SCM Visual Source Safe Provider ............. SKIPPED [INFO] Maven SCM TFS Provider ............................ SKIPPED [INFO] Maven SCM MKS Integrity Provider .................. SKIPPED [INFO] Maven SCM Jazz/Rational Team Concert Provider ..... SKIPPED [INFO] Maven SCM Standard Providers ...................... SKIPPED [INFO] Maven SCM Client .................................. SKIPPED [INFO] Maven SCM Plugin .................................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 39.431s [INFO] Finished at: Thu Apr 02 13:24:37 AEDT 2015 [INFO] Final Memory: 12M/40M [INFO] ------------------------------------------------------------------------ [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 rep ort in: C:\CALMData\Workspaces\RTC\Deb\maven-scm\target\rat.txt -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [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 C:\CALMData\Workspaces\RTC\Deb\maven-scm>
Same error, kinda, but with different warnings. C:\CALMData\Workspaces\RTC\Deb\maven-scm>mvn --version Apache Maven 3.0.4 (r1232337; 2012-01-17 19:44:56+1100) Maven home: C:\apache-maven-3.0.4\bin\.. Java version: 1.7.0_75, vendor: Oracle Corporation Java home: C:\Program Files\Java\jdk1.7.0_75\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows xp", version: "5.1", arch: "x86", family: "windows" C:\CALMData\Workspaces\RTC\Deb\maven-scm> On Thu, Apr 2, 2015 at 12:11 PM, Chris Graham <[email protected]> wrote: > Hey All. > > I've tried updating to a sun VM. The same error as with the IBM JDK. > > This is with wiping the entire local repo. > > I've even also explicity included the exclusion of target/** > > [INFO] Exclude: target/** > > [INFO] 57 implicit excludes (use -debug for more details). > [INFO] Exclude: .gitignore > [INFO] Exclude: README.txt > [INFO] Exclude: *.sh > [INFO] Exclude: .git/** > [INFO] Exclude: .idea/** > [INFO] Exclude: **/generated-sources/** > [INFO] Exclude: **/.gitattributes > [INFO] Exclude: src/main/resources/repository/** > [INFO] Exclude: **/src/main/resources/tck-repository/** > [INFO] Exclude: src/test/resources/** > [INFO] Exclude: src/test/repository/** > [INFO] Exclude: src/test/tck-repository/** > [INFO] Exclude: src/main/resources/tck/** > [INFO] Exclude: .java-version > [INFO] Exclude: .repository/** > [INFO] Exclude: target/** > [INFO] Exclude: DEPENDENCIES > [INFO] 4341 resources included (use -debug for more details) > [INFO] Rat check: Summary of files. Unapproved: 1745 unknown: 1745 > generated: 0 approved: 1305 licence. > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Maven SCM ......................................... FAILURE > [1:04.421s] > [INFO] Maven SCM API ..................................... SKIPPED > [INFO] Maven SCM Managers ................................ SKIPPED > [INFO] Maven SCM Manager for Plexus ...................... SKIPPED > [INFO] Maven SCM Test .................................... SKIPPED > [INFO] Maven SCM Providers ............................... SKIPPED > [INFO] Maven SCM AccuRev Provider ........................ SKIPPED > [INFO] Maven SCM Bazaar Provider ......................... SKIPPED > [INFO] Maven SCM Clearcase Provider ...................... SKIPPED > [INFO] Maven SCM CVS Provider - Parent ................... SKIPPED > [INFO] Maven SCM CVS Provider TCK tests .................. SKIPPED > [INFO] Maven SCM CVS Provider - Common library ........... SKIPPED > [INFO] Maven SCM CVS Provider - CVS Executable Impl. ..... SKIPPED > [INFO] Maven SCM CVS Provider - CVS Java Impl. ........... SKIPPED > [INFO] Maven SCM Mercurial (Hg) Provider ................. SKIPPED > [INFO] Maven SCM Git Provider - Parent ................... SKIPPED > [INFO] Maven SCM Git Provider - Common library ........... SKIPPED > [INFO] Maven SCM Git Provider TCK Tests .................. SKIPPED > [INFO] Maven SCM Git Provider - Git Executable Impl. ..... SKIPPED > [INFO] Maven SCM Git Provider - JGit Impl. ............... SKIPPED > [INFO] Maven SCM Local Provider .......................... SKIPPED > [INFO] Maven SCM Perforce Provider ....................... SKIPPED > [INFO] Maven SCM Starteam Provider ....................... SKIPPED > [INFO] Maven SCM Subversion Provider - Parent ............ SKIPPED > [INFO] Maven SCM Subversion Provider - Common library .... SKIPPED > [INFO] Maven SCM Subversion Provider TCK Tests ........... SKIPPED > [INFO] Maven SCM Subversion Provider - SVN Executable Impl. SKIPPED > [INFO] Maven SCM Synergy Provider ........................ SKIPPED > [INFO] Maven SCM Visual Source Safe Provider ............. SKIPPED > [INFO] Maven SCM TFS Provider ............................ SKIPPED > [INFO] Maven SCM MKS Integrity Provider .................. SKIPPED > [INFO] Maven SCM Jazz/Rational Team Concert Provider ..... SKIPPED > [INFO] Maven SCM Standard Providers ...................... SKIPPED > [INFO] Maven SCM Client .................................. SKIPPED > [INFO] Maven SCM Plugin .................................. SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 1:08.515s > [INFO] Finished at: Thu Apr 02 12:08:10 EST 2015 > [INFO] Final Memory: 12M/47M > [INFO] > ------------------------------------------------------------------------ > [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 rep > ort in: C:\CALMData\Workspaces\RTC\Deb\maven-scm\target\rat.txt -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e switch. > [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 > C:\CALMData\Workspaces\RTC\Deb\maven-scm> > > > C:\CALMData\Workspaces\RTC\Deb\maven-scm>mvn -version > Apache Maven 3.0.4 (r1232337; 2012-01-17 19:44:56+1100) > Maven home: C:\apache-maven-3.0.4\bin\.. > Java version: 1.6.0_45, vendor: Sun Microsystems Inc. > Java home: C:\Program Files\Java\jdk1.6.0_45\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows xp", version: "5.1", arch: "x86", family: "windows" > C:\CALMData\Workspaces\RTC\Deb\maven-scm> > > > C:\CALMData\Workspaces\RTC\Deb\maven-scm>git log > > commit 4a4f362655a301c5112be633b31c2860644ba06f > Author: Herv<C3><A9> Boutemy <[email protected]> > Date: Tue Mar 31 01:44:43 2015 +0200 > > changed svnpubsub url from /content to /components > > Can anyone else replicate this failure or confirm that it's working (and > what's different to my setup?) > > In the interim, I'll try java 7 as well. > > > On Wed, Apr 1, 2015 at 5:23 PM, Chris Graham <[email protected]> wrote: > >> Heh. I was tired. For some reason, I was looking at the end of the hash, >> not the beginning. Doh! >> >> Brain fade. :-) >> >> -Chris >> >> Sent from my iPhone >> >> On 01/04/2015, at 5:03 PM, Anders Hammar <[email protected]> wrote: >> >> > As I'm being mentioned here I'd like to clarify: >> > >> > I'm able to build with an IBM JDK 1.6 (included with WAS 8.0.0.10) on >> > Windows 7. Some of the unit tests and int tests fail though, very likely >> > due to the fact that I'm currently behind a corp firewall/proxy. >> > >> > Chris is on Windows XP I believe, and is possibly using a slightly >> > different version of the IBM JDK 1.6. I think we were building from the >> > same git commit (master, current HEAD, >> > 4a4f362655a301c5112be633b31c2860644ba06f) though. >> > >> > Chris: git commits are identified by SHA-1 check sums, which is >> > unambiguous. Most of the time though, it's enough to specify the "short >> > SHA-1" to identify a specific commit. That's what I did in our private >> > thread where I stated "4a4f36", which is in fact the same commit you >> were >> > seeing with "git log" ("4a4f362655a301c5112be633b31c2860644ba06f"). >> > >> > /Anders >> > >> > On Wed, Apr 1, 2015 at 5:15 AM, Chris Graham <[email protected]> >> wrote: >> > >> >> Hi Raphael! >> >> >> >> Thanks for that. I thought that I was on master, but I'll double check! >> >> >> >> Appreciate (from everyone) the help. >> >> >> >> -Chris >> >> >> >> On Wed, Apr 1, 2015 at 8:24 AM, Raphael Ackermann < >> >> [email protected]> wrote: >> >> >> >>> Default clone doesn't get you master branch but some old and outdated >> >>> branch. Had same problem with rat check. >> >>> Switching to master made it pass. >> >>> >> >>> On Tue, Mar 31, 2015, 22:23 Chris Graham <[email protected]> >> wrote: >> >>> >> >>>> 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: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.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.java: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( >> >>>> DefaultBuildPluginManager.java:101) >> >>>> at >> >>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute( >> >>>> MojoExecutor.java:209) >> >>>> ... 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/ >> >>>> default-compile/createdFiles.lst >> >>>> >> >>>> >> >>> >> >> >> maven-scm/maven-scm-api/target/maven-status/maven-compiler-plugin/compile/ >> >>>> default-compile/inputFiles.lst >> >>>> >> >>>> maven-scm/maven-scm-api/target/maven-status/maven- >> >>>> compiler-plugin/testCompile/default-testCompile/createdFiles.lst >> >>>> >> >>>> maven-scm/maven-scm-api/target/maven-status/maven- >> >>>> compiler-plugin/testCompile/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 >> >>>> >> >>> >> >> >> > >
