Hi all, Seems like some one has done the same mistake mentioned in "[Carbon-dev] Stratos Manager build error"".
Thanks Ajith . On Thu, Aug 30, 2012 at 5:53 PM, Ajith Vitharana <[email protected]> wrote: > Hi all, > > I'm getting following error with latest update. > > [INFO] Copying resources > [INFO] Running Equinox P2 Publisher Application for Repository Generation > [INFO] Command line: > /bin/sh -c cd > /home/ajithn/wso2/build/branches/greg-4.5.0-release/platform/4.0.0/products/esb/4.5.0/modules/p2-profile > && /home/ajithn/programes/jdk1.6.0_26/jre/bin/java -jar > /home/ajithn/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/plugins/org.eclipse.equinox.launcher_1.2.0.v20110725-1610.jar > -nosplash -application > org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher -source > /home/ajithn/wso2/build/branches/greg-4.5.0-release/platform/4.0.0/products/esb/4.5.0/modules/p2-profile/target/tmp.1346329296736/featureExtract > -metadataRepository > file:/home/ajithn/wso2/build/branches/greg-4.5.0-release/platform/4.0.0/products/esb/4.5.0/modules/p2-profile/target/p2-repo > -metadataRepositoryName wso2esb-p2-profile -artifactRepository > file:/home/ajithn/wso2/build/branches/greg-4.5.0-release/platform/4.0.0/products/esb/4.5.0/modules/p2-profile/target/p2-repo > -artifactRepositoryName wso2esb-p2-profile -publishArtifacts > -publishArtifactRepository -compress -append > Generating metadata for .. > Status ERROR: org.eclipse.equinox.p2.artifact.repository code=0 > java.lang.IllegalArgumentException > > Product publishing ended with the following exception: > java.lang.IllegalArgumentException > at > org.eclipse.osgi.service.resolver.VersionRange.<init>(VersionRange.java:85) > at > org.eclipse.osgi.internal.resolver.StateBuilder.getVersionRange(StateBuilder.java:686) > at > org.eclipse.osgi.internal.resolver.StateBuilder.addImportPackages(StateBuilder.java:289) > at > org.eclipse.osgi.internal.resolver.StateBuilder.createImportPackages(StateBuilder.java:268) > at > org.eclipse.osgi.internal.resolver.StateBuilder.createBundleDescription(StateBuilder.java:113) > at > org.eclipse.osgi.internal.resolver.StateObjectFactoryImpl.createBundleDescription(StateObjectFactoryImpl.java:32) > at > org.eclipse.equinox.p2.publisher.eclipse.BundlesAction.createBundleDescription(BundlesAction.java:531) > at > org.eclipse.equinox.p2.publisher.eclipse.BundlesAction.createBundleDescription(BundlesAction.java:546) > at > org.eclipse.equinox.p2.publisher.eclipse.BundlesAction.getBundleDescriptions(BundlesAction.java:846) > at > org.eclipse.equinox.p2.publisher.eclipse.BundlesAction.perform(BundlesAction.java:657) > at > org.eclipse.equinox.p2.publisher.Publisher$ArtifactProcess.run(Publisher.java:207) > at > org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.executeBatch(SimpleArtifactRepository.java:1294) > at org.eclipse.equinox.p2.publisher.Publisher.publish(Publisher.java:231) > at > org.eclipse.equinox.p2.publisher.AbstractPublisherApplication.run(AbstractPublisherApplication.java:283) > at > org.eclipse.equinox.p2.publisher.AbstractPublisherApplication.run(AbstractPublisherApplication.java:253) > at > org.eclipse.equinox.p2.publisher.AbstractPublisherApplication.start(AbstractPublisherApplication.java:315) > at > org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) > at > org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:26) > at java.lang.Thread.run(Thread.java:662) > > Product publisher application was executed with the following arguments: > -source > > /home/ajithn/wso2/build/branches/greg-4.5.0-release/platform/4.0.0/products/esb/4.5.0/modules/p2-profile/target/tmp.1346329296736/featureExtract > -metadataRepository > > file:/home/ajithn/wso2/build/branches/greg-4.5.0-release/platform/4.0.0/products/esb/4.5.0/modules/p2-profile/target/p2-repo > -metadataRepositoryName > wso2esb-p2-profile > -artifactRepository > > file:/home/ajithn/wso2/build/branches/greg-4.5.0-release/platform/4.0.0/products/esb/4.5.0/modules/p2-profile/target/p2-repo > -artifactRepositoryName > wso2esb-p2-profile > -publishArtifacts > -publishArtifactRepository > -compress > -append > [ERROR] P2 publisher return code was 1 > org.apache.maven.plugin.MojoFailureException: P2 publisher return code was > 1 > at > org.wso2.maven.p2.RepositoryGenMojo.generateRepository(RepositoryGenMojo.java:255) > at > org.wso2.maven.p2.RepositoryGenMojo.createRepo(RepositoryGenMojo.java:204) > at > org.wso2.maven.p2.RepositoryGenMojo.execute(RepositoryGenMojo.java:191) > at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) > 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) > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 11.647s > [INFO] Finished at: Thu Aug 30 17:51:42 IST 2012 > [INFO] Final Memory: 14M/1341M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.wso2.maven:carbon-p2-plugin:1.5:p2-repo-gen (2-p2-repo-generation) on > project wso2esb-p2-profile: P2 publisher return code was 1 -> [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. > > > -- > Ajith Vitharana. > WSO2 Inc. - http://wso2.org > Email : [email protected] > Mobile : +94714631794 > > > -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : [email protected] Mobile : +94714631794
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
