Hi all, I'm using the org.osgi.framework.wiring in a carbon component and the following error occurs when I try to build.
Cannot complete the install because one or more required items could not be found. Software being installed: WSO2 Carbon Kernel - Carbon Server Feature 5.0.0.SNAPSHOT (org.wso2.carbon.core.server.feature.group 5.0.0.SNAPSHOT) Missing requirement: WSO2 Carbon Kernel - Patching 5.0.0.SNAPSHOT (org.wso2.carbon.patching 5.0.0.SNAPSHOT) requires '*package org.osgi.framework.wiring [1.7.0,1.8.0)*' but it could not be found Cannot satisfy dependency: From: WSO2 Carbon Kernel - Carbon Server Feature 5.0.0.SNAPSHOT (org.wso2.carbon.core.server.feature.group 5.0.0.SNAPSHOT) To: org.wso2.carbon.patching [5.0.0.SNAPSHOT] Application failed, log file location: /home/aruna/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1399013930201.log [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] WSO2 Carbon Kernel - Parent Pom ................... SUCCESS [0.120s] [INFO] WSO2 Carbon Kernel - Dependent Projects ........... SUCCESS [0.006s] [INFO] WSO2 Carbon Kernel - Maven P2 Profile Gen Plugin .. SUCCESS [2.329s] [INFO] WSO2 Carbon Kernel - Launcher ..................... SUCCESS [1.418s] [INFO] WSO2 Carbon Kernel - Configuration and Context Model SUCCESS [0.782s] [INFO] WSO2 Carbon Kernel - Server Configuration ......... SUCCESS [1.053s] [INFO] WSO2 Carbon Kernel - Utils ........................ SUCCESS [0.206s] [INFO] WSO2 Carbon Kernel - Deployment Engine ............ SUCCESS [0.824s] [INFO] WSO2 Carbon Kernel - Samples / Hello World Bundle . SUCCESS [0.173s] [INFO] WSO2 Carbon Kernel - Samples / Webapp Bundle ...... SUCCESS [0.216s] [INFO] WSO2 Carbon Kernel - Runtime Manager .............. SUCCESS [0.650s] [INFO] WSO2 Carbon Kernel - Clustering ................... SUCCESS [37.122s] [INFO] WSO2 Carbon Kernel - Transport .................... SUCCESS [0.224s] [INFO] WSO2 Carbon Kernel - Extensions ................... SUCCESS [0.166s] [INFO] WSO2 Carbon Kernel - Patching ..................... SUCCESS [0.205s] [INFO] WSO2 Carbon Kernel - Features Parent .............. SUCCESS [0.004s] [INFO] WSO2 Carbon Kernel - Carbon Server Feature ........ SUCCESS [0.268s] [INFO] WSO2 Carbon Kernel - Carbon Runtime Feature ....... SUCCESS [0.235s] [INFO] WSO2 Carbon Kernel - Distribution ................. FAILURE [7.823s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 54.513s [INFO] Finished at: Fri May 02 12:28:51 IST 2014 [INFO] Final Memory: 55M/982M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.wso2.maven:carbon-p2-plugin:1.5.4-SNAPSHOT:p2-profile-gen (feature-installation) on project wso2carbon-kernel: 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 [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :wso2carbon-kernel Following is the Import-Package of the pom.xml file, of the component. <Import-Package> org.slf4j.*;version="${slf4j.logging.import.version.range}", org.osgi.framework.*;version="${osgi.framework.import.version.range}", *org.osgi.framework.wiring.*;version="[1.1.0, 1.2.0)",* org.wso2.carbon.utils.*;version="${carbon.kernel.package.import.version.range}", javax.xml.bind.*;version="${osgi.framework.packages.import.version.range}", javax.xml.validation.*;version="${osgi.framework.packages.import.version.range}", javax.xml.transform.*;version="${osgi.framework.packages.import.version.range}", </Import-Package> What may be the cause for the above error?.. Any help is highly appreciated. Regards, -- *Aruna Sujith Karunarathna* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: [email protected] | Web: www.wso2.com
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
