Hi,

While building carbon4-kernel, product-es and product-greg fails in WSO2
Carbon Core - Distribution, P2 Profile Generation and WSO2 Governance
Registry - P2 Profile Generation respectively. All 3 of them are failing
due to below error:

*Installation failed.*

*One or more certificates rejected. Cannot proceed with installation.*

Kindly find the error log for carbon below.

Anybody who overcome the same issue?


[INFO] Executed tasks

[INFO]

[INFO] --- carbon-p2-plugin:1.5.3:p2-repo-gen (p2-repo-generation) @
wso2carbon-core ---

[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.core.feature

[INFO] Extracting feature
org.wso2.carbon:org.wso2.carbon.core.runtime.feature

[INFO] Copying resources

[INFO] Running Equinox P2 Publisher Application for Repository Generation

[INFO] Command line:

/bin/sh -c cd
/Users/thushara/Documents/greg/carbon4-kernel/distribution/kernel &&
/Library/Java/JavaVirtualMachines/1.6.0_65-b14-462.jdk/Contents/Home/bin/java
-jar
/Users/thushara/.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
/Users/thushara/Documents/greg/carbon4-kernel/distribution/kernel/target/tmp.1415620321712/featureExtract
-metadataRepository
file:/Users/thushara/Documents/greg/carbon4-kernel/distribution/kernel/target/p2-repo
-metadataRepositoryName wso2carbon-core -artifactRepository
file:/Users/thushara/Documents/greg/carbon4-kernel/distribution/kernel/target/p2-repo
-artifactRepositoryName wso2carbon-core -publishArtifacts
-publishArtifactRepository -compress -append

Generating metadata for ..

Generation completed with success [3 seconds].

[INFO] Running Equinox P2 Category Publisher Application for the Generated
Repository

[INFO]

[INFO] --- carbon-p2-plugin:1.5.3:publish-product (publishing products) @
wso2carbon-core ---

[INFO] Command line:

/bin/sh -c cd
/Users/thushara/Documents/greg/carbon4-kernel/distribution/kernel &&
/Library/Java/JavaVirtualMachines/1.6.0_65-b14-462.jdk/Contents/Home/bin/java
-jar
/Users/thushara/.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.ProductPublisher
-metadataRepository
file:/Users/thushara/Documents/greg/carbon4-kernel/distribution/kernel/target/p2-repo
-artifactRepository
file:/Users/thushara/Documents/greg/carbon4-kernel/distribution/kernel/target/p2-repo
-productFile
/Users/thushara/Documents/greg/carbon4-kernel/distribution/kernel/carbon.product
-executables
/Users/thushara/Documents/greg/carbon4-kernel/distribution/kernel/target/org.eclipse.equinox.executable_3.5.0.v20110530-7P7NFUFFLWUl76mart
-publishArtifacts -configs gtk.linux.x86 -flavor tooling -append

Generating metadata for ..

Generation completed with success [0 seconds].

[INFO]

[INFO] --- carbon-p2-plugin:1.5.3:materialize-product (materialize-product)
@ wso2carbon-core ---

[INFO] Command line:

/bin/sh -c cd
/Users/thushara/Documents/greg/carbon4-kernel/distribution/kernel &&
/Library/Java/JavaVirtualMachines/1.6.0_65-b14-462.jdk/Contents/Home/bin/java
-jar
/Users/thushara/.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.director -metadataRepository
file:/Users/thushara/Documents/greg/carbon4-kernel/distribution/kernel/target/p2-repo
-artifactRepository
file:/Users/thushara/Documents/greg/carbon4-kernel/distribution/kernel/target/p2-repo
-installIU carbon.product.id -profileProperties
org.eclipse.update.install.features=true -profile default -bundlepool
file:/Users/thushara/Documents/greg/carbon4-kernel/distribution/kernel/target/WSO2Carbon
-shared
file:/Users/thushara/Documents/greg/carbon4-kernel/distribution/kernel/target/WSO2Carbon/p2
-destination
file:/Users/thushara/Documents/greg/carbon4-kernel/distribution/kernel/target/WSO2Carbon/default
-p2.os linux -p2.ws gtk -p2.arch x86 -roaming

Installing carbon.product.id 4.3.0.SNAPSHOT.

Installation failed.

One or more certificates rejected. Cannot proceed with installation.

Application failed, log file location:
/Users/thushara/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1415620329273.log


[INFO]
------------------------------------------------------------------------

[INFO] Reactor Summary:

[INFO]

[INFO] WSO2 Carbon - Parent Pom .......................... SUCCESS [0.188s]

[INFO] WSO2 Carbon - Service Stubs - Aggregator Module ... SUCCESS [0.083s]

[INFO] WSO2 Carbon - Default Authenticator Stub .......... SUCCESS [4.506s]

[INFO] WSO2 Carbon Core - Common Stub .................... SUCCESS [6.497s]

[INFO] WSO2 Carbon - Component Manager Stub .............. SUCCESS [4.048s]

[INFO] WSO2 Carbon - Server Role Management Stub ......... SUCCESS [1.820s]

[INFO] WSO2 Carbon - Server Administration Stub .......... SUCCESS [2.014s]

[INFO] WSO2 Carbon Kernel - Parent Maven Project ......... SUCCESS [0.078s]

[INFO] WSO2 Carbon - Bootstrap ........................... SUCCESS [0.699s]

[INFO] WSO2 Carbon - Logging ............................. SUCCESS [0.647s]

[INFO] WSO2 Carbon - Queuing ............................. SUCCESS [0.099s]

[INFO] WSO2 Carbon - Secure Vault ........................ SUCCESS [0.274s]

[INFO] WSO2 Carbon - Base ................................ SUCCESS [0.295s]

[INFO] WSO2 Carbon - User Manager API .................... SUCCESS [0.211s]

[INFO] WSO2 Carbon - Registry API ........................ SUCCESS [7.905s]

[INFO] WSO2 Carbon - Utilities ........................... SUCCESS [1.800s]

[INFO] WSO2 Carbon - JSR 107 API ......................... SUCCESS [0.716s]

[INFO] WSO2 Carbon - carbon tomcat bundle ................ SUCCESS [0.579s]

[INFO] WSO2 Carbon - Xbootclasspath library for Registry Kernel  SUCCESS
[0.176s]

[INFO] WSO2 Carbon - New Data Sources Common ............. SUCCESS [0.094s]

[INFO] WSO2 Carbon - New Data Sources RDBMS .............. SUCCESS [0.469s]

[INFO] WSO2 Carbon - User Manager Kernel ................. SUCCESS [1.847s]

[INFO] WSO2 Carbon - Registry Kernel ..................... SUCCESS [16.010s]

[INFO] WSO2 Carbon - Kernel .............................. SUCCESS [1.957s]

[INFO] WSO2 Carbon - Carbon specific tomcat extensions ... SUCCESS [0.586s]

[INFO] WSO2 Carbon - OSGi Security ....................... SUCCESS [0.085s]

[INFO] WSO2 Carbon - Registry Server ..................... SUCCESS [0.413s]

[INFO] WSO2 Carbon - Feature Manager Aggregator Module ... SUCCESS [0.007s]

[INFO] WSO2 Carbon - Feature Manager Core ................ SUCCESS [0.491s]

[INFO] WSO2 Carbon - Server Role Manager Aggregator Module  SUCCESS [0.010s]

[INFO] WSO2 Carbon - Server-Roles Manager ................ SUCCESS [0.492s]

[INFO] WSO2 Carbon - Application Deployer ................ SUCCESS [0.528s]

[INFO] WSO2 Carbon - Appserver bridge .................... SUCCESS [0.282s]

[INFO] WSO2 Carbon - HTTP Bridge ......................... SUCCESS [0.378s]

[INFO] WSO2 Carbon - Servlet Bridge ...................... SUCCESS [0.055s]

[INFO] WSO2 Carbon - Core Common ......................... SUCCESS [0.266s]

[INFO] WSO2 Carbon - Default Authenticator Proxy ......... SUCCESS [0.302s]

[INFO] WSO2 Carbon - Services ............................ SUCCESS [0.535s]

[INFO] WSO2 Carbon - UI .................................. SUCCESS [2.322s]

[INFO] WSO2 Carbon - Standalone Server ................... SUCCESS [0.340s]

[INFO] WSO2 Carbon - Internationalization ................ SUCCESS [0.070s]

[INFO] WSO2 Carbon - Parent Menu ......................... SUCCESS [0.011s]

[INFO] WSO2 Carbon - Default tree menu structure ......... SUCCESS [0.076s]

[INFO] WSO2 Carbon - Registry tree menu structure ........ SUCCESS [0.057s]

[INFO] WSO2 Carbon - Governance tree menu structure ...... SUCCESS [0.075s]

[INFO] WSO2 Carbon - Tools tree menu structure ........... SUCCESS [0.058s]

[INFO] WSO2 Carbon - Server Administration Common ........ SUCCESS [0.244s]

[INFO] WSO2 Carbon - Server Administration ............... SUCCESS [0.528s]

[INFO] WSO2 Carbon - Server Administration UI ............ SUCCESS [0.230s]

[INFO] WSO2 Carbon - Cluster Management Core ............. SUCCESS [0.341s]

[INFO] WSO2 Carbon - Addressing .......................... SUCCESS [0.155s]

[INFO] WSO2 Carbon - Bootup Validator .................... SUCCESS [0.367s]

[INFO] WSO2 Carbon - Feature Manager Web Services ........ SUCCESS [0.358s]

[INFO] WSO2 Carbon - Feature Manager UI .................. SUCCESS [0.452s]

[INFO] WSO2 Carbon - P2 Touchpoint ....................... SUCCESS [0.559s]

[INFO] WSO2 Carbon - Server-Roles Manager UI ............. SUCCESS [0.332s]

[INFO] WSO2 Carbon - Coordination Common ................. SUCCESS [0.265s]

[INFO] WSO2 Carbon - Coordination Core ................... SUCCESS [0.466s]

[INFO] WSO2 Carbon - New Data Sources Core ............... SUCCESS [0.457s]

[INFO] WSO2 Carbon - Servlet Bridge ...................... SUCCESS [0.053s]

[INFO] WSO2 Carbon - Features Parent ..................... SUCCESS [0.007s]

[INFO] WSO2 Carbon - Carbon Common Feature ............... SUCCESS [3.101s]

[INFO] WSO2 Carbon - Carbon Server Feature ............... SUCCESS [0.596s]

[INFO] WSO2 Carbon - Carbon UI Feature ................... SUCCESS [0.319s]

[INFO] WSO2 Carbon - Carbon Runtime Feature .............. SUCCESS [0.527s]

[INFO] WSO2 Carbon - Carbon Feature ...................... SUCCESS [4.167s]

[INFO] WSO2 Carbon - Student Manager Server Component .... SUCCESS [0.881s]

[INFO] WSO2 Carbon - Student Manager UI .................. SUCCESS [2.156s]

[INFO] WSO2 Carbon - Student Manager Components .......... SUCCESS [0.030s]

[INFO] WSO2 Carbon - Student Manager Server Feature ...... SUCCESS [0.089s]

[INFO] WSO2 Carbon - Student Manager UI Feature .......... SUCCESS [0.290s]

[INFO] WSO2 Carbon - Student Manager Aggregate Feature ... SUCCESS [0.166s]

[INFO] WSO2 Carbon - Student Manager Features ............ SUCCESS [0.004s]

[INFO] WSO2 Carbon - Student Manager Feature Repository .. SUCCESS [1.634s]

[INFO] WSO2 Carbon - student Manager Sample .............. SUCCESS [0.004s]

[INFO] WSO2 Carbon - Samples ............................. SUCCESS [0.004s]

*[INFO] WSO2 Carbon Core - Distribution ................... FAILURE
[11.468s]*

[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: 1:32.525s

[INFO] Finished at: Mon Nov 10 17:22:12 IST 2014

[INFO] Final Memory: 81M/2177M

[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]

org.apache.maven.lifecycle.LifecycleExecutionException: 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

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: Cannot generate
P2 metadata

at
org.wso2.maven.p2.MaterializeProductMojo.execute(MaterializeProductMojo.java:89)

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.MaterializeProductMojo.deployRepository(MaterializeProductMojo.java:165)

at
org.wso2.maven.p2.MaterializeProductMojo.execute(MaterializeProductMojo.java:84)

... 21 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

[ERROR]

[ERROR] After correcting the problems, you can resume the build with the
command

[ERROR]   mvn <goals> -rf :wso2carbon-core




Thanks,
-- 
Thushara Kasun Ranawaka
Software Engineer
WSO2 Inc.; <http://www.wso2.com>
lean.enterprise.middleware
Mobile : *+94 (0) 773438949*
*thusha...@wso2.com <thusha...@wso2.com>*
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to