Maven
  1. Maven
  2. MNG-3203

maven should execute compiler:compile and :test-compile in separate executions, to allow separate configuration

    Details

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

      Description

      Currently, it's impossible to configure the two default maven-compiler-plugin mojos in the jar lifecycle (:compile and :test-compile) separately without the configuration for one affecting both. This is because they are both executed in the same (default) execution. We should be assigning these to different execution id's, to allow separate configuration.

        Issue Links

          Activity

          John Casey created issue -
          John Casey made changes -
          Field Original Value New Value
          Fix Version/s 2.0.8 [ 13139 ]
          Fix Version/s 2.1-alpha-1 [ 13143 ]
          Brett Porter made changes -
          Link This issue relates to MCOMPILER-15 [ MCOMPILER-15 ]
          Brian Fox made changes -
          Fix Version/s 2.1-alpha-1 [ 13143 ]
          Fix Version/s 2.0.9 [ 13801 ]
          Fix Version/s 2.0.8 [ 13139 ]
          Brian Fox made changes -
          Fix Version/s 2.0.9 [ 13801 ]
          Fix Version/s 2.0.10 [ 14112 ]
          John Casey made changes -
          Fix Version/s 2.0.10 [ 14112 ]
          Fix Version/s 2.0.11 [ 14118 ]
          Benjamin Bentmann made changes -
          Link This issue relates to MNG-3401 [ MNG-3401 ]
          John Casey made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Assignee John Casey [ jdcasey ]
          Fix Version/s 2.0.11 [ 14118 ]
          Fix Version/s 2.2.0 [ 15103 ]
          Resolution Fixed [ 1 ]
          Benjamin Bentmann made changes -
          Link This issue relates to MNG-4919 [ MNG-4919 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 08:49:45 UTC 2015 [ 1428223785911 ]
          Mark Thomas made changes -
          Link This issue relates to MCOMPILER-15 [ MCOMPILER-15 ]
          Mark Thomas made changes -
          Workflow jira [ 12713665 ] Default workflow, editable Closed status [ 12753438 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 21:45:26 UTC 2015 [ 1428270326204 ]
          Mark Thomas made changes -
          Link This issue relates to MCOMPILER-15 [ MCOMPILER-15 ]
          Mark Thomas made changes -
          Workflow jira [ 12950471 ] Default workflow, editable Closed status [ 12986685 ]

            People

            • Assignee:
              John Casey
              Reporter:
              John Casey
            • Votes:
              5 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development