vmassol 2004/08/16 03:41:23
Modified: abbot plugin.jelly
Log:
Refactoring: replaced iteration over ${pom.dependencies} by iteration over
${pom.artifacts} to get the full path of artifacts.
Revision Changes Path
1.4 +3 -6 maven-plugins/abbot/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/maven-plugins/abbot/plugin.jelly,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- plugin.jelly 6 Jul 2004 12:37:16 -0000 1.3
+++ plugin.jelly 16 Aug 2004 10:41:22 -0000 1.4
@@ -43,7 +43,6 @@
-->
<goal name="abbot" prereqs="abbot:test" description="Run the abbot tests"/>
-
<!--
========================================================================
Execute the Abbot tests by running the application locally.
@@ -98,13 +97,11 @@
<pathelement path="${plugin.getDependencyPath(dep.Id)}"/>
</j:if>
</j:forEach>
- <j:forEach var="lib" items="${pom.dependencies}">
- <j:set var="libFullName" value="${lib.getId()}" />
- <j:set var="jarPath"
value="${maven.repo.local}/${lib.artifactDirectory}/${lib.getType()}s/${lib.getArtifact()}"
/>
- <pathelement path="${jarPath}"/>
+ <j:forEach var="lib" items="${pom.artifacts}">
+ <pathelement path="${lib.path}"/>
</j:forEach>
</classpath>
-
+
<test name="${maven.abbot.include}" todir="${maven.abbot.reports.dir}"/>
</junit>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]