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

effective pom should support multi-module project

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.2.0
    • None
    • effective-pom
    • 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

        Issue Links

          Activity

            People

              mthmulders Maarten Mulders
              orshachar Or Shachar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: