[Java] Missing Constraint: Require-Bundle for classes in common.jar
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- java
- Domain
- build-system
Research direction
Inspect the manifest in common-2.0.2.jar and compare it with the OSGi requirements reported when launching the Eclipse Application configuration. Start by checking how the org.apache.tsfile bundle is built and packaged with Maven. Done means the published bundle provides the required org.apache.tsfile.enums, org.apache.tsfile.block, and org.apache.tsfile.block.column constraints without manually wrapped jars.
Written by the indexing model from the issue text.
Description
I tried to use TsFile in an Eclipse RCP application using Java 17 and Maven 3.9.9. However, some constraints in the org.apache.tsfile (2.0.2) bundle are missing when launching the “Eclipse Application” run configuration:
Missing constraint: Require-Bundle org.apache.tsfile.enums ; bundle-version="0.0.0 ”
Missing constraint: Require-Bundle org.apache.tsfile.block ; bundle-version="0.0.0 ”
Missing constraint: Require-Bundle org.apache.tsfile.block.column ; bundle-version="0.0.0 ”
This seems to be due to a lack of OSGi definitions in the common-2.0.2.jar manifest.
One workaround is to create a plugin to wrap the two .jar files and re-export everything, but this means having to download and manage the jars manually, which isn't ideal.
- Dominant language
- Java
- Stars
- 203
- Forks
- 104
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 30
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/tsfile
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
c++ enhancement feature help wanted performance
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
C feature go help wanted
Difficulty 5/5 Over a week Newbie friendliness 30/100
-
C c++ feature help wanted
-
enhancement help wanted
Difficulty 5/5 Over a week Newbie friendliness 35/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100