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:
parent
5f365a9398
commit
c578489bfd
@ -18,18 +18,15 @@
|
||||
<project
|
||||
xmlns:util="jelly:util"
|
||||
xmlns:j="jelly:core"
|
||||
xmlns:x="jelly:xml">
|
||||
xmlns:x="jelly:xml"
|
||||
xmlns:assert="assert">
|
||||
|
||||
<goal name="testPlugin" prereqs="clean,test-checkstyle-report">
|
||||
</goal>
|
||||
|
||||
<goal name="test-checkstyle-report">
|
||||
<attainGoal name="checkstyle:report"/>
|
||||
<j:set var="expectedFile" value="${maven.gen.docs}/checkstyle-report.xml"/>
|
||||
<util:file var="file" name="${expectedFile}" />
|
||||
<j:if test="${!(file.exists())}">
|
||||
<fail>${expectedFile} not generated</fail>
|
||||
</j:if>
|
||||
<assert:assertFileExists file="${maven.gen.docs}/checkstyle-report.xml"/>
|
||||
|
||||
<!-- Verify that there are no Boolean instantiation errors as we have
|
||||
excluded the SuppressionFilterSample java file from the checks -->
|
||||
|
||||
@ -26,6 +26,7 @@
|
||||
</properties>
|
||||
<body>
|
||||
<release version="2.5-SNAPSHOT" date="In CVS">
|
||||
<action dev="dion" type="update">Use assert taglib in plugin test.</action>
|
||||
<action dev="vmassol" type="add">
|
||||
Added generation of a Checkstyle RSS feed.
|
||||
</action>
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
<pomVersion>3</pomVersion>
|
||||
<id>maven-clean-plugin</id>
|
||||
<name>Maven Clean Plugin</name>
|
||||
<currentVersion>1.3</currentVersion>
|
||||
<currentVersion>1.4-SNAPSHOT</currentVersion>
|
||||
<description/>
|
||||
<shortDescription>Clean plugin for Maven</shortDescription>
|
||||
<url>http://maven.apache.org/reference/plugins/clean/</url>
|
||||
|
||||
@ -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>
|
||||
@ -24,6 +24,9 @@
|
||||
<author email="evenisse@ifrance.com">Emmanuel Venisse</author>
|
||||
</properties>
|
||||
<body>
|
||||
<release version="1.4-SNAPSHOT" date="in CVS">
|
||||
<action dev="dion" type="update">Use assert taglib in plugin test.</action>
|
||||
</release>
|
||||
<release version="1.3" date="2004-06-19">
|
||||
<action dev="brett" type="fix" issue="MPCLEAN-1">Also clean maven.build.dest in case it is moved outside maven.build.dir</action>
|
||||
</release>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user