Howdy Nils,

something similar was discussed here:
https://lists.apache.org/thread/274g9dqj812rzs31q2xmj8tms0kv7wvk

Yes, there was a change that seems to have made it a bit stricter than it
was before.

Michael?

HTH
Tamas

On Mon, Feb 6, 2023 at 1:27 PM Nils Breunese <n...@breun.nl> wrote:

> Hello,
>
> I saw that Maven 3.9.0 was just released (congrats!) and I tried upgrading
> my projects. Sadly they failed with this error message:
>
> ----
> Unable to parse maven.config file options: Unrecognised option: --settings
> .mvn/settings.xml
> ----
>
> My projects indeed have a .mvn/maven.config file which contains (amongst
> other options) '--settings .mvn/settings.xml’ for project-specific settings.
>
> When I remove that line from .mvn/maven.config and supply it on the
> command line (e.g. ./mvnw --settings .mvn/settings.xml) then it works fine,
> but I wonder why it doesn’t work when I put this option in
> .mvn/maven.config. Is this an intentional change in Maven 3.9.0, should I
> do this differently or is this maybe a bug?
>
> Nils.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to