[java-sig-commits] [javapackages] Strip gid, aid and version to prevent problems