[jbosstools-dev] Solved: Cannot build seam project using tycho

vrubezhny at exadel.com vrubezhny at exadel.com
Thu Nov 18 13:32:41 EST 2010


The problem is solved by cleaning up the maven repository.



> Hi, All!
>
> Since this morning update i cannot build seam project using tycho...
>
> All I've done is just updated from svn, then built the parent pom.
>
> To build the seam project I used the following command:
>
> mvn clean install -f build/pom.xml -Dmaven.test.skip -P
> helios-no-target,seam-bootstrap
>
> this results to the following error:
>
> [INFO] Adding repository (cached) http://dl.google.com/eclipse/plugin/3.6
> [WARNING] Exception reading bundle manifest
> java.util.zip.ZipException: error in opening zip file
> 	at java.util.zip.ZipFile.open(Native Method)
> 	at java.util.zip.ZipFile.<init>(ZipFile.java:131)
> 	at
> org.codehaus.tycho.osgitools.DefaultBundleReader.doLoadManifest(DefaultBundleReader.java:85)
> 	at
> org.codehaus.tycho.osgitools.DefaultBundleReader.loadManifest(DefaultBundleReader.java:47)
> 	at
> org.codehaus.tycho.osgitools.EquinoxResolver.loadManifest(EquinoxResolver.java:199)
> 	at
> org.codehaus.tycho.osgitools.EquinoxResolver.addBundle(EquinoxResolver.java:175)
> 	at
> org.codehaus.tycho.osgitools.EquinoxResolver.newState(EquinoxResolver.java:157)
> 	at
> org.codehaus.tycho.osgitools.EquinoxResolver.newResolvedState(EquinoxResolver.java:52)
> 	at
> org.codehaus.tycho.osgitools.OsgiBundleProject.getResolverState(OsgiBundleProject.java:194)
> 	at
> org.codehaus.tycho.osgitools.OsgiBundleProject.resolve(OsgiBundleProject.java:142)
> 	at
> org.codehaus.tycho.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:80)
> 	at
> org.codehaus.tycho.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:94)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:200)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:95)
> 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:430)
> 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:160)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:124)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:616)
> 	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)
> [ERROR] Internal error: java.lang.NullPointerException -> [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/InternalErrorException
>
> (full log attached)
>
> I tried to build jsf project using the similar command and it is built
> successfully. The problems appears only when I try to build seam project.
>
> Any suggestions are appreciated.
>
> Thanks,
> Victor Rubezhny
> _______________________________________________
> jbosstools-dev mailing list
> jbosstools-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosstools-dev



More information about the jbosstools-dev mailing list