Maven Magazine Registration

I implemented my own Maven plugin in which I used log4j + slf4j. In the plugin project, I turned on the correct banks and I see the correct logging of instructions from the code.

Now I want to use this new maven plugin in another client project, but I cannot get it to work correctly.

In the plugin itself, I have included log4j.properties in src / main / resources, which works fine as above. But when I try to include the plugin in another client project, the log file is not created.

The question is, what else do I need to try or do for this to work correctly? Thanks.

+4
source share
1 answer

log4j.properties src/main/resources.

Log4j log4j.properties , , .

, .

- Maven, , main() .

0

All Articles