Maven
  1. Maven
  2. MNG-1567

improvements to complex mojo configuration

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Plugins and Lifecycle
    • Labels:
      None

      Description

      currently, you can specify an object in the configuration that allows nesting multiple levels of config. This is helpful, but it would be good to be able to validate those portions of the configuration as well as set default values, and make them extendable by making them fully fledged configured component requirements.

      basically:

      • be able to specify expressions and default values within the fields of the object, not just the top mojo, as long as it is in the same source tree as the mojo (like extends)
      • to be able to put a polymorphic object in there without an implementation given in the pom. This might require selectors, and so might be best left until a later version (se elinked issue for a use case)

      I haven't tried, but it might already be possible to do this (from components.xml), and we just need to wire up the tools to handle it.

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Closed Closed
          2990d 22h 18m 1 Jason van Zyl 22/Jan/14 20:31
          Mark Thomas made changes -
          Workflow jira [ 12952906 ] Default workflow, editable Closed status [ 12990394 ]
          Mark Thomas made changes -
          Link This issue relates to MCOMPILER-16 [ MCOMPILER-16 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 21:45:26 UTC 2015 [ 1428270326204 ]
          Mark Thomas made changes -
          Workflow jira [ 12712474 ] Default workflow, editable Closed status [ 12755472 ]
          Mark Thomas made changes -
          Link This issue relates to MCOMPILER-16 [ MCOMPILER-16 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 08:49:45 UTC 2015 [ 1428223785911 ]
          Paul Benedict made changes -
          Fix Version/s Issues to be reviewed for 3.x [ 13145 ]
          Jason van Zyl made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Incomplete [ 4 ]
          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.
          Show
          Jason van Zyl added a comment - Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014
          Hide
          Marvin Froeder added a comment -

          Will be cool if complex parameters use xstream to parse....
          http://xstream.codehaus.org/

          With this, is easy to parse any XML to any object.

          VELO

          Show
          Marvin Froeder added a comment - Will be cool if complex parameters use xstream to parse.... http://xstream.codehaus.org/ With this, is easy to parse any XML to any object. VELO
          Brett Porter made changes -
          Fix Version/s 2.1 [ 13142 ]
          Fix Version/s 2.x [ 13145 ]
          Hide
          Brett Porter added a comment -

          will write a proposal next time

          Show
          Brett Porter added a comment - will write a proposal next time
          Jason van Zyl made changes -
          Fix Version/s 2.1 [ 11704 ]
          Fix Version/s 2.1.x [ 13142 ]
          Vincent Massol made changes -
          Workflow Maven [ 42056 ] Maven New [ 48125 ]
          Brett Porter made changes -
          Field Original Value New Value
          Link This issue is related to MNG-1566 [ MNG-1566 ]
          Brett Porter created issue -

            People

            • Assignee:
              Unassigned
              Reporter:
              Brett Porter
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development