>>>>> Steinar Bang <[email protected]>:

> I'm trying to build my projects with dependencies from the karaf 4.4.0
> BOM.

> The first problem was that the org.osgi/osgi.cmpn maven dependencies was
> missing ä version.

> And then I removed the org.osgi/osgi.cmpn maven dependencies to see what
> what happened and (as I expected), annotations like @Component and
> @Reference weren't found.

> I have googled a bit and haven't found anything about maven dependency
> for the OSGi compendium beyond OSGi 7.

> So where do I go to find the declarative services annotations in OSGi 8,
> in a maven build?

Looks like org.osgi/osgi.cmpn has been split into separate jar files:
 https://github.com/apache/karaf/blob/main/bom/pom.xml#L43

I am replacing and adding maven dependencies to make things build again.

Reply via email to