Apache Tomcat uses bnd 6.2.0 to generate various data for the JARs produced by the build. Once of those is the module-info.class file.
Testing has shown that the the module-info.class file is not generated in a repeatable manner. I have observed differences in the ordering of the provided capabilities when building on different systems.
I think the issue is at line 456 of JPMSModuleInfoPlugin.java. groupingBy uses a HashMap by default. Changing that to a LinkedHashMap appears to fix this issue.
The text was updated successfully, but these errors were encountered:
Many thanks for the fix. As I suspected, the full fix was rather more complex than the one line patch I was using. I'll test with the latest snapshot and let you know the results.
Apache Tomcat uses bnd 6.2.0 to generate various data for the JARs produced by the build. Once of those is the module-info.class file.
Testing has shown that the the module-info.class file is not generated in a repeatable manner. I have observed differences in the ordering of the provided capabilities when building on different systems.
I think the issue is at line 456 of JPMSModuleInfoPlugin.java.
groupingByuses a HashMap by default. Changing that to aLinkedHashMapappears to fix this issue.The text was updated successfully, but these errors were encountered: