Update pom.xml and add DependencyExample.java