Updated pom file to reflect new location of nexus
Refactored filterResrouceRoots method to be more generic