Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [osgi-users] cmpn and enterprise

We do not recommend using the monolithic companion bundles at runtime. In fact the most recently produced monolithic companion bundles will not resolve at runtime, deliberately.

In their place you should use the standalone companion API artifacts individual to each spec in question.

e.g. https://search.maven.org/search?q=g:org.osgi%20AND%20a:org.osgi.*

The reason is that there is nothing preventing you from using the API for DS 1.2 (R4) along with Http Whiteboard 1.1 (R6) and Log 1.4 (R7) on an R8 framework; however using one of the monolithic bundles combines those APIs in such a what that forces you to take all the APIs at a given R* (which is not necessary or desirable.)

Sincerely,
- Ray



On Fri, Jan 8, 2021 at 4:06 PM Paul Fraser <paulf@xxxxxxxxxx> wrote:
Hi,

I have a vague memory that cmpn was not to be used at runtime, enterprise was to be used. I have
consistently used enterprise with no problems.

Vaadin have used cmpn in all OSGi work so far and I am considering raising an issue for them to use
enterprise [provided] in their new V19 code.

Is this the correct approach?

Paul Fraser

_______________________________________________
osgi-users mailing list
osgi-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/osgi-users


--
Raymond Augé (@rotty3000)
Senior Software Architect Liferay, Inc. (@Liferay)
OSGi Fellow

Back to the top