cstamas opened a new pull request #565:
URL: https://github.com/apache/maven/pull/565
This is a DRAFT to boost some discussion about Mojo
logging. I believe Maven should not get in a way to
Maven Plugin developers, but we still can offer
some "convenience" helpers and make things right
(like for example logging in ctor of Mojo).
IMHO, we have 3 log-related use cases:
* trivial to simple Maven Plugins (from one mojo plugin to more mojos +
several "own"
components plugins): here developer can easily choose (and usually choose
Mojo Log)
to do the job. Maven is helping here.
* complex Maven plugins: plugins pulling in "foreign"
frameworks/components/whatever,
here logging is usually "given", but as Mojo class loader is "self first",
it is really
easy for developer to decide (and implement) which logging it wants (or
must) to
use, Maven should not interfere.
One thing IMHO remains, to make Mojo Log interface more "slf4j
Logger"-lookalike.
--
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]