Use assert taglib in plugin test

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115596 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
dion
2004-06-29 12:45:58 +00:00
parent 5f365a9398
commit c578489bfd
5 changed files with 12 additions and 13 deletions

View File

@@ -15,7 +15,9 @@
* limitations under the License.
*/
-->
<project xmlns:j="jelly:core" xmlns:u="jelly:util">
<project xmlns:assert="assert"
xmlns:j="jelly:core"
xmlns:u="jelly:util">
<goal name="testPlugin" prereqs="test-clean">
</goal>
@@ -24,10 +26,6 @@
<mkdir dir="${maven.build.dir}"/>
<attainGoal name="clean"/>
<u:file var="target" name="${maven.build.dir}"/>
<j:if test="${(target.exists())}">
<fail>maven.build.dir was not deleted</fail>
</j:if>
<assert:assertFileNotFound file="${maven.build.dir}"/>
</goal>
</project>