We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff48092 commit 62e31daCopy full SHA for 62e31da
1 file changed
spi-subtypes/pom.xml
@@ -59,6 +59,18 @@
59
<groupId>org.apache.maven.plugins</groupId>
60
<artifactId>maven-compiler-plugin</artifactId>
61
</plugin>
62
+ <!-- 19-Jan-2026: Tests must run on classpath (not module path)
63
+ because ServiceLoader.load() requires caller module to
64
+ declare 'uses' for each service type, which isn't possible
65
+ when service types are determined dynamically at runtime.
66
+ -->
67
+ <plugin>
68
+ <groupId>org.apache.maven.plugins</groupId>
69
+ <artifactId>maven-surefire-plugin</artifactId>
70
+ <configuration>
71
+ <useModulePath>false</useModulePath>
72
+ </configuration>
73
+ </plugin>
74
</plugins>
75
</build>
76
</project>
0 commit comments