blob: 2fd35095116f022a6cbfabc7e0fd596cbb81d2e0 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<project default="default"
xmlns:ant="jelly:ant"
xmlns:velocity="jelly:velocity">
<postGoal name="war:webapp">
<attainGoal name="preCompile"/>
<attainGoal name="substitute"/>
<!-- Copy LICENSE.txt and NOTICE.txt Files -->
<ant:copy file="LICENSE.txt" tofile="${maven.war.webapp.dir}/META-INF/LICENSE.txt" />
<ant:copy file="NOTICE.txt" tofile="${maven.war.webapp.dir}/META-INF/NOTICE.txt" />
</postGoal>
<goal name="default">
<ant:echo>${commons_fileupload_version}</ant:echo>
<attainGoal name="war:install"/>
</goal>
<goal name="substitute">
<velocity:merge basedir="${basedir}/src/conf"
template="jms-resource-providers.properties"
name="${basedir}/target/${pom.artifactId}/WEB-INF/classes/jms-resource-providers.properties"/>
</goal>
</project>