universAAL / middleware

The core software that uses semantic matchmaking for brokering messages among participants of an open distributed system.
10 stars 3 forks source link

References to non-existent package ...mpa.model #491

Closed Alfiva closed 6 years ago

Alfiva commented 6 years ago

I tried building the latest 3.4.2-S but found out some .osgi bundles are trying to export or import the package org.universAAL.middleware.interfaces.mpa.model, which no longer exists in mw.interfaces.core. The failing bundles are mw.interfaces.osgi and mw.connectors.deploy.karaf.osgi. Can you check if it is OK with just removing the mention to that package in their POM? I did that and succeeded but not sure if anything else should be modified.

BTW I also had to add org.universAAL.support/itests dependency to mw.managers.tenant.osgi POM to make it build OK.

cstockloew commented 6 years ago

I removed that package almost a year ago. It was not used at all and I thought I removed all references to it..

There is another package org.universAAL.middleware.managers.deploy.uapp.model in mw.schemas with almost the same content (the same classes). It seemed to me that the one in mw.schemas was more up-to-date than the one in mw.interfaces and that's why I removed the 'old' one.

However, I'm not sure why the build is failing in your case; it works on my PC and it works on CI.

OK for removing..

Alfiva commented 6 years ago

Sorry, bad choice of words. It failed when I tried to start the MW in OSGi: those bundles fail to find the uapp.model pacakge and do not start. Some caveats here: IIRC I was trying to start it with installing feature uAAL-MW.Basic, and I was using a Karaf 3.X instance downloaded from Eclipse Smarthome, properly configured to downoad everything from uAAL.

amedranogil commented 6 years ago

solved in 4826e6d0f2cae0c09538b3564cae80340428db2b