maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cleuton Sampaio <>
Subject Re: Maven Plugin Logging
Date Fri, 03 Jan 2014 16:02:12 GMT
Did you based your mojo on class AbstractMojo ?  If you did, then you should use the getLog()
method. See:

Cleuton Sampaio

> Em 03/01/2014, às 07:44, "Omar@Gmail" <> escreveu:
> Hi All,
> I implemented my own Maven plugin mojo in which I used log4j + slf4j. In
> the plugin project I have included the correct jars and can see correct
> logging of statements from code.
> Now I want use this new maven plugin in another client project but having
> trouble getting it to work correctly.
> In the plugin itself I have included a under
> src/main/resources which works fine as mentioned above. But when I try to
> include the plugin in another client project the log file is not being
> created.
> The question is what else do I have to try or do to get this working
> correctly?
> Thank you.
> Omar

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message