I've just installed 6.1 for the first time to test (and have not used 6.0).
My production installation is 5.5. I have a simple test bundle that uses cxf
(jaxrs) and jackson. It also uses slf4j/log4j.

I updated my POM so that bundle dependency versions match those in 6.1 (cxf
and jackson)  and installed the bundle.

Well, it didn't work. Dependency exceptions, class not found exceptions. It
was a red hot mess. One particulary interesting karaf exception: unresolved
constraint in bundle/missing requirement on package x.y.z -- but x.y.z is
the groupId of my bundle and the base package for all of my source. I had to
negate that package's import using felix
(<Import-Package>!x.y.z</ImportPackage>) to make the exception go away.

In smx 5, I almost never needed to add any custom directives to the build.

It appears that there are some fundamental differences between 5 and 6 and I
can't find documentation explaining them. Is there any such doc?



--
View this message in context: 
http://servicemix.396122.n5.nabble.com/migration-from-smx-5-to-6-tp5723242.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to