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

API to calculate execution plan without full mojo execution configuration

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.0.3
    • Component/s: Embedding
    • Labels:
      None
    • Complexity:
      Intermediate
    • Patch Submitted:
      Yes
    • Number of attachments :
      2

      Description

      m2e uses project execution plan to determine how to configure the project in eclipse workspace and what to do during workbench build. Not all mojo execution bound to execution plan are relevant for this (think enforcer or deploy plugin), so m2e needs an API to analyse execution plan and perform full configuration of interesting mojo execution only.

      Original m2e jira https://issues.sonatype.org/browse/MNGECLIPSE-2724

      Proposed patch attached.

      1. MNGECLIPSE-2724.diff
        18 kB
        Igor Fedorenko
      2. MNGECLIPSE-2724.diff
        19 kB
        Igor Fedorenko

        Activity

        Hide
        Igor Fedorenko added a comment -

        revised patch that fixes unit test failures

        Show
        Igor Fedorenko added a comment - revised patch that fixes unit test failures
        Hide
        Benjamin Bentmann added a comment -

        Looks good, go ahead.

        Show
        Benjamin Bentmann added a comment - Looks good, go ahead.
        Hide
        Igor Fedorenko added a comment -
        Show
        Igor Fedorenko added a comment - Committed revised patch. http://svn.apache.org/viewvc?view=revision&revision=1061589
        Hide
        Carlo Sciolla added a comment - - edited

        Is there any way to leverage this enhancement on the command line?

        Show
        Carlo Sciolla added a comment - - edited Is there any way to leverage this enhancement on the command line?

          People

          • Assignee:
            Igor Fedorenko
            Reporter:
            Igor Fedorenko
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: