Hi All,

When I want to expose only the interface (eg: package is org.wso2.carbon.
abc) and keep it's implementation (eg: package is
org.wso2.carbon.abc.internal) as private, the Export package in pom.xml is
as follows

<Export-Package>
    !org.wso2.carbon.abc.internal,
    org.wso2.carbon.abc.*
</Export-Package>

Since I have included the package which is private with the negation
(!) as shown above do I need to include the private package as well as
shown below?

<Private-Package>org.wso2.carbon.abc.internal.*</Private-Package>

Thanks,

Sohani Weerasinghe
Software Engineer
WSO2, Inc: http://wso2.com

Mobile  : +94 716439774
Blog     :http://christinetechtips.blogspot.com/
Twitter  : https://twitter.com/sohanichristine
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to