[ 
https://issues.apache.org/jira/browse/ODE-705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12780250#action_12780250
 ] 

Greg Lucas commented on ODE-705:
--------------------------------

This initial patch does not create a particularly OSGi-friendly bundle because 
of all the embedded dependencies. I'm working on having those wired by the 
container instead and will provide additional patches to that effect. 

However, ODE uses many older versions of libraries for which OSGi bundles are 
not available so this will mean updating versions (and testing for regressions, 
etc). In particular it would be useful to move to released versions of openjpa, 
saxon, and xalan. Where necessary we can create new bundles at servicemix for 
libraries that are not available as bundles yet but it'll be better to try and 
move to bundles already provided by smx or available from e.g. springsource. 

The OSGi manifest (as produced by bnd) currently has a lot of optional imports. 
This is also because of the embedded jars: bnd is adding imports for all the 
transitive dependencies, most of which are not actually needed at runtime. The 
manifest will be much more accurate once we start externalizing those 
dependencies. 

Another thing I'm looking at is creating separate bundles for the component and 
the DAO implementations for more modular deployment. 

> Provide OSGi packaging and Karaf feature descriptor for deployment to 
> ServiceMix 4.1
> ------------------------------------------------------------------------------------
>
>                 Key: ODE-705
>                 URL: https://issues.apache.org/jira/browse/ODE-705
>             Project: ODE
>          Issue Type: New Feature
>    Affects Versions: 1.3.4
>            Reporter: Greg Lucas
>         Attachments: jbi-karaf.patch
>
>
> ServiceMix 4.1 supports OSGi bundle deployment for JBI components and the use 
> of feature descriptors to deploy a set of related bundles. The ODE JBI 
> component should be packaged so that it can be easily deployed to a 
> ServiceMix 4.1 container from a maven repo using the feature install 
> mechanism. 
> We've done some initial work in this area already and I'd like to consider 
> having the 1.x ODE component available as an optional feature in ServiceMix 
> 4.1 by default. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to