Add assertFileNotFound tag to assert taglib
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115594 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9d9b059d25
commit
77f60e348d
@ -331,6 +331,14 @@
|
||||
<ant:fail>${file} does not exist.${msg}</ant:fail>
|
||||
</j:if>
|
||||
</define:tag>
|
||||
<define:tag name="assertFileNotFound">
|
||||
<!-- @file : Full file path -->
|
||||
<!-- @msg : optional message to be displayed -->
|
||||
<u:file var="fileAsFile" name="${file}"/>
|
||||
<j:if test="${fileAsFile.exists()}">
|
||||
<ant:fail>${file} found and not expected.${msg}</ant:fail>
|
||||
</j:if>
|
||||
</define:tag>
|
||||
<define:tag name="assertEquals">
|
||||
<!-- @expected : the expected value -->
|
||||
<!-- @value : the actual value -->
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
<pomVersion>3</pomVersion>
|
||||
<id>maven-plugin-plugin</id>
|
||||
<name>Maven Plugin Plugin</name>
|
||||
<currentVersion>1.5</currentVersion>
|
||||
<currentVersion>1.6-SNAPSHOT</currentVersion>
|
||||
<description>Maven Plugin management plugin. Requires Maven 1.0 RC4.</description>
|
||||
<shortDescription>Maven Plugin plugin</shortDescription>
|
||||
<url>http://maven.apache.org/reference/plugins/plugin/</url>
|
||||
|
||||
@ -24,6 +24,9 @@
|
||||
<author email="evenisse@ifrance.com">Emmanuel Venisse</author>
|
||||
</properties>
|
||||
<body>
|
||||
<release version="1.6-SNAPSHOT" date="in CVS">
|
||||
<action dev="dion" type="add">Add assertFileNotFound tag</action>
|
||||
</release>
|
||||
<release version="1.5" date="2004-06-28">
|
||||
<action dev="brett" type="fix" issue="MPPLUGIN-16">Install to maven.plugin.dir instead of maven.home/plugins</action>
|
||||
<action dev="brett" type="update">More consistency in default goal naming (plugin:plugin)</action>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user