According to [1] doing a clean repo build with only maven3 will solve the
problem.


[1]
http://wso2-oxygen-tank.10903.n7.nabble.com/Build-error-in-carbon-trunk-products-is-td23874.html


On Sat, Jul 26, 2014 at 7:33 PM, Nipuni Perera <[email protected]> wrote:

> Hi,
>
> I have cloned carbon4-kernal from[1] and got following error when
> building. I am doing a clean repo build with maven 3.0.5 and jdk 1.6.0.
> According to error codes [2], code 13 is due to "Permission denied". I have
> tried building with super user privileges (sudo mvn clean install). But
> still getting the same error. What could be the issue here?
>
> [ERROR] P2 publisher return code was 13
> 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)
>     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: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)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] WSO2 Carbon - Student Manager Feature Repository .. FAILURE [4.199s]
> [INFO] WSO2 Carbon - student Manager Sample .............. SKIPPED
> [INFO] WSO2 Carbon - Samples ............................. SKIPPED
> [INFO] WSO2 Carbon Core - Distribution ................... SKIPPED
> [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: 9.559s
> [INFO] Finished at: Sat Jul 26 19:14:34 IST 2014
> [INFO] Final Memory: 34M/1237M
> [INFO]
> ------------------------------------------------------------------------
> [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]
> [ERROR]
>
> [1] https://github.com/wso2-dev/carbon4-kernel
> [2]
> http://www-numi.fnal.gov/offline_software/srt_public_context/WebDocs/Errors/unix_system_errors.html
>
> 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
>
>


-- 
Tishan Dahanayakage
Software Engineer
WSO2, Inc.
Mobile:+94 716481328

Disclaimer: This communication may contain privileged or other confidential
information and is intended exclusively for the addressee/s. If you are not
the intended recipient/s, or believe that you may have received this
communication in error, please reply to the sender indicating that fact and
delete the copy you received and in addition, you should not print, copy,
re-transmit, disseminate, or otherwise use the information contained in
this communication. Internet communications cannot be guaranteed to be
timely, secure, error or virus-free. The sender does not accept liability
for any errors or omissions.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to