Hi, I also got the same error when building with a fresh checkout and clean repo. Seems like the jars are corrupted.
On Thu, Jul 5, 2012 at 10:56 PM, Kasun Weranga <[email protected]> wrote: > Hi > > I am getting following build failure when building in a clean repo. It > download two corrupted jars (openws-1.2.2.jar and jargs-1.0.jar) and this > cause the following build failure. > > > [INFO] --- maven-remote-resources-plugin:1.0:process (default) @ wss4j --- > [INFO] Setting property: classpath.resource.loader.class => > 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. > [INFO] Setting property: velocimacro.messages.on => 'false'. > [INFO] Setting property: resource.loader => 'classpath'. > [INFO] Setting property: resource.manager.logwhenfound => 'false'. > Downloading: > http://repo1.maven.org/maven2/org/apache/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.pom > Downloading: > http://repo1.maven.org/maven2/org/apache/xalan/xalan/2.7.1/xalan-2.7.1.pom > Downloading: > http://repo1.maven.org/maven2/org/apache/xerces/xml-apis/2.9.1/xml-apis-2.9.1.pom > Downloading: > http://repo1.maven.org/maven2/org/apache/xerces/resolver/2.9.1/resolver-2.9.1.pom > Downloading: > http://repo1.maven.org/maven2/org/apache/xerces/serializer/2.9.1/serializer-2.9.1.pom > Downloading: > http://repo1.maven.org/maven2/org/opensaml/openws/1.2.2/openws-1.2.2.pom > Downloading: http://repo1.maven.org/maven2/jargs/jargs/1.0/jargs-1.0.pom > [INFO] > [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ > wss4j --- > [debug] execute contextualize > [WARNING] Using platform encoding (UTF-8 actually) to copy filtered > resources, i.e. build is platform dependent! > [INFO] Copying 3 resources > [INFO] Copying 3 resources > [INFO] > [INFO] --- maven-compiler-plugin:2.1:compile (default-compile) @ wss4j --- > [WARNING] File encoding has not been set, using platform encoding UTF-8, > i.e. build is platform dependent! > [INFO] Compiling 125 source files to > /opt/projects/carbon/trunkKernelOrbitPlatform/carbon/kernel/trunk/dependencies/wss4j/1.5.11-wso2v3/target/classes > [INFO] ------------------------------------------------------------- > [ERROR] COMPILATION ERROR : > [INFO] ------------------------------------------------------------- > [ERROR] error: error reading > /home/kasunw/.m2/repository/org/opensaml/openws/1.2.2/openws-1.2.2.jar; > error in opening zip file > [ERROR] error: error reading > /home/kasunw/.m2/repository/jargs/jargs/1.0/jargs-1.0.jar; error in opening > zip file > [INFO] 2 errors > [INFO] ------------------------------------------------------------- > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 38.750s > [INFO] Finished at: Thu Jul 05 22:39:57 IST 2012 > [INFO] Final Memory: 17M/497M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:2.1:compile > (default-compile) on project wss4j: Compilation failure: Compilation > failure: > [ERROR] error: error reading > /home/kasunw/.m2/repository/org/opensaml/openws/1.2.2/openws-1.2.2.jar; > error in opening zip file > [ERROR] error: error reading > /home/kasunw/.m2/repository/jargs/jargs/1.0/jargs-1.0.jar; error in opening > zip file > [ERROR] -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-compiler-plugin:2.1:compile > (default-compile) on project wss4j: Compilation failure > 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:319) > 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:25) > at java.lang.reflect.Method.invoke(Method.java:597) > 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.maven.plugin.CompilationFailureException: > Compilation failure > at > org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:613) > at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:116) > at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) > ... 19 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/MojoFailureException > > > > Thanks, > KasunW > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Achala Aponso Software Engineer; WSO2 Inc.; http://wso2.com, Email: [email protected] Mobile: +94 (77) 5234925 Blog: http://achala11.blogspot.com/
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
