You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Konrad Windszus (Created) (JIRA)" <ji...@apache.org> on 2012/01/16 15:26:39 UTC
[jira] [Created] (FELIX-3305) Provide scr-plugin goal as a
lifecycle mapping for m2e
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
[jira] [Closed] (FELIX-3305) Provide scr-plugin goal as a lifecycle
mapping for m2e
Posted by "Konrad Windszus (Closed) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-3305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konrad Windszus closed FELIX-3305.
----------------------------------
Resolution: Duplicate
Duplicate of FELIX-3170
> 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