Details
-
Type:
Task
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Story Points:2
-
Epic Link:
-
Sprint:Summer 1 2023 May 15, Summer 2 2023 May 29, Summer 3 2023 June 12, Summer 4 2023 June 26
Description
"Starting with the R6 release of the OSGi Declarative Services and Metatype specification, the official annotations support the same features as the Apache Felix SCR annotations in a more elegant manner and even provide additional functionality. Therefore the Apache Felix SCR annotations are now in maintenance mode and therefore you should rather use the official annotations. The Apache Felix maven-bundle-plugin, version 3.0.1 or higher supports those directly and there is no need for an additional plugin anymore." See link
Moreover, in maven-bundle-plugin, versions lower than 3.0.1 does not support Java11. So upgrading to Java 11 would mean upgrading maven-bundle-plugin, which in turn means abandoning Felix SCR and using recommended OSGi SCR.
Task: Remove Felix SCR and replace it with OSGi v6 SCR in the Java 11 branch and use officially recommended annotations.
Attachments
Issue Links
- clones
-
IGBF-3337 Investigate replacing Jidesoft classes with similar classes
-
- Closed
-
Note: Reference for migrating Felix annotations to OSGI v6 annotations https://medium.com/globant/declarative-services-from-felix-scr-to-osgi-4770509f1965