camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine DESSAIGNE (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-8533) camel-ognl exposes servicemix ognl bundle
Date Mon, 23 Mar 2015 17:01:11 GMT

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

Antoine DESSAIGNE commented on CAMEL-8533:
------------------------------------------

Yes, but you can use camel in an OSGi platform without karaf.

In that case, since the {{ognl}} jar has no OSGi metadata, it won't work. You will need to
do the following in your {{pom.xml}}
{code:xml}
        <dependency>
            <groupId>org.apache.camel</groupId>
            <artifactId>camel-ognl</artifactId>
            <version>${camel.version}</version>
            <exclusions>
                <!-- Not an OSGi bundle, see OSGified version below -->
                <exclusion>
                    <groupId>ognl</groupId>
                    <artifactId>ognl</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>org.apache.servicemix.bundles</groupId>
            <artifactId>org.apache.servicemix.bundles.ognl</artifactId>
            <version>3.0.8_1</version>
        </dependency>
{code}

Thus, I was wondering why it's not possible to directly use the repackaged version ?

> 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)

Mime
View raw message