Added DependencyExample.java and updated Maven configuration file.