WTP configuration : tld dependencies weren't deployed in ${maven.war.tld.dir} but in WEB-INF/lib

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@480125 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
aheritier committed 2006-11-28 16:50:03 +00:00
1 parent f6132c159d
commit bb301f1477
2 files changed
+4 -1

No files matched your search

@@ -109,7 +109,9 @@
<j:set var="relativePath"
value="${lib.dependency.groupId}/jars/${lib.dependency.artifactId}-${lib.dependency.version}.jar" />
</j:if>
<dependent-module deploy-path="/WEB-INF/lib"
<j:if test="${lib.dependency.type == 'tld'}"><j:set var="outputDir" value="${maven.war.tld.dir}"/></j:if>
<j:if test="${lib.dependency.type != 'tld'}"><j:set var="outputDir" value="/WEB-INF/lib"/></j:if>
<dependent-module deploy-path="${outputDir}"
handle="module:/classpath/var/MAVEN_REPO/${relativePath}">
<dependency-type>uses</dependency-type>
</dependent-module>