Generally you want to propagate the mojo logger to have consistent logs but worse case we should promote mojo logging api as injectable at injection points if needed, avoids all the mess you can get in mojo with loggers to respect that rule of dumb IMHO.
Le dim. 17 janv. 2021 à 22:48, Slawomir Jaranowski <[email protected]> a écrit : > Hi, > > We can use the JSR-330 component for developing maven plugins - > https://maven.apache.org/maven-jsr330.html > > There is not clear how to access logging api from JSR-330 component. As I > found out last time, maven plugins should not directly use slf4j-api, so > what is recommended in this case. > > -- > Sławomir Jaranowski >
