Fixes for Java pom.xml for release process