Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-4023

SCR-Plugin not working reliably in m2e 1.3.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • maven-scr-plugin-1.11.0
    • maven-scr-plugin-1.12.0
    • SCR Tooling
    • None
    • Eclipse 4.2.2 w/ m2e 1.3.1

    Description

      The default lifecycle-mapping assumed by m2e changed in version 1.3. see [1]. The default for runOnIncremental is now false and as the scr-plugin does not specify otherwise in it's embedded lifecycle-mapping descriptor, it no longer is invoked when the user edits source files inside eclipse. Only when a complete rebuild of the project is triggered the plugin is executed.

      The embedded lifecycle-mapping should be changed to:

      <action>
        <execute>
          <runOnIncremental>true</runOnIncremental>
        </execute>
      </action>
      

      [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=395433

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            tnarake Timo Naroska
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: