[
https://issues.apache.org/jira/browse/SLING-6649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15942955#comment-15942955
]
Oliver Lietz commented on SLING-6649:
-------------------------------------
Thanks, [~cziegeler].
Resolving this issue as _Won't fix_ as [~cziegeler] and [~bdelacretaz] prefer a
blocking approach.
IMHO every module should upgrade to latest parent before doing a new release.
We still have current releases without _baselining_ enabled.
> 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
> Assignee: Oliver Lietz
>
> 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)