Hi, I was able to successfully build the ESB using java 7 when wso2-axis2-transports, wso2-synapse, carbon-mediation were all built using java 7. But when I try to build the ESB using java 8 when all the other dependencies also were built using java 8 I get the following error:
*Failed to execute goal org.wso2.maven:carbon-p2-plugin:1.5.4:materialize-product (creating-worker-profile) on project wso2esb-p2-profile: Cannot generate P2 metadata: P2 publisher return code was 13 -> [Help 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.wso2.maven:carbon-p2-plugin:1.5.4:materialize-product (creating-worker-profile) on project wso2esb-p2-profile: Cannot generate P2 metadata at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216) 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:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286) at org.apache.maven.cli.MavenCli.main(MavenCli.java:197) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)Caused by: org.apache.maven.plugin.MojoExecutionException: Cannot generate P2 metadata at org.wso2.maven.p2.MaterializeProductMojo.execute(MaterializeProductMojo.java:106) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 20 moreCaused by: org.apache.maven.plugin.MojoFailureException: P2 publisher return code was 13 at org.wso2.maven.p2.MaterializeProductMojo.deployRepository(MaterializeProductMojo.java:182) at org.wso2.maven.p2.MaterializeProductMojo.execute(MaterializeProductMojo.java:101) ... 22 more* I am not using eclipse as in issue[1]. I built a direct clone from wso2 repo[2] I have used a clean repo and tried building all again and get the same error with java 8. Please kindly help. [1] http://mail.wso2.org/mailarchive/dev/2014-July/033811.html [2] https://github.com/wso2/product-esb.git Thank you. Riyafa -- Riyafa Abdul Hameed Software Engineering intern, WSO2 Email: [email protected] Website: https://riyafa.wordpress.com/ <http://riyafa.wordpress.com/> <http://facebook.com/riyafa.ahf> <http://lk.linkedin.com/in/riyafa> <http://twitter.com/Riyafa1>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
