add compatibility-v4 to pom.xml