[Commented] (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

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

Konrad Windszus (Jira)

    [ 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