Example Java code using Maven/ pom