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.