Adjust java client to comply with Maven Central rules