Timo Naroska created FELIX-4023:
-----------------------------------

             Summary: SCR-Plugin not working reliably in m2e 1.3.1
                 Key: FELIX-4023
                 URL: https://issues.apache.org/jira/browse/FELIX-4023
             Project: Felix
          Issue Type: Bug
          Components: Maven SCR Plugin
    Affects Versions: maven-scr-plugin-1.11.0
         Environment: Eclipse 4.2.2 w/ m2e 1.3.1
            Reporter: Timo Naroska


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:
{code}
<action>
  <execute>
    <runOnIncremental>true</runOnIncremental>
  </execute>
</action>
{code}


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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to