If the build fails with strange errors from class loading, failed to find dependencies or other unexplainable things and you are sure that it should work then first check out if you have a <HOME>/.m2/settings.xml file available and if then rename it temporarily for another try to build ServiceMix. If that fixes your problem then add parts of the renamed file, one by one, back to the settings.xml file until you determine what causes the build failure. Then you need to look into the others projects and figure out how to resolve that issue.
Quite often settings.xml is used to fix a build problem but then is forgotten causing problems with other projects down the road.