SOLR-2452: fix m2-deploy-with-pom-template POM rewriting - the copy task was not overwriting, so only the first POM in each module was being used, resulting in no more than one external jar per module being created by generate-maven-artifacts, because the POM was the same for each.