Uploaded image for project: 'Maven Help Plugin'
  1. Maven Help Plugin
  2. MPH-168

effective pom should support multi-module project

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.2.0
    • Fix Version/s: None
    • Component/s: effective-pom
    • Labels:
      None

      Description

      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").

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              orshachar Or Shachar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: