Extend version range to support CXF 3
Fix warnings