gnodet opened a new pull request, #13511:
URL: https://github.com/apache/maven/pull/13511

   Backport of #13269 to `maven-3.10.x`.
   
   Adapted for 3.10.x (uses `MavenCli` instead of `MavenInvoker`/`BaseParser`):
   
   - Print usage (same output as `mvn -h`) and exit 0 when `mvn` is invoked 
with no arguments and no POM is found (via `MavenCli.commands()`)
   - Clean up -f/--file missing-file error: remove `exit 1` from shell scripts; 
the Java layer validates and produces proper error messages
   - Fix mvn.cmd -f/--file error messages: add [ERROR] prefix for consistency
   - Catch IllegalArgumentException in ProjectModelResolver and wrap as 
UnresolvableModelException
   - Add tests for wrong range format (e.g. `[1:2)`) in ProjectModelResolver


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to