git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114216 13f79535-47bb-0310-9956-ffa450edef68
24 lines
787 B
XML
24 lines
787 B
XML
<project xmlns:util="jelly:util"
|
|
xmlns:dist="dist"
|
|
xmlns:j="jelly:core">
|
|
|
|
<goal name="testPlugin" prereqs="test-dist">
|
|
</goal>
|
|
|
|
<goal name="test-dist">
|
|
<!--
|
|
<echo>dist dir is ${maven.dist.dir}</echo>
|
|
<attainGoal name="dist"/>
|
|
<util:tokenize var="files" delim=",">-src.tar.gz,-src.zip,.tar.gz,.zip</util:tokenize>
|
|
<j:forEach var="file" items="${files}">
|
|
-->
|
|
<!-- NOTE: maven.dist.dir doesn't work here??? -->
|
|
<!-- <j:set var="expectedFile" value="${maven.build.dir}/distributions/test-maven-dist-plugin-1.0-SNAPSHOT${file}"/>
|
|
<util:file var="file" name="${expectedFile}" />
|
|
<j:if test="${!(file.exists())}">
|
|
<fail>${expectedFile} not generated</fail>
|
|
</j:if>
|
|
</j:forEach>
|
|
-->
|
|
</goal>
|
|
</project> |