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

Module path is used without modules being declared by the project

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 3.0.0-M5
    • Fix Version/s: None
    • Component/s: Maven Surefire Plugin
    • Labels:

      Description

      https://github.com/junit-team/junit5/issues/2377

      @rmannibucau analyzed the underlying issue. It's within SF/FS usage of a feature Plexus, namely `org.codehaus.plexus.languages.java.jpms.LocationManager#resolvePath(java.nio.file.Path, org.codehaus.plexus.languages.java.jpms.ModuleNameExtractor)`.

      > this impl resolves the jpms name even from automatic name or even jar file name
      > then surefire uses the fact there is a name to know if it is a jpms module
      > actually you never know upfront if a jar is used as a jpms module or not

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tibordigana Tibor Digana
                Reporter:
                sor Christian Stein
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: