Add java version information in pom.