Update Java classes and Maven repo.