Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
maven-verifier-1.8.0
-
None
-
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.