bnd icon indicating copy to clipboard operation
bnd copied to clipboard

Calculate moduleName for multi-release-jar-dependencies

Open stbischof opened this issue 1 year ago • 2 comments

When calculating the module-names of dependencies while using the jpms modul-info generator, bnd failed to get the name when the dependency-jar is a multi-release jar with no module-info in the root folder but in the META-INF/versions/9 folder.

https://github.com/bndtools/bnd/blob/53d15f2285114e224d85638459580382c91cb0bc/biz.aQute.bndlib/src/aQute/bnd/osgi/Jar.java#L476

ref: #2227

stbischof avatar Jul 25 '22 16:07 stbischof

@stbischof I'll try to take a look a good example where this occurs seems

  • https://github.com/ClickHouse/clickhouse-jdbc/tree/master/clickhouse-client/

laeubi avatar Jul 25 '22 16:07 laeubi

Bnd does not yet have multi release jar support. There is an open issue on that.

bjhargrave avatar Jul 25 '22 22:07 bjhargrave

Combined with #5346

pkriens avatar Feb 23 '23 11:02 pkriens