Yes, you can do that but cannot mix at a class level. You can mix SCR
annotations and OSGI annotations in a project, you don’t need to migrate
them all at once. But you can to be consistent on a class level, you
cannot mix SCR and OSGI annotations in a single class. This is achieved
by an extension to the maven-bundle-plugin. Refer for more details:
https://cqdump.joerghoh.de/2019/01/03/from-scr-annotations-to-osgi-annotations/
Getting older codebases upgraded, however can be a bit more of a
cha...