Konrad Windszus created MSHARED-1420:
----------------------------------------

             Summary: Emit warn in case the embedded launcher cannot be used
                 Key: MSHARED-1420
                 URL: https://issues.apache.org/jira/browse/MSHARED-1420
             Project: Maven Shared Components
          Issue Type: Improvement
          Components: maven-verifier
    Affects Versions: maven-verifier-1.8.0
            Reporter: Konrad Windszus


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to