You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by di...@apache.org on 2003/09/17 10:13:23 UTC
cvs commit: maven/src/plugins-build/ant plugin.properties
dion 2003/09/17 01:13:23
Modified: src/plugins-build/ant/xdocs changes.xml
src/plugins-build/ant plugin.properties
Added: src/plugins-build/ant/src/test/plugin-test .cvsignore
project.xml maven.xml
Log:
Added test project.
Fixed bug where file wasn't being created in basedir
Revision Changes Path
1.1 maven/src/plugins-build/ant/src/test/plugin-test/.cvsignore
Index: .cvsignore
===================================================================
gump.xml
1.1 maven/src/plugins-build/ant/src/test/plugin-test/project.xml
Index: project.xml
===================================================================
<?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>
1.1 maven/src/plugins-build/ant/src/test/plugin-test/maven.xml
Index: maven.xml
===================================================================
<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>
1.5 +3 -2 maven/src/plugins-build/ant/xdocs/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/maven/src/plugins-build/ant/xdocs/changes.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- changes.xml 17 Jul 2003 01:50:40 -0000 1.4
+++ changes.xml 17 Sep 2003 08:13:23 -0000 1.5
@@ -7,9 +7,10 @@
<body>
<release version="1.4" date="in CVS">
- <action dev="dion" type="fix">
- Separate build.xml template from plugin.jelly
+ <action dev="dion" type="update">
+ Added test project
</action>
+ <action dev="dion" type="fix">Separate build.xml template from plugin.jelly</action>
<action dev="dion" type="fix">
Allow dependencies other than 'jars' to be downloaded
</action>
1.2 +1 -1 maven/src/plugins-build/ant/plugin.properties
Index: plugin.properties
===================================================================
RCS file: /home/cvs/maven/src/plugins-build/ant/plugin.properties,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- plugin.properties 24 Jan 2003 03:44:35 -0000 1.1
+++ plugin.properties 17 Sep 2003 08:13:23 -0000 1.2
@@ -5,4 +5,4 @@
# keep them apart from the project specific properties.
# -------------------------------------------------------------------
-maven.ant.generatebuild.file = build.xml
+maven.ant.generatebuild.file = ${basedir}/build.xml
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org