Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Since CLIng, and/or making rootDirectory mandatory, all the CLI tools (mvn, mvnenc) we have so far produce WARNING about "root directory not found" (the standard message) when invoked from directory that cannot have root directory (like doing some CLI-only mojo from home directory, or invoking mvnenc).
This is wrong, as this message should be emitted by mvn only (tools like mvnenc are not likely to ever use this directory), and even then, ONLY when there is POM/project in context.
When I do mvn toolbox:gav-tree -Dgav=... from my home directory (mojo is direct invocation. does not need project) or just mvnenc init this warning is wrong.