Fix initial HelloWorld.java code and finished pom.