Use assert taglib in plugin test
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115600 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
138e039a76
commit
9796e2213c
@ -23,7 +23,7 @@
|
||||
<pomVersion>3</pomVersion>
|
||||
<id>maven-java-plugin</id>
|
||||
<name>Maven Java Plug-in</name>
|
||||
<currentVersion>1.4</currentVersion>
|
||||
<currentVersion>1.5-SNAPSHOT</currentVersion>
|
||||
<description/>
|
||||
<shortDescription>Compile java code</shortDescription>
|
||||
<url>http://maven.apache.org/reference/plugins/java/</url>
|
||||
|
||||
@ -16,6 +16,7 @@
|
||||
*/
|
||||
-->
|
||||
<project xmlns:util="jelly:util"
|
||||
xmlns:assert="assert"
|
||||
xmlns:j="jelly:core">
|
||||
|
||||
<goal name="testPlugin" prereqs="test-java-compile">
|
||||
@ -25,10 +26,6 @@
|
||||
|
||||
<goal name="test-java-compile">
|
||||
<attainGoal name="java:compile"/>
|
||||
<j:set var="expectedFile" value="${maven.build.dest}/org/apache/maven/Dummy.class"/>
|
||||
<util:file var="file" name="${expectedFile}" />
|
||||
<j:if test="${!(file.exists())}">
|
||||
<fail>${expectedFile} not generated</fail>
|
||||
</j:if>
|
||||
<assert:assertFileExists file="${maven.build.dest}/org/apache/maven/Dummy.class"/>
|
||||
</goal>
|
||||
</project>
|
||||
@ -25,6 +25,9 @@
|
||||
<author email="kschrader@karmalab.org">Kurt Schrader</author>
|
||||
</properties>
|
||||
<body>
|
||||
<release version="1.5-SNAPSHOT" date="in CVS">
|
||||
<action dev="dion" type="update">Use assert taglib for tests</action>
|
||||
</release>
|
||||
<release version="1.4" date="2004-05-15">
|
||||
<action dev="brett" type="fix" issue="MPJAVA-18" due-to="Lynn Richards">Allow specifying a JDK to compile with other than the running one</action>
|
||||
<action dev="brett" type="fix" issue="MPJAVA-1" due-to="Scott Foster">Add memory usage parameters to pass to the ant javac task</action>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user