Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-1497

Flag to select modulepath or classpath

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.21.0
    • None
    • None

    Description

      SUREFIRE-1262 added the ability to run tests using the modulepath, which is great. However, as a library developer I cannot guarantee that the code will be run on the modulepath, it might well be run on the classpath.

      As such, can I request a flag that turns the behaviour in SUREFIRE-1262 on and off? This would allow a single pom.xml to run surefire twice, once with the code on the modulepath and once with the code on the classpath, to ensure that the behaviour always works however the code is run. (Other solutions to achieve the same goal may be possible, but this seems the most obvious).

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tibordigana Tibor Digana
            scolebourne@joda.org Stephen Colebourne
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment