Add test project for java plugin.
Only tests java:compile at the moment. Change test project goal to "testPlugin" as it was conflicting with the test plugin causing reactor issues git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114027 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
2ba1377552
commit
ef19139ba0
11 files changed
+72
-7
No files matched your search
@@ -0,0 +1,17 @@
|
||||
<project xmlns:util="jelly:util"
|
||||
xmlns:j="jelly:core">
|
||||
|
||||
<goal name="testPlugin" prereqs="test-java-compile">
|
||||
<attainGoal name="clean"/>
|
||||
<echo>clean done</echo>
|
||||
</goal>
|
||||
|
||||
<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>
|
||||
</goal>
|
||||
</project>
|
||||
Reference in new issue
Block a user