improve tests

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289362 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-09-16 01:48:53 +00:00
parent a6d8e2569d
commit 72e36a192b
1 changed files with 10 additions and 0 deletions

View File

@ -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">