You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Oliver Lietz (JIRA)" <ji...@apache.org> on 2017/03/15 12:11:41 UTC
[jira] [Created] (SLING-6649) Enable Felix SCR BndTools plugin
Oliver Lietz created SLING-6649:
-----------------------------------
Summary: Enable Felix SCR BndTools plugin
Key: SLING-6649
URL: https://issues.apache.org/jira/browse/SLING-6649
Project: Sling
Issue Type: Improvement
Components: General
Affects Versions: Parent 30
Reporter: Oliver Lietz
Fix For: Parent 31
The [Felix SCR BndTools plugin|http://felix.apache.org/documentation/subprojects/apache-felix-maven-scr-plugin/apache-felix-scr-bndtools-use.html] is currently disabled in Sling Parent:
{noformat}
[...]
<Bundle-RequiredExecutionEnvironment>${sling.bree}</Bundle-RequiredExecutionEnvironment>
<!-- Disable the new ScrPlugin for now -->
<_plugin>org.apache.felix.bundleplugin.BlueprintPlugin,aQute.lib.spring.SpringXMLType</_plugin>
</instructions>
[...]
{noformat}
I tried several configurations to restore a working build of {{org.apache.sling.event}} with {{maven-scr-plugin}} *and* {{maven-bundle-plugin}} including testing (missing SCR descriptors) to no avail and finally removed {{maven-scr-plugin}} and enabled {{org.apache.felix.scrplugin.bnd.SCRDescriptorBndPlugin}} in [r1787036 |https://svn.apache.org/r1787036].
Using Felix SCR BndTools plugin is a quick fix obviously before switching to official OSGi annotations.
We should enable Felix SCR BndTools plugin to not block modules upgrading to Sling Parent >= 30 (without reconfiguring Maven Bundle Plugin in their own POMs or switching to official OSGi annotations).
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)