Maven: debug mode for only one plugin

Is there a way to enable Maven debugging mode (-X) to get debugging information related only to the specific execution of the maven plugin?
Debug information for all maven steps is too large to store and parse.

+5
source share
1 answer

You can configure logging on the command line using the information provided here:

Here is an example of setting the logging level to info for help only:

 mvn help:evaluate -Dexpression=project.version -q -Dorg.slf4j.simpleLogger.log.org.apache.maven.plugins.help=info 

Hope this helps.

+1
source

Source: https://habr.com/ru/post/1205352/


All Articles