Refactoring: replaced iteration over ${pom.dependencies} by iteration over ${pom.artifacts} to get the full path of artifacts.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115967 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8f59a5c49a
commit
f2f3ddeeb4
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user