Author: brett
Date: Thu Sep 15 18:48:53 2005
New Revision: 289362
URL: http://svn.apache.org/viewcvs?rev=289362&view=rev
Log:
improve tests
Modified:
maven/components/trunk/maven-artifact-ant/sample.build.xml
Modified: maven/components/trunk/maven-artifact-ant/sample.build.xml
URL:
http://svn.apache.org/viewcvs/maven/components/trunk/maven-artifact-ant/sample.build.xml?rev=289362&r1=289361&r2=289362&view=diff
==============================================================================
--- maven/components/trunk/maven-artifact-ant/sample.build.xml (original)
+++ maven/components/trunk/maven-artifact-ant/sample.build.xml Thu Sep 15
18:48:53 2005
@@ -50,6 +50,14 @@
<echo>Parent Artifact ID = ${my.maven.project.parent.artifactId}</echo>
</target>
+ <target name="test-legacy-pom" depends="initTaskDefs">
+ <artifact:dependencies>
+ <dependency groupId="geronimo-spec" artifactId="geronimo-spec-javamail"
version="1.3.1-rc5" />
+ <localRepository location="${basedir}/target/local-repo-legacy" />
+ <remoteRepository url="http://repo1.maven.org/maven" layout="legacy"
id="central" />
+ </artifact:dependencies>
+ </target>
+
<target name="foo" depends="initTaskDefs">
<artifact:localRepository id="local.repository"
location="${basedir}/target/local-repo" layout="default"/>
@@ -109,6 +117,8 @@
</remoteRepository>
<pom refid="maven.project"/>
</artifact:deploy>
+
+ <antcall target="test-legacy-pom" />
</target>
<target name="test-scm" depends="initTaskDefs">
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]