Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-7019

[Not an Issue] Remove Junit Jupiter from module path (JPMS)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 10.0.0-M1
    • None
    • wicket-core
    • 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

          Activity

            People

              Unassigned Unassigned
              hobrom Andi Huber
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: