Files
maven-plugins/faq/src/plugin-test/maven.xml
dion a7badd88b1 Apply MAVEN-904 with some changes for reporting.
Add a test project to test new functionality.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114180 13f79535-47bb-0310-9956-ffa450edef68
2003-10-10 00:04:08 +00:00

26 lines
737 B
XML

<project xmlns:util="jelly:util"
xmlns:j="jelly:core">
<goal name="testPlugin" prereqs="clean,test-faq">
<!-- bad xdoc leaves files open <attainGoal name="clean"/> -->
</goal>
<goal name="test-faq">
<attainGoal name="site"/>
<j:set var="expectedFile"
value="${maven.docs.dest}/faq.html"/>
<util:file var="file" name="${expectedFile}" />
<j:if test="${!(file.exists())}">
<fail>${expectedFile} not generated</fail>
</j:if>
<j:set var="expectedFile"
value="${maven.docs.dest}/faq2.html"/>
<util:file var="file" name="${expectedFile}" />
<j:if test="${!(file.exists())}">
<fail>${expectedFile} not generated</fail>
</j:if>
</goal>
</project>