Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6748

Aggregate pom to set properties for all modules

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      It would be nice to be able to pass properties from an aggregate pom to module poms during a build.

      Example: A project with 2 modules with different parent poms from the aggregate and want to share a version of a common dependency. The dependency is not available from the parent perspective. Each module would have to have a full GAV for a dependency, but could share the version so they will match.

       

      Proposed Solution: Any property given in the aggregate pom would be available (and overwrite matching child module properties) to the child modules during build process.

       

      Another example with similar expectations.

      Attachments

        Activity

          People

            Unassigned Unassigned
            snappy88 Allyn Tobey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: