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.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1145001 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Steven Rowe 2011-07-11 01:11:24 +00:00
parent 807dad7038
commit ef25bf2d31
1 changed files with 1 additions and 1 deletions

View File

@ -351,7 +351,7 @@
<attribute name="pom.xml"/> <attribute name="pom.xml"/>
<attribute name="jar.file"/> <attribute name="jar.file"/>
<sequential> <sequential>
<copy file="@{pom.xml}" tofile="${maven.build.dir}/pom.xml"> <copy file="@{pom.xml}" tofile="${maven.build.dir}/pom.xml" overwrite="true">
<filterset begintoken="@" endtoken="@"> <filterset begintoken="@" endtoken="@">
<filter token="version" value="${version}"/> <filter token="version" value="${version}"/>
</filterset> </filterset>