Added test project.
Fixed bug where file wasn't being created in basedir git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114023 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
bfd77bf05d
commit
76b433db6c
5 files changed
+61
-3
No files matched your search
@@ -0,0 +1 @@
|
||||
gump.xml
|
||||
@@ -0,0 +1,17 @@
|
||||
<project xmlns:util="jelly:util"
|
||||
xmlns:j="jelly:core">
|
||||
|
||||
<goal name="test" prereqs="test-ant">
|
||||
<attainGoal name="clean"/>
|
||||
</goal>
|
||||
|
||||
<goal name="test-ant">
|
||||
<j:set var="expectedFile" value="${basedir}/build.xml"/>
|
||||
<attainGoal name="ant"/>
|
||||
<util:file var="buildXml" name="${expectedFile}" />
|
||||
<j:if test="${!(buildXml.exists())}">
|
||||
<fail>build.xml not generated</fail>
|
||||
</j:if>
|
||||
<delete file="${expectedFile}"/>
|
||||
</goal>
|
||||
</project>
|
||||
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<project>
|
||||
<pomVersion>3</pomVersion>
|
||||
<id>test-maven-ant-plugin</id>
|
||||
<name>Test project for Maven Ant Plugin</name>
|
||||
<groupId>maven</groupId>
|
||||
<currentVersion>1.0-SNAPSHOT</currentVersion>
|
||||
<organization>
|
||||
<name>Apache Software Foundation</name>
|
||||
<url>http://www.apache.org/</url>
|
||||
<logo>http://maven.apache.org/images/jakarta-logo-blue.gif</logo>
|
||||
</organization>
|
||||
<inceptionYear>2001</inceptionYear>
|
||||
<package>org.apache.maven</package>
|
||||
<logo>http://maven.apache.org/images/maven.jpg</logo>
|
||||
<description>Test for Maven Ant plugin</description>
|
||||
<shortDescription>Test for Maven Ant plugin</shortDescription>
|
||||
<url>http://maven.apache.org/reference/plugins/ant/</url>
|
||||
<siteDirectory>/www/maven.apache.org/reference/plugins/ant/</siteDirectory>
|
||||
<repository>
|
||||
<connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven/src/plugins-build/ant/</connection>
|
||||
<url>http://cvs.apache.org/viewcvs/maven/src/plugins-build/ant/</url>
|
||||
</repository>
|
||||
<developers>
|
||||
<developer>
|
||||
<name>dIon Gillard</name>
|
||||
<id>dion</id>
|
||||
<email>dion@multitask.com.au</email>
|
||||
<organization>Multitask Consulting</organization>
|
||||
<roles>
|
||||
<role>Documentation</role>
|
||||
</roles>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<build>
|
||||
</build>
|
||||
</project>
|
||||
Reference in new issue
Block a user