Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-1420

Emit warn in case the embedded launcher cannot be used

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • maven-verifier-1.8.0
    • None
    • maven-verifier
    • None

    Description

      Currently if some class loading exception happens while trying to initialize the embedded launcher it will transparent fall back to fork mode without emitting anything (https://github.com/apache/maven-verifier/blob/ef9d6fb01132b91998683268d51a75c9aca8e4b8/src/main/java/org/apache/maven/shared/verifier/Verifier.java#L1168). There should be at least a warning being emitted to clarify why the embedded launcher was not used.

      This is particularly an issue from within an IDE where mvn cannot be found in the PATH.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kwin Konrad Windszus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: