Details

    • Type: User Story User Story
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0
    • Component/s: Project Configuration
    • Labels:
      None
    • Global Rank:
      13940

      Description

      Encapsulates mapping of Maven project configuration and lifecycle bindings to Eclipse project configuration and builder(s). The goal is to give m2e exploiters and end-users greater flexibility and control over how Maven projects behave in Eclipse.

      Initially, Lifecycle Mapping will serve two primary purposes. It will define what project configurators should be used to configure Maven Project in Eclipse and the order the project configurators are applied. It will also define how Maven participates in Eclipse build. In the future, role of lifecycle Mapping will likely extend to include configuration validation and synchronization between Maven and Eclipse project configuration, but initial implementation will not provide this functionality.

      Although there is a strong relation between Lifecycle Mapping and project packaging type, some Lifecycle Mapping will be able to work with multiple packaging types and some packaging types will be supported by multiple Lifecycle Mappings.

      Lifecycle Mapping will be associated with projects using pom.xml file (details to be defined). Without explicit configuration, m2e will use default lifecycle mapping for project packaging type, if configured, or global default mapping.

      Default Lifecycle Mapping will implement behaviour currently present in m2e 0.9.7. Specifically, it will consider all available project configurators and will execute specified Maven goals during project import, clean project build and on resource changes. Individual project configurators will be able to opt-out of default lifecycle mapping (details to be defined).

      To validate API (and to make some users happy) m2e will provide three (possibly more) non-default Lifecycle Mappings.

      "POM only", essentially a noop mapping, will be used as the default for projects with packaging=pom.

      "JDT Java" will rely on JDT to both compile Java classes and copy project resources. It will NOT execute Maven build or individual mojo during Eclipse build.

      "Incremental Maven Build" will use plexus-build-api APIs to directly execute compatible mojos during Eclipse build. This will be highly experimental initially, but the goal is to eventually use this mapping by default for compatible projects.

        Issue Links

          Activity

          Hide
          Igor Fedorenko added a comment -

          This has been implemented. Any additional enhancement requests and bug fixes will be tracked by separate issues.

          Show
          Igor Fedorenko added a comment - This has been implemented. Any additional enhancement requests and bug fixes will be tracked by separate issues.
          Hide
          Rich Seddon added a comment -

          closing, will do separate manual test for this post 0.9.9

          Show
          Rich Seddon added a comment - closing, will do separate manual test for this post 0.9.9
          Hide
          Todd Eisemann added a comment -

          Happy Holidays

          Sorry, I missed your email... I am on vacation for the remainder of the year.
          I will return to the office on Monday Jan 4th and will get back to you as soon as I can

          Thanks & enjoy your holidays
          The information transmitted herewith is sensitive information of Chordiant Software or its customers and is intended only for use to the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon, this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.

          Show
          Todd Eisemann added a comment - Happy Holidays Sorry, I missed your email... I am on vacation for the remainder of the year. I will return to the office on Monday Jan 4th and will get back to you as soon as I can Thanks & enjoy your holidays The information transmitted herewith is sensitive information of Chordiant Software or its customers and is intended only for use to the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon, this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.

            People

            • Assignee:
              Igor Fedorenko
              Reporter:
              Igor Fedorenko
              Last Updated By:
              Todd Eisemann
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response:

                Time Tracking

                Estimated:
                Original Estimate - 12h 5m Original Estimate - 12h 5m
                12h 5m
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 61.6h
                61.6h