Hi Sandun,

Please have a look at [1]. It might help

[1] - https://www.mail-archive.com/dev@wso2.org/msg57254.html

Regards,
Omindu.


On Mon, Oct 9, 2017 at 11:06 PM, Sandun Perera <sandunpper...@gmail.com>
wrote:

>
> ---------- Forwarded message ----------
> From: Sandun Perera <sandunpper...@gmail.com>
> Date: Mon, Oct 9, 2017 at 10:01 PM
> Subject: [Dev] Error while Building Identity Server from Source
> To: dev@wso2.org
>
>
> Hi
>
> I got following maven error while trying to build Identity Server from
> Source.
>
> *[ERROR] Failed to execute goal
> org.wso2.maven:carbon-p2-plugin:1.5.4:p2-profile-gen
> (3-p2-profile-generation) on project identity-profile-gen: 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:p2-profile-gen
> (3-p2-profile-generation) on project identity-profile-gen: P2 publisher
> return code was 13*
> *        at org.apache.maven.lifecycle.int
> <http://org.apache.maven.lifecycle.int>ernal.MojoExecutor.execute(MojoExecutor.java:212)*
> *        at org.apache.maven.lifecycle.int
> <http://org.apache.maven.lifecycle.int>ernal.MojoExecutor.execute(MojoExecutor.java:153)*
> *        at org.apache.maven.lifecycle.int
> <http://org.apache.maven.lifecycle.int>ernal.MojoExecutor.execute(MojoExecutor.java:145)*
> *        at org.apache.maven.lifecycle.int
> <http://org.apache.maven.lifecycle.int>ernal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)*
> *        at org.apache.maven.lifecycle.int
> <http://org.apache.maven.lifecycle.int>ernal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)*
> *        at org.apache.maven.lifecycle.int
> <http://org.apache.maven.lifecycle.int>ernal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)*
> *        at org.apache.maven.lifecycle.int
> <http://org.apache.maven.lifecycle.int>ernal.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:863)*
> *        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)*
> *        at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)*
> *        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: P2 publisher
> return code was 13*
> *        at
> org.wso2.maven.p2.ProfileGenMojo.execute(ProfileGenMojo.java:180)*
> *        at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)*
> *        at org.apache.maven.lifecycle.int
> <http://org.apache.maven.lifecycle.int>ernal.MojoExecutor.execute(MojoExecutor.java:207)*
> *        ... 20 more*
> *Caused by: org.apache.maven.plugin.MojoFailureException: P2 publisher
> return code was 13*
> *        at
> org.wso2.maven.p2.ProfileGenMojo.installFeatures(ProfileGenMojo.java:222)*
> *        at
> org.wso2.maven.p2.ProfileGenMojo.execute(ProfileGenMojo.java:170)*
> *        ... 22 more*
> *[ERROR] *
> *[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
> <http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException>*
> *[ERROR] *
>
>
>
> Appreciate any help.
>
>
> Thank You
>
>
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Omindu Rathnaweera
Senior Software Engineer, WSO2 Inc.
Mobile: +94 771 197 211
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to