Apply MAVEN-844.

copy-deps only copies from jars folder


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114093 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
dion committed 2003-09-24 06:17:04 +00:00
1 parent 27d8bd5716
commit 925b085988
1 file changed
+2 -2
+2 -2
View File
@@ -145,14 +145,14 @@
<ant:fileset dir="${mavenRepoLocal}">
<!-- FIXME: should use pom.artifacts -->
<j:forEach var="dep" items="${pom.dependencies}">
<ant:include name="${dep.artifactDirectory}/jars/${dep.artifact}"/>
<ant:include name="${dep.artifactDirectory}/${dep.type}s/${dep.artifact}"/>
</j:forEach>
<j:if test="${excludes != ''}">
<!-- The excludes are a list of dep ids -->
<util:tokenize var="excludeItems" delim=",">${excludes}</util:tokenize>
<j:forEach var="exclude" items="${excludeItems}">
<j:set var="depToExclude" value="${pom.getDependency(exclude)}"/>
<ant:exclude name="${depToExclude.artifactDirectory}/jars/${depToExclude.artifact}"/>
<ant:exclude name="${depToExclude.artifactDirectory}/${depToExclude.type}s/${depToExclude.artifact}"/>
</j:forEach>
</j:if>
</ant:fileset>