24 lines
975 B
XML
24 lines
975 B
XML
<project default="java:jar" xmlns:j="jelly:core" xmlns:ant="jelly:ant">
|
|
|
|
<postGoal name="clover:on">
|
|
<j:set var="maven.junit.sysproperties" value="${maven.junit.sysproperties} org.apache.commons.collections:with-clover"/>
|
|
<j:set var="org.apache.commons.collections:with-clover" value="true"/>
|
|
</postGoal>
|
|
|
|
<postGoal name="jar:jar">
|
|
<ant:tstamp/>
|
|
<ant:property name="workdir" value="${java.io.tmpdir}/buildtemp_${DSTAMP}${TSTAMP}"/>
|
|
<ant:unjar dest="${workdir}" src="${maven.build.dir}/${maven.final.name}.jar"/>
|
|
|
|
<ant:jar jarfile="${maven.build.dir}/${pom.artifactId}-testframework-${pom.currentVersion}.jar" manifest="${workdir}/META-INF/MANIFEST.MF">
|
|
<ant:fileset dir="${maven.build.dir}/test-classes">
|
|
<ant:include name="**/AbstractTest*.class"/>
|
|
<ant:include name="**/BulkTest*.class"/>
|
|
</ant:fileset>
|
|
</ant:jar>
|
|
|
|
<delete dir="${workdir}"/>
|
|
</postGoal>
|
|
|
|
</project>
|