only use mavenLocal() for non-CI builds
Merge branch '2.1.x' into 2.2.x