maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <br...@apache.org>
Subject Re: Error while building maven-2.2.x from SVN repository
Date Tue, 16 Mar 2010 08:52:45 GMT
We don't tend to test or support gcj. Have you tried it with a different JDK?

On 16/03/2010, at 12:33 PM, Hugo Vasconcelos Saldanha wrote:

> Hi,
> 
> When I try to build maven-2.2.x from SVN repository, it fails with the
> following error. Am I doing something wrong?
> 
> (...)
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Maven Artifact
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.3/maven-resources-plugin-2.3.pom
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/12/maven-plugins-12.pom
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-parent/9/maven-parent-9.pom
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.3/maven-resources-plugin-2.3.jar
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.2/maven-compiler-plugin-2.0.2.pom
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.2/maven-compiler-plugin-2.0.2.jar
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.4.3/maven-surefire-plugin-2.4.3.pom
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire/2.4.3/surefire-2.4.3.pom
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.4.3/maven-surefire-plugin-2.4.3.jar
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.2/maven-jar-plugin-2.2.pom
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.2/maven-jar-plugin-2.2.jar
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.pom
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-9-stable-1/plexus-container-default-1.0-alpha-9-stable-1.jar
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/classworlds/classworlds/1.1/classworlds-1.1.jar
> [INFO] [enforcer:enforce {execution: enforce-jdk}]
> [INFO] [remote-resources:process {execution: default}]
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/shared/maven-filtering/1.0-beta-2/maven-filtering-1.0-beta-2.pom
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/shared/maven-shared-components/10/maven-shared-components-10.pom
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-core/2.0.6/maven-core-2.0.6.pom
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-parameter-documenter/2.0.6/maven-plugin-parameter-documenter-2.0.6.pom
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-error-diagnostics/2.0.6/maven-error-diagnostics-2.0.6.pom
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-descriptor/2.0.6/maven-plugin-descriptor-2.0.6.pom
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-monitor/2.0.6/maven-monitor-2.0.6.pom
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.5.6/plexus-utils-1.5.6.pom
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.12/plexus-1.0.12.pom
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-interpolation/1.6/plexus-interpolation-1.6.pom
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.5.6/plexus-utils-1.5.6.jar
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/shared/maven-filtering/1.0-beta-2/maven-filtering-1.0-beta-2.jar
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-interpolation/1.6/plexus-interpolation-1.6.jar
> [INFO] [resources:resources]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] Copying 3 resources
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.pom
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compilers/1.5.3/plexus-compilers-1.5.3.pom
> Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler/1.5.3/plexus-compiler-1.5.3.pom
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.pom
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.pom
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.jar
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.jar
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.jar
> [INFO] [compiler:compile]
> [INFO] Compiling 64 source files to
> /home/hugo.saldanha/workspace/maven-2.2.x/maven-artifact/target/classes
> [INFO] [resources:testResources]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> /home/hugo.saldanha/workspace/maven-2.2.x/maven-artifact/src/test/resources
> [INFO] Copying 3 resources
> [INFO] [compiler:testCompile]
> [INFO] Compiling 8 source files to
> /home/hugo.saldanha/workspace/maven-2.2.x/maven-artifact/target/test-classes
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-toolchain/1.0/maven-toolchain-1.0.pom
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-booter/2.4.3/surefire-booter-2.4.3.pom
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-api/2.4.3/surefire-api-2.4.3.pom
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-toolchain/1.0/maven-toolchain-1.0.jar
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-booter/2.4.3/surefire-booter-2.4.3.jar
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-api/2.4.3/surefire-api-2.4.3.jar
> [INFO] [surefire:test]
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-junit/2.4.3/surefire-junit-2.4.3.pom
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-providers/2.4.3/surefire-providers-2.4.3.pom
> [WARNING] Skipping jpp repository file:///usr/share/maven2/repository
> in vanilla mode
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-junit/2.4.3/surefire-junit-2.4.3.jar
> [ERROR] Nonexistent component: org.apache.maven.toolchain.ToolchainManager
> [INFO] Surefire report directory:
> /home/hugo.saldanha/workspace/maven-2.2.x/maven-artifact/target/surefire-reports
> org.apache.maven.surefire.booter.SurefireExecutionException: Unable to
> create test class
> 'org.apache.maven.artifact.versioning.DefaultArtifactVersionTest';
> nested exception is java.lang.ClassNotFoundException:
> org.apache.maven.artifact.versioning.DefaultArtifactVersionTest not
> found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/tmp/surefirebooterjoreak.jar],
> parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}};
> nested exception is
> org.apache.maven.surefire.testset.TestSetFailedException: Unable to
> create test class
> 'org.apache.maven.artifact.versioning.DefaultArtifactVersionTest';
> nested exception is java.lang.ClassNotFoundException:
> org.apache.maven.artifact.versioning.DefaultArtifactVersionTest not
> found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/tmp/surefirebooterjoreak.jar],
> parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
> org.apache.maven.surefire.testset.TestSetFailedException: Unable to
> create test class
> 'org.apache.maven.artifact.versioning.DefaultArtifactVersionTest';
> nested exception is java.lang.ClassNotFoundException:
> org.apache.maven.artifact.versioning.DefaultArtifactVersionTest not
> found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/tmp/surefirebooterjoreak.jar],
> parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
> java.lang.ClassNotFoundException:
> org.apache.maven.artifact.versioning.DefaultArtifactVersionTest not
> found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/tmp/surefirebooterjoreak.jar],
> parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
>   at java.net.URLClassLoader.findClass(libgcj.so.10)
>   at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.10)
>   at java.lang.ClassLoader.loadClass(libgcj.so.10)
>   at java.lang.ClassLoader.loadClass(libgcj.so.10)
>   at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTestSets(AbstractDirectoryTestSuite.java:87)
>   at org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire.java:209)
>   at org.apache.maven.surefire.Surefire.run(Surefire.java:156)
>   at java.lang.reflect.Method.invoke(libgcj.so.10)
>   at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
>   at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] There are test failures.
> 
> Please refer to
> /home/hugo.saldanha/workspace/maven-2.2.x/maven-artifact/target/surefire-reports
> for the individual test results.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 3 minutes 31 seconds
> [INFO] Finished at: Mon Mar 15 22:30:00 GMT-03:00 2010
> [INFO] Final Memory: 43M/66M
> [INFO] ------------------------------------------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 

--
Brett Porter
brett@apache.org
http://brettporter.wordpress.com/





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message