Provide scr-plugin goal as a lifecycle mapping for m2e
------------------------------------------------------
Key: FELIX-3305
URL: https://issues.apache.org/jira/browse/FELIX-3305
Project: Felix
Issue Type: Improvement
Components: Maven SCR Plugin
Affects Versions: maven-scr-plugin-1.7.4
Reporter: Konrad Windszus
We are using JRebel in our environment.
Therefore the classloader of Felix is patched to use the class file from the
Eclipse output directory. The maven-scr-plugin is only used if the build is
triggered manually via Maven. If the compilation is triggered via Eclipse the
according bind methods are not generated from the annotation (@Reference), i.e.
the generated class file is missing the required bind method.
This can only be solved by providing the required lifecycle mapping
(http://wiki.eclipse.org/M2E_plugin_execution_not_covered,
http://wiki.eclipse.org/M2E_Extension_Development) for m2e. That way every
compilation would integrate the scr-plugin (i.e. generate the necessary bind
methods).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira