Hi Simer, On 09/02/2010 06:08 PM, Simerpreet Singh wrote: > Hi, > > When i build the project iam getting following error > > [INFO] Unpacking C:\Documents and Settings\xxx\.m2\repository\com\g > oogle\gwt\gwt-dev\2.0.3\gwt-dev-2.0.3-windows-libs.zip to > C:\Documents and Settings\xxx\.m2\repository\com\google\gwt\gwt-d > ev\2.0.3 > with includes null and excludes:null > org.codehaus.plexus.archiver.ArchiverException: Error while expanding > C:\Documen > ts and Settings\xxx\.m2\repository\com\google\gwt\gwt-dev\2.0.3\gwt > -dev-2.0.3-windows-libs.zip > at > org.codehaus.plexus.archiver.zip.AbstractZipUnArchiver.execute(Abstra > ctZipUnArchiver.java:132) > at > org.codehaus.plexus.archiver.AbstractUnArchiver.extract(AbstractUnArc > hiver.java:108) > at > org.apache.maven.plugin.dependency.AbstractDependencyMojo.unpack(Abst > ractDependencyMojo.java:260) > at > org.apache.maven.plugin.dependency.fromConfiguration.UnpackMojo.unpac > kArtifact(UnpackMojo.java:122) > at > org.apache.maven.plugin.dependency.fromConfiguration.UnpackMojo.execu > te(UnpackMojo.java:95) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi > nManager.java:454) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa > ultLifecycleExecutor.java:559) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi > fecycle(DefaultLifecycleExecutor.java:500) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau > ltLifecycleExecutor.java:479) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan > dleFailures(DefaultLifecycleExecutor.java:331) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen > ts(DefaultLifecycleExecutor.java:292) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi > fecycleExecutor.java:142) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:345) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:132) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:290) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > Caused by: java.io.IOException: Negative seek offset > at java.io.RandomAccessFile.seek(Native Method) > at > org.codehaus.plexus.archiver.zip.ZipFile.positionAtCentralDirectory(Z > ipFile.java:383) > at > org.codehaus.plexus.archiver.zip.ZipFile.populateFromCentralDirectory > (ZipFile.java:254) > at org.codehaus.plexus.archiver.zip.ZipFile.<init>(ZipFile.java:148) > at > org.codehaus.plexus.archiver.zip.AbstractZipUnArchiver.execute(Abstra > ctZipUnArchiver.java:113) > ... 22 more > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Error unpacking file: C:\Documents and Settings\xxxxx\.m2\repo > sitory\com\google\gwt\gwt-dev\2.0.3\gwt-dev-2.0.3-windows-libs.zip to: > C:\Docume > nts and Settings\xxx\.m2\repository\com\google\gwt\gwt-dev\2.0.3 > org.codehaus.plexus.archiver.ArchiverException: Error while expanding > C:\Documen > ts and Settings\xxx\.m2\repository\com\google\gwt\gwt-dev\2.0.3\gwt > -dev-2.0.3-windows-libs.zip > > Negative seek offset >
> Please help. Have you tried unpacking gwt-dev-2.0.3-windows-libs.zip yourself manually to a different location? Maybe it is corrupted. If this is the case then simply delete the C:\Documents and Settings\xxx\.m2\repository\com\google\gwt\gwt-dev\2.0.3\ directory and try building again. Maven will download again this zip. Hope this helps, Marius > > > Thanks, > Simer > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
