Maven 2 & 3
  1. Maven 2 & 3
  2. MNG-542

Allow properties to inherit from other properties

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: 2.0-alpha-3
    • Fix Version/s: 3.x / Backlog
    • Component/s: Plugins and Lifecycle
    • Labels:
      None
    • Complexity:
      Expert
    • Number of attachments :
      0

      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
          Brett Porter added a comment -

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

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

          not required for correct operation of clover mojo

          Show
          Brett Porter added a comment - not required for correct operation of clover mojo
          Show
          Jason van Zyl added a comment - Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014
          Hide
          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
          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.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: