How to get all Maven plugins and their versions for a certain phase?

Do you know a way to list all Maven plugins (with their versions) that will run for a particular phase? This should include all plugins installed in all parents of the current project.

+4
source share
1 answer

One of the methods:

mvn help:effective-pom 

This will show you POM projects after interpolation and inheritance. It should be pretty easy to look at the assembly configuration and define customized plugins for the phase from there.

http://maven.apache.org/plugins/maven-help-plugin/effective-pom-mojo.html

+1
source

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


All Articles