Migrate to mhus-osgi-tools 1.6.3

In osgi tools 1.6.3 are some breaking changes.

To divide api from implementation I created a new project mhu-osgi-api and moved the api interfaces and utilities into to new project. Therefore the package declaration of classes changed.

To fix it in dependent classes it is necessary to organise imports again. In Eclipse this is simply by using the function for the complete source folder. Before you do it you have to change the dependency artefact. Change in you pom from mhu-osgi-services to mhu-osgi-api.

One more change is to do. If you define jms data sources in a blueprint. You have to change the used interfaces and classes.

I found only the following changes to do:

  • from
    "de.mhus.osgi.services.jms.JmsDataSourceOpenWire" to
    "de.mhus.osgi.jms.services.JmsDataSourceOpenWire"
  • from
    "de.mhus.osgi.services.jms.JmsDataSource" to
    "de.mhus.osgi.api.jms.JmsDataSource"


Comments

Popular posts from this blog

Prepare karaf shell settings to work with mhu-osgi-tools

Test your available CPU resources in karaf

Highlight outputs in karaf gogo shell