Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
3.9.0
-
None
-
None
-
None
-
Maven 3.9.0
Ubuntu 20.04.5 LTS
Bash shell
Description
Prior to Maven 3.9.0, the .mvn/maven.config file supported multiple flags on the same line. As of Maven 3.9.0 the flags must be on separate lines. I assume that this is an unintentional regression.
To reproduce, run:
git clone git@github.com:PicnicSupermarket/error-prone-support.git cd error-prone-support git checkout d1f513373fffe21fa463a9d6978cdfa8940e1ce4 mvn -version
With Maven 3.8.7 the mvn -version command completes successfully. With Maven 3.9.0 it fails with:
Unable to parse maven.config file options: Unrecognized option: --batch-mode --errors --strict-checksums
Attachments
Issue Links
- is caused by
-
MNG-7131 maven.config doesn't handle arguments with spaces in them
- Closed
- links to