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

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

    Details

    • Type: Improvement Improvement
    • Status: Closed 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
    • Number of attachments :
      0

      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 made changes -
          Field Original Value New Value
          Fix Version/s 2.1-alpha-1 [ 13143 ]
          Fix Version/s 2.0.8 [ 13139 ]
          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.10 [ 14112 ]
          Fix Version/s 2.0.9 [ 13801 ]
          John Casey made changes -
          Fix Version/s 2.0.11 [ 14118 ]
          Fix Version/s 2.0.10 [ 14112 ]
          Benjamin Bentmann made changes -
          Link This issue relates to MNG-3401 [ MNG-3401 ]
          John Casey made changes -
          Resolution Fixed [ 1 ]
          Fix Version/s 2.0.11 [ 14118 ]
          Assignee John Casey [ jdcasey ]
          Fix Version/s 2.2.0 [ 15103 ]
          Status Open [ 1 ] Closed [ 6 ]
          Benjamin Bentmann made changes -
          Link This issue relates to MNG-4919 [ MNG-4919 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: