Hi Even in Maven 3 minor versions matters some times. There were some issues with maven 3.1.x IIRC. If that's the case try with 3.0.5.
Thanks & Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Fri, Jul 18, 2014 at 12:01 PM, Manula Chathurika Thantriwatte < [email protected]> wrote: > Hi Nipuni, > > Build with a clean Maven repo using Maven3. > > Thanks ! > > > On Fri, Jul 18, 2014 at 11:51 AM, Harsha Kumara <[email protected]> wrote: > >> Hi Nipuni, >> May be the maven version you using can be the issue here. What's your >> maven version? >> Thanks, >> Harsha >> >> >> On Fri, Jul 18, 2014 at 11:47 AM, Nipuni Perera <[email protected]> wrote: >> >>> Hi, >>> >>> I am using java 6 and I have tried with a clean repo build. I got the >>> following error stack trace. >>> >>> [ERROR] Failed to execute goal >>> org.wso2.maven:carbon-p2-plugin:1.5.3:p2-repo-gen (2-p2-repo-generation) on >>> project wso2carbon-student-mgt-repository: 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.3:p2-repo-gen >>> (2-p2-repo-generation) on project wso2carbon-student-mgt-repository: P2 >>> publisher return code was 13 >>> at >>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) >>> 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:320) >>> 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.MojoExecutionException: P2 publisher >>> return code was 13 >>> at >>> org.wso2.maven.p2.RepositoryGenMojo.createRepo(RepositoryGenMojo.java:210) >>> 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) >>> ... 19 more >>> Caused by: org.apache.maven.plugin.MojoFailureException: P2 publisher >>> return code was 13 >>> at >>> org.wso2.maven.p2.RepositoryGenMojo.generateRepository(RepositoryGenMojo.java:255) >>> at >>> org.wso2.maven.p2.RepositoryGenMojo.createRepo(RepositoryGenMojo.java:204) >>> ... 22 more >>> >>> Thanks, >>> Nipuni >>> >>> >>> On Fri, Jul 18, 2014 at 10:22 AM, Danushka Fernando <[email protected]> >>> wrote: >>> >>>> Hi >>>> What is the java version you are using? Is it java 6 or java 7? If its >>>> 7 try with java 6. >>>> >>>> Thanks & Regards >>>> Danushka Fernando >>>> Software Engineer >>>> WSO2 inc. http://wso2.com/ >>>> Mobile : +94716332729 >>>> >>>> >>>> On Fri, Jul 18, 2014 at 10:00 AM, Nipuni Perera <[email protected]> >>>> wrote: >>>> >>>>> Hi, >>>>> >>>>> [INFO] Reactor Summary: >>>>> [INFO] >>>>> [INFO] WSO2 Carbon Core - Distribution ................... FAILURE >>>>> [7:30.905s] >>>>> [INFO] WSO2 Carbon - Integration ......................... SKIPPED >>>>> [INFO] WSO2 Carbon - Security Verification Service ....... SKIPPED >>>>> [INFO] WSO2 Carbon - Integration Core .................... SKIPPED >>>>> [INFO] WSO2 Carbon - Integration Testing Framework ....... SKIPPED >>>>> [INFO] WSO2 Carbon - Integration Tests ................... SKIPPED >>>>> [INFO] WSO2 Carbon - Product Parent ...................... SKIPPED >>>>> [INFO] WSO2 Carbon - UI styles ........................... SKIPPED >>>>> [INFO] WSO2 Carbon - Style Feature ....................... SKIPPED >>>>> [INFO] WSO2 Carbon - Profile Generation .................. SKIPPED >>>>> [INFO] WSO2 Carbon - Distribution ........................ SKIPPED >>>>> [INFO] Distribution-Aggregate ............................ SKIPPED >>>>> [INFO] WSO2 Carbon - Aggregate Pom ....................... SKIPPED >>>>> [INFO] >>>>> ------------------------------------------------------------------------ >>>>> [INFO] BUILD FAILURE >>>>> [INFO] >>>>> ------------------------------------------------------------------------ >>>>> [INFO] Total time: 7:32.532s >>>>> [INFO] Finished at: Fri Jul 18 09:49:23 IST 2014 >>>>> [INFO] Final Memory: 33M/1217M >>>>> [INFO] >>>>> ------------------------------------------------------------------------ >>>>> >>>>> [ERROR] Failed to execute goal >>>>> org.wso2.maven:carbon-p2-plugin:1.5.3:materialize-product >>>>> (materialize-product) on project wso2carbon-core: Cannot generate P2 >>>>> metadata: P2 publisher return code was 13 -> [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/MojoExecutionException >>>>> >>>>> Thanks, >>>>> Nipuni >>>>> >>>>> >>>>> On Fri, Jul 18, 2014 at 9:47 AM, Manula Chathurika Thantriwatte < >>>>> [email protected]> wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> Can you put the full error log. >>>>>> >>>>>> >>>>>> On Fri, Jul 18, 2014 at 9:44 AM, Nipuni Perera <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> I got following error when building carbon checked out from[1]. >>>>>>> >>>>>>> [ERROR] Failed to execute goal >>>>>>> org.wso2.maven:carbon-p2-plugin:1.5.3:materialize-product >>>>>>> (materialize-product) on project wso2carbon-core: Cannot generate P2 >>>>>>> metadata: P2 publisher return code was 13 -> [Help 1] >>>>>>> >>>>>>> [1] https://github.com/wso2-dev/carbon4-kernel >>>>>>> >>>>>>> Thanks, >>>>>>> Nipuni >>>>>>> -- >>>>>>> Nipuni Perera >>>>>>> Software Engineer; WSO2 Inc.; http://wso2.com >>>>>>> Email: [email protected] >>>>>>> Git hub profile: https://github.com/nipuni >>>>>>> Mobile: +94 (71) 5626680 >>>>>>> <http://wso2.com> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Dev mailing list >>>>>>> [email protected] >>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Regards, >>>>>> Manula Chathurika Thantriwatte >>>>>> Software Engineer >>>>>> WSO2 Inc. : http://wso2.com >>>>>> lean . enterprise . middleware >>>>>> >>>>>> email : [email protected] / [email protected] >>>>>> phone : +94 772492511 >>>>>> blog : http://manulachathurika.blogspot.com/ >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Nipuni Perera >>>>> Software Engineer; WSO2 Inc.; http://wso2.com >>>>> Email: [email protected] >>>>> Git hub profile: https://github.com/nipuni >>>>> Mobile: +94 (71) 5626680 >>>>> <http://wso2.com> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Dev mailing list >>>>> [email protected] >>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>> >>>>> >>>> >>> >>> >>> -- >>> Nipuni Perera >>> Software Engineer; WSO2 Inc.; http://wso2.com >>> Email: [email protected] >>> Git hub profile: https://github.com/nipuni >>> Mobile: +94 (71) 5626680 >>> <http://wso2.com> >>> >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Harsha Kumara >> Software Engineer, WSO2 Inc. >> Mobile: +94775505618 >> Blog:harshcreationz.blogspot.com >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Regards, > Manula Chathurika Thantriwatte > Software Engineer > WSO2 Inc. : http://wso2.com > lean . enterprise . middleware > > email : [email protected] / [email protected] > phone : +94 772492511 > blog : http://manulachathurika.blogspot.com/ > > > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
