Le lun. 25 nov. 2024 à 14:41, Martin Desruisseaux <
martin.desruisse...@geomatys.com> a écrit :

> Le 2024-11-25 à 13 h 23, Guillaume Nodet a écrit :
>
> > Yes, the model can now evolve much more easily than with Maven 3,
> > that's one of the main benefits of Maven 4. You should create a PR for
> > these changes, eventually in draft mode if it's not ready yet.
> >
> Thanks, done in draft mode: https://github.com/apache/maven/pull/1936
>
> One more topic (a "would be nice", not critical): I was thinking to
> propose the replacement of `org.apache.maven.api.plugin.Log` interface
> by the `System.Logger` interface, since both are equivalent. The latter
> is a supported API by Java standard, and its advantage would be to allow
> logging frameworks to detect correctly who emitted the log record. It
> would have no immediate advantage for Maven, but I thought that a future
> task may be to improve user's experience regarding Maven logging (make
> them less verbose, easier to read, more informative when needed). So the
> Log interface replacement would not be needed now, but I mention it
> because if such change was made, it would be an incompatible Maven 4.0.0
> core API change. Or would it be a change candidate for Maven 5?
>

The Maven 4 API is still flagged as experimental.  I think we need to keep
it that way for 4.x so that plugins and extensions can start migrating to
this new API and report any missing feature.  I think there will be some,
one of the reasons is that the model is now immutable, so that plugins that
were modifying the model directly will need some official entry points in
the API to do so, and we have very limited opening right now.

I don't want to hijack the thread too much here, so we can discuss logging
details in a different thread...

Guillaume


>
>      Martin
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>

-- 
------------------------
Guillaume Nodet

Reply via email to