You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Or Shachar (Jira)" <ji...@apache.org> on 2020/05/23 09:30:00 UTC

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

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)