[
https://issues.apache.org/jira/browse/CURATOR-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16185834#comment-16185834
]
ASF GitHub Bot commented on CURATOR-432:
----------------------------------------
Github user christopher-johnson commented on the issue:
https://github.com/apache/curator/pull/237
the framework imports the root org.curator.* but the client does not. Any
import dependency on the framework will fail.
> OSGI bundles should not import org.apache.curator
> -------------------------------------------------
>
> Key: CURATOR-432
> URL: https://issues.apache.org/jira/browse/CURATOR-432
> Project: Apache Curator
> Issue Type: Bug
> Reporter: Christopher Johnson
> Assignee: Jordan Zimmerman
> Priority: Minor
>
> Curator bundles will not deploy to an OSGI container like Karaf with an
> import requirement on a non-existent package. The problem is highlighted in
> the excerpt from the MANIFEST.MF below
> {code:java}
> Import-Package: com.google.common.base;version="[20.0,21)",com.google.
> common.collect;version="[20.0,21)",com.google.common.util.concurrent;
> version="[20.0,21)",*org.apache.curator;version="[4.0,5)"*,org.apache.c
> urator.framework;version="[4.0,5)",org.apache.curator.framework.api;v
> ersion="[4.0,5)",org.apache.curator.framework.api.transaction;version
> ="[4.0,5)",org.apache.curator.framework.imps;version="[4.0,5)",org.ap
> ache.curator.framework.listen;version="[4.0,5)",org.apache.curator.fr
> amework.state;version="[4.0,5)",org.apache.curator.retry;version="[4.
> 0,5)",org.apache.curator.utils;version="[4.0,5)",org.apache.zookeeper
> ;version="[3.5,4)",org.apache.zookeeper.data;version="[3.5,4)",org.sl
> f4j;version="[1.7,2)"
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)