maven-help-plugin icon indicating copy to clipboard operation
maven-help-plugin copied to clipboard

[MPH-168] effective pom should support multi-module project

Open jira-importer opened this issue 5 years ago • 1 comments

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:

jira-importer avatar May 23 '20 09:05 jira-importer

Michael Osipov commented

Shalom Or, have you considered to look at the code and provide a PR?

jira-importer avatar May 23 '20 09:05 jira-importer