-
Notifications
You must be signed in to change notification settings - Fork 268
Description
I may have discovered a downstream challenge. The Maven Surefire plugin does not seem to be able to read the module using Maven 3.9.7, Java 11.0.23 and latest plugins:
[DEBUG] Forking command line: /bin/sh -c cd '/Users/martijnverburg/workspace/microsoft/Censum/censum-ui/censum-desktop' && '/Library/Java/JavaVirtualMachines/temurin-11.jdk/Contents/Home/bin/java' '@/Users/martijnverburg/workspace/microsoft/Censum/censum-ui/censum-desktop/target/surefire/surefireargs-20240529185813763_18' '/Users/martijnverburg/workspace/microsoft/Censum/censum-ui/censum-desktop/target/surefire' '2024-05-29T18-58-08_261-jvmRun1' 'surefire-20240529185813763_16tmp' 'surefire_5-20240529185813763_17tmp'
[DEBUG] Fork Channel [1] connected to the client.
[ERROR] Error occurred during initialization of boot layer
[ERROR] java.lang.module.FindException: Error reading module: /Users/martijnverburg/.m2/repository/org/hdrhistogram/HdrHistogram/2.2.1/HdrHistogram-2.2.1.jar
[DEBUG] Caused by: java.lang.module.InvalidModuleDescriptorException: Package org.HdrHistogram$packedarray not found in module
[DEBUG] Closing the fork 1 after not saying Good Bye.
I can confirm that /Users/martijnverburg/.m2/repository/org/hdrhistogram/HdrHistogram/2.2.1/HdrHistogram-2.2.1.jar is there and that it contains a file: META-INF/versions/9/module-info.class.
Originally posted by @karianna in #205 (comment)