Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
10.0.0-M1
-
None
-
None
Description
With Wicket Core's WicketTester on the module path, consuming projects that also use JPMS are forced to change their junit-jupiter-engine dependency scopes from 'test' to 'compile' (Maven speak.) Which in our case does break corresponding surefire tests no matter what.
So the desired solution would be to split out WicketTester from wicket-core into wicket-core-tester say and don't put that artifact on the module path, use an automated module name instead.
As a proof of concept, I forked off on Wicket 10.0.0-M1-SNAPSHOT, kept everything on the module path as is, just removing Jupiter, hence had to split out WicketTester into its own artifact. And also split up wicket-util into 2 artifacts. But thats it.
For reference the fork can be found here https://github.com/apache-causeway-committers/wicket. (Its stripped off the artifacts we don't care about. So not a merge candidate, but to show it can be done.)
Attachments
Issue Links
- is related to
-
WICKET-7072 JUnit code in /src/main/java breaks JPMS support in Eclipse IDE
- Resolved