Hi all;

There are number of features depend on other feature's server feature
module.
They use
<importFeatures> in the pom to refer those external dependency features.
-
eg: <importFeatures>


<importFeatureDef>org.wso2.carbon.security.mgt.server</importFeatureDef>
</importFeatures>

In such a case, in the product p2.profile pom, we use aggregated feature.
And product build fails with following error[1];

To overcome such issue;


   - If we include the *.server.feature as a separate entry in the product
   p2 profile, build is success. But i don't think it is necessary, since we
   use aggregated entry..
   - If we use,<includedFeatures> parameter in the particular feature pom,
   we can overcome this issue..

What is the right way to do this?


[1]Cannot complete the install because one or more required items could not
be found.
Installation failed. Software being installed: WSO2 Carbon - Service
Management Core Feature 4.2.0.SNAPSHOT
(org.wso2.carbon.service.mgt.server.featur
e.group 4.2.0.SNAPSHOT)

 Missing requirement: WSO2 Carbon - Module Management Core Feature
4.2.0.SNAPSHOT (org.wso2.carbon.module.mgt.server.feature.group
4.2.0.SNAPSHOT) req
uires 'org.wso2.carbon.core.server.feature.group [4.2.0.SNAPSHOT,4.3.0)'
but it could not be found
 Cannot satisfy dependency:
  From: WSO2 Carbon - Service Management Core Feature 4.2.0.SNAPSHOT
(org.wso2.carbon.service.mgt.server.feature.group 4.2.0.SNAPSHOT)
  To: org.wso2.carbon.module.mgt.server.feature.group [4.2.0.SNAPSHOT]
Application failed, log file location:
C:\Users\TOSH\m3-repo\repository\org\eclipse\tycho\tycho-p2-runtime\0.13.0\eclipse\configuration\1372150310931.
log

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

Thanks
-Ratha
mobile: (+94)755906608
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to