Only classpath dependencies are added

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114151 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
dion committed 2003-10-03 04:05:43 +00:00
1 parent eede586ee1
commit cbc566f2f1
3 files changed
+13 -2

No files matched your search

@@ -84,7 +84,11 @@
<!-- ignoring junit dependency as we've already created it -->
</j:when>
<j:otherwise>
<classpathentry kind="var" path="MAVEN_REPO${lib.urlPath}"/>
<!-- make sure it's a classpath dependency -->
<j:set var="isClasspath" value="${lib.dependency.isAddedToClasspath()}"/>
<j:if test="${isClasspath}">
<classpathentry kind="var" path="MAVEN_REPO${lib.urlPath}"/>
</j:if>
</j:otherwise>
</j:choose>
</j:forEach>