You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Benson Margulies <bi...@gmail.com> on 2009/02/11 21:08:58 UTC

Bundle building

Could someone provide a gloss on the poms for the bundles? I'd like to
understand why we're using shade instead of just the bundle
Export-Dependency feature.

Re: Bundle building

Posted by Daniel Kulp <dk...@apache.org>.
On Wed February 11 2009 3:08:58 pm Benson Margulies wrote:
> Could someone provide a gloss on the poms for the bundles? I'd like to
> understand why we're using shade instead of just the bundle
> Export-Dependency feature.

For CXF to work, there are a bunch of files that needs to be "merged 
together", not just copied into the new jar.   For example, the file:
META-INF/spring.handlers

from all the jars need to be merged together into a single spring.handlers 
file so all the spring namespace handlers will get picked up.   spring.schemas 
has the same issue.

Also, for legal reasons, the NOTICE files need to be merged together as well. 

Shade has extension mechanisms that can be used to accomplish all of that.   
That's why we use it.

-- 
Daniel Kulp
dkulp@apache.org
http://www.dankulp.com/blog