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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Konrad Windszus (Jira)
Or Shachar created MPH-168:
------------------------------

             Summary: effective pom should support multi-module project
                 Key: MPH-168
                 URL: https://issues.apache.org/jira/browse/MPH-168
             Project: Maven Help Plugin
          Issue Type: Improvement
          Components: effective-pom
    Affects Versions: 3.2.0
            Reporter: Or Shachar


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:
{code:java}
mvn help:effective-pom -Doutput=target/effective.pom.xml{code}
 

Maybe helpful: mvn dependency plugin lets you do it (with goals "list" or "collect").

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)