Reduce code complexity.
Re-implement Java locator as OSGi Service, add tests.
Only run Sonar build if bundle build finished OK.