All, 



Recently I've been struggling with the issue of my packages importing what they 
export, and receiving unresolved constraint violations.  



Currently, using the maven-bundle-plugin, I am using the default behavior of 
the <Import-Package> and <Export-Package> tags.  This results in (among other 
things), the Import-Package portion of my MANIFEST.MF file containing all 
packages exported in the Export-Package section.  



To fix this, I have been using 
<Export-Package>*;-noimport:=true</Export-Package>.  



When explaining this in the IRC channel for #karaf, I was told that bundles 
shouldn't be importing thier own packages.  If this is true, should the default 
behavior of <Export-Package> be changed to -noimport:=true?  





v/r, 



Mike Van 

Reply via email to