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

Allow properties to inherit from other properties

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: 2.0-alpha-3
    • Fix Version/s: None
    • Component/s: Plugins and Lifecycle
    • Labels:
      None

      Description

      For example pom.build.outputDirectory (classes directory) should inherit from pom.build.directory. Same for all properties that are used to generate build data.

      Why? Becasue otherwise it's downright impossible to change the location of the target directory (pom.build.directory) as you don't know beforehand all the plugins that are part of the lifecycle and how many properties they each have and their name.

      For example in the clover plugin I need to set the target dir to another location so that main build data is not compromised. I can't do it as I can't controll all the properties that could possibly exist. I'd just like to set the pom.build.directory to a new value and be done with it.

        Issue Links

          Activity

          Hide
          jvanzyl Jason van Zyl added a comment -

          Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.

          Show
          jvanzyl Jason van Zyl added a comment - Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.
          Show
          jvanzyl Jason van Zyl added a comment - Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014
          Hide
          brettporter Brett Porter added a comment -

          not required for correct operation of clover mojo

          Show
          brettporter Brett Porter added a comment - not required for correct operation of clover mojo
          Hide
          brettporter Brett Porter added a comment -

          I'm not sure what the correct solution here is just yet, but it requires investigation

          Show
          brettporter Brett Porter added a comment - I'm not sure what the correct solution here is just yet, but it requires investigation

            People

            • Assignee:
              Unassigned
              Reporter:
              vmassol Vincent Massol
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development