Ensure compatibility with released EAP maven repo

This branch was created by forking the release/4.2.2.Final-1 branch
You need to cherry pick :

14308e75	Ensure compatibility with released EAP maven repo

This fix need to be released ASAP for integration with JBT/JBDS