[ 
https://issues.apache.org/jira/browse/CAMEL-8533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14379635#comment-14379635
 ] 

Thomas Diesler commented on CAMEL-8533:
---------------------------------------

We must not confuse compile/build time with runtime dependencies. At build time 
camel-ognl has dependencies on plain ognl, which in any execution environment 
except OSGi also become runtime dependencies. So in flat classpath env but also 
in a modular env camel-ognl must see the types from ognl.

In an OSGi environment there must be a bundle deployed that exports ognl types 
(i.e. the smx ognl bundle). The maven compile time dependency from camel-ognl 
to ognl does not mean (and should not cause) ognl to be deployed as a bundle. 
Whatever configures the OSGi runtime must deploy both the camel-ognl bundle and 
a bundle for ognl itself. This should however not leak into non-osgi 
environments.

The SMX OGNL bundle is OSGi specific and should not leak into non-osgi 
environments only because camel-ognl declares a maven compile time dependency 
on it.

> camel-ognl exposes servicemix ognl bundle
> -----------------------------------------
>
>                 Key: CAMEL-8533
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8533
>             Project: Camel
>          Issue Type: Task
>          Components: camel-ognl
>            Reporter: Thomas Diesler
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.15.1, 2.16.0
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to