maven-help-plugin
maven-help-plugin copied to clipboard
[MPH-168] effective pom should support multi-module project
Or Shachar opened MPH-168 and commented
I need to get effective pom of all modules in my multi-module project. Today this requires me to discover all modules manually and run effective pom on each of them.
For multi-module projects it would be great if I can run effective pom from top level and get an effective pom written to ${project.build.directory}/effective-pom.xml of each module.
Since effective-pom does not write to file by default maybe a reasonable usage would be to run:
mvn help:effective-pom -Doutput=target/effective.pom.xml
Maybe helpful: mvn dependency plugin lets you do it (with goals "list" or "collect").
Affects: 3.2.0
Remote Links: