You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2020/05/23 09:34:00 UTC
[jira] [Commented] (MPH-168) effective pom should support
multi-module project
[ https://issues.apache.org/jira/browse/MPH-168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17114632#comment-17114632 ]
Michael Osipov commented on MPH-168:
------------------------------------
Shalom Or, have you considered to look at the code and provide a PR?
> 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
> Priority: Major
>
> 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)