Fixed pom bug in copying dependencies