Hi, I am trying to install the following feature on wso2carbon-4.2.0 by following [1]
<feature> <id>org.wso2.carbon.tryit.feature.group</id> <version>4.2.0</version> </feature> At the build time i am getting the following exception. INFO] ------------------------------------------------------------------------ [INFO] Building Creating custom distribution 1.0.0 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ sample-feature-installation --- [INFO] [INFO] --- carbon-p2-plugin:1.5.3:p2-profile-gen (feature-install) @ sample-feature-installation --- [INFO] Running Equinox P2 Director Application [INFO] Command line: /bin/sh -c cd /Users/irham/workspace/products/carbon/carbon && /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -jar /Users/irham/.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:p2-repo -artifactRepository file:p2-repo -profileProperties org.eclipse.update.install.features=true -installIU org.wso2.carbon.tryit.feature.group/4.2.0, -bundlepool wso2carbon-4.2.0/repository/components -shared wso2carbon-4.2.0/repository/components/p2 -destination wso2carbon-4.2.0/repository/components/WSO2CarbonProfile -profile WSO2CarbonProfile -roaming Installing org.wso2.carbon.tryit.feature.group 4.2.0. Installation failed. Cannot complete the install because one or more required items could not be found. Software being installed: WSO2 Carbon - Tryit Feature 4.2.0 (org.wso2.carbon.tryit.feature.group 4.2.0) Missing requirement: WSO2 Carbon Orbit - H2 Osgi Console Service 1.2.140.wso2v3 (h2-database-engine 1.2.140.wso2v3) requires 'package javax.naming 0.0.0' but it could not be found Cannot satisfy dependency: From: WSO2 Carbon - Carbon Common Feature 4.2.0 (org.wso2.carbon.core.common.feature.group 4.2.0) To: h2-database-engine [1.2.140.wso2v3] Cannot satisfy dependency: From: WSO2 Carbon - Carbon Feature 4.2.0 (org.wso2.carbon.core.feature.group 4.2.0) To: org.wso2.carbon.core.common.feature.group [4.2.0] Cannot satisfy dependency: From: WSO2 Carbon - Tryit Feature 4.2.0 (org.wso2.carbon.tryit.feature.group 4.2.0) To: org.wso2.carbon.core.feature.group [4.2.0,4.3.0) Application failed, log file location: /Users/irham/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1414149935844.log [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.737s [INFO] Finished at: Fri Oct 24 16:55:38 IST 2014 [INFO] Final Memory: 8M/1132M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.wso2.maven:carbon-p2-plugin:1.5.3:p2-profile-gen (feature-install) on project sample-feature-installation: 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 Please advice to proceed from here. [1] https://docs.wso2.com/display/Carbon420/Installing+Features+using+pom+Files. Thanks, Iqbal -- Irham Iqbal Software Engineer - Test Automation WSO2, Inc.: http://wso2.com lean. enterprise. middleware phone: +94 777888452
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev