Hi All,

The org.wso2.carbon.apimgt.impl has defined the
  org.wso2.carbon.apimgt.impl.internal package as a Private-Package [1] but
there are some usage inside the other bundles.

org.wso2.carbon.apimgt.hostobjects,
org.wso2.carbon.apimgt.usage,
org.wso2.carbon.apimgt.keymgt ..etc

<Private-Package>
  *  org.wso2.carbon.apimgt.impl.internal*
</Private-Package>
<Export-Package>
 *!org.wso2.carbon.apimgt.impl.internal.APIManagerComponent,*
 org.wso2.carbon.apimgt.impl.*,
</Export-Package>

We are getting following build failure due to the above wrong usage. And
why do we have export(not -!) *class* instead of package ?

[1]
https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/apimgt/org.wso2.carbon.apimgt.impl/1.2.2/pom.xml

Installation failed.
Cannot complete the install because one or more required items could not be
found.
 Software being installed: WSO2 Carbon - API Store Feature 4.3.0.SNAPSHOT
(org.wso2.carbon.apimgt.store.feature.group 4.3.0.SNAPSHOT)
 Missing requirement: org.wso2.carbon.apimgt.hostobjects 4.3.0.SNAPSHOT
(org.wso2.carbon.apimgt.hostobjects 4.3.0.SNAPSHOT) requires 'package
org.wso2.carbon.apimgt.impl.internal 0.0.0' but it could not be found
 Cannot satisfy dependency:
  From: WSO2 Carbon - API Store Feature 4.3.0.SNAPSHOT
(org.wso2.carbon.apimgt.store.feature.group 4.3.0.SNAPSHOT)
  To: org.wso2.carbon.apimgt.hostobjects [4.3.0.SNAPSHOT]
Application failed, log file location:
/home/ajith/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1398770292994.log

-- 
Ajith Vitharana.
WSO2 Inc. - http://wso2.org
Email  :  [email protected]
Mobile : +94772217350
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to