unitsofmeasurement / indriya

JSR 385 - Reference Implementation
Other
118 stars 40 forks source link

2.0.5-SNAPSHOT module-info seems buggy?! #306

Closed keilw closed 3 years ago

keilw commented 3 years ago

For some reason the 2.0.5-SNAPSHOT no longer correctly exposes the module-info to other modules. Something went wrong, either with a plugin or different part, we may have to roll-back to 2.0.4 if the reason can't be found in the snapshot build.

Could be related to #301 although the 2.0.4 build works perfectly fine with all tested modules while 2.0.5-SNAPSHOT consistently fails with any JDK up to 14.

keilw commented 3 years ago

The problem was found, because the Felix Maven Bundle Plugin 5.1.1 erases the Automatic-Module-Name in the META-INF while previous versions up to 4.2.1 preserved it. Created https://issues.apache.org/jira/browse/FELIX-6336, will close this here.