Hiram R. Chirino 2006-06-15 14:28:28 +00:00
parent 1e47d1ba03
commit e437092be2
1 changed files with 9 additions and 0 deletions

View File

@ -59,6 +59,15 @@
<ant:uptodate property="${uptodatePropName}" targetfile="${uptodateFile}" srcfile="${artifact.path}"/>
<j:if test="${context.getVariable(uptodatePropName) != 'true'}">
<unjar dest="${maven.build.dir}/classes" src="${artifact.path}"/>
<ant:move todir="${maven.build.dir}/classes/META-INF/${artifact.name}">
<fileset dir="${maven.build.dir}/classes/META-INF">
<include name="MANIFEST.MF*"/>
<include name="COPYRIGHT*"/>
<include name="LICENSE*"/>
<include name="NOTICE*"/>
<include name="DISCLAIMER*"/>
</fileset>
</ant:move>
<touch file="${uptodateFile}"/>
</j:if>
</j:if>