Maven
  1. Maven
  2. MNG-542

Allow properties to inherit from other properties

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major 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

          Vincent Massol created issue -
          Vincent Massol made changes -
          Field Original Value New Value
          Link This issue is related to MNG-526 [ MNG-526 ]
          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
          Brett Porter made changes -
          Fix Version/s 2.0-beta-1 [ 11040 ]
          Environment
          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.

          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.

          Brett Porter made changes -
          Priority Major [ 3 ] Blocker [ 1 ]
          Brett Porter made changes -
          Assignee Brett Porter [ brettporter ]
          Brett Porter made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Brett Porter made changes -
          Status In Progress [ 3 ] Open [ 1 ]
          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
          Brett Porter made changes -
          Priority Blocker [ 1 ] Major [ 3 ]
          Vincent Massol made changes -
          Workflow jira [ 35502 ] Maven [ 37155 ]
          John Casey made changes -
          Assignee Brett Porter [ brettporter ] John Casey [ jdcasey ]
          John Casey made changes -
          Remaining Estimate 6h [ 21600 ]
          Original Estimate 6h [ 21600 ]
          Brett Porter made changes -
          Fix Version/s 2.0-beta-2 [ 11861 ]
          Fix Version/s 2.0-beta-1 [ 11040 ]
          Brett Porter made changes -
          Assignee John Casey [ jdcasey ]
          Fix Version/s 2.1-beta-1 [ 11704 ]
          Complexity Expert
          Remaining Estimate 6h [ 21600 ]
          Original Estimate 6h [ 21600 ]
          Fix Version/s 2.0-beta-2 [ 11861 ]
          Vincent Massol made changes -
          Link This issue is related to MNG-1362 [ MNG-1362 ]
          Vincent Massol made changes -
          Workflow Maven [ 37155 ] Maven New [ 48090 ]
          Jason van Zyl made changes -
          Fix Version/s 2.1 [ 11704 ]
          Fix Version/s 2.1.x [ 13142 ]
          Brett Porter made changes -
          Fix Version/s 2.1 [ 13142 ]
          Fix Version/s 2.x [ 13145 ]
          Jason van Zyl made changes -
          Issue Type Wish [ 5 ] New Feature [ 2 ]
          Brett Porter made changes -
          Fix Version/s 3.x [ 13145 ]
          Fix Version/s Backlog [ 16138 ]
          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.
          Jason van Zyl made changes -
          Resolution Incomplete [ 4 ]
          Status Open [ 1 ] Closed [ 6 ]
          Michael Osipov made changes -
          Fix Version/s 3.x / Backlog [ 16138 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 08:49:45 UTC 2015 [ 1428223785911 ]
          Mark Thomas made changes -
          Workflow jira [ 12711866 ] Default workflow, editable Closed status [ 12751837 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 21:45:26 UTC 2015 [ 1428270326204 ]
          Mark Thomas made changes -
          Workflow jira [ 12950103 ] Default workflow, editable Closed status [ 12986309 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open In Progress In Progress
          19d 23h 37m 1 Brett Porter 20/Jul/05 03:29
          In Progress In Progress Open Open
          2h 7m 1 Brett Porter 20/Jul/05 05:36
          Open Open Closed Closed
          3108d 15h 55m 1 Jason van Zyl 22/Jan/14 20:32

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development