apache / apache/curator

[CURATOR-432] OSGI bundles should not import org.apache.curator

Open
#952 5 comments 0 reactions 0 assignees View on GitHub
bug imported-jira-issue
Dominant language
Java
Stars
3.2k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

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


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

---
Originally reported by christopher-johnson, imported from: OSGI bundles should not import org.apache.curator


  • assignee: randgalt
  • status: Open
  • priority: Minor
  • resolution: Unresolved
  • imported: 2025-01-21

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.