You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by br...@apache.org on 2004/05/05 13:04:10 UTC
cvs commit: maven/src/test/touchstone-build maven.xml
brett 2004/05/05 04:04:10
Modified: src/test/touchstone-build Tag: MAVEN-1_0-BRANCH maven.xml
Log:
test for getDependencyPath
Revision Changes Path
No revision
No revision
1.43.4.14 +15 -0 maven/src/test/touchstone-build/maven.xml
Index: maven.xml
===================================================================
RCS file: /home/cvs/maven/src/test/touchstone-build/maven.xml,v
retrieving revision 1.43.4.13
retrieving revision 1.43.4.14
diff -u -r1.43.4.13 -r1.43.4.14
--- maven.xml 24 Apr 2004 23:11:23 -0000 1.43.4.13
+++ maven.xml 5 May 2004 11:04:10 -0000 1.43.4.14
@@ -213,6 +213,7 @@
<attainGoal name="test-context-switch" />
<attainGoal name="test-defaults" />
<attainGoal name="test-inheritence" />
+ <attainGoal name="test-non-jar-dependency-path" />
<!-- TODO - this is still broken (as in RC1)
<attainGoal name="test-reactor-maven-username" />
@@ -787,6 +788,20 @@
/>
<j:if test="${ranDefault != 'base-default'}">
<ant:fail>Default goal in base project is not honouring property</ant:fail>
+ </j:if>
+ </goal>
+
+ <goal name="test-non-jar-dependency-path">
+ <u:replace oldChar="\" newChar="/" var="jarPath" value="${pom.getDependencyPath('touchstone:touchstone')}" />
+ <u:replace oldChar="\" newChar="/" var="jarRepoPath" value="${maven.repo.local}/touchstone/jars/touchstone-SNAPSHOT.jar" />
+ <j:if test="${jarPath != jarRepoPath}">
+ <ant:fail>path = ${jarPath}, expected ${jarRepoPath}</ant:fail>
+ </j:if>
+
+ <u:replace oldChar="\" newChar="/" var="warPath" value="${pom.getDependencyPath('touchstone:test')}" />
+ <u:replace oldChar="\" newChar="/" var="warRepoPath" value="${maven.repo.local}/touchstone/wars/test-SNAPSHOT.war" />
+ <j:if test="${warPath != warRepoPath}">
+ <ant:fail>path = ${warPath}, expected ${warRepoPath}</ant:fail>
</j:if>
</goal>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org