Files
maven-plugins/dist/src/plugin-test/maven.xml
T
2003-10-17 02:23:11 +00:00

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>