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 2006-11-28 16:50:03 +00:00
parent f6132c159d
commit bb301f1477
2 changed files with 4 additions and 1 deletions

View File

@ -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>

View File

@ -24,6 +24,7 @@
</properties>
<body>
<release version="1.11.1-SNAPSHOT" date="In SVN">
<action dev="aheritier" type="fix">WTP configuration : tld dependencies weren't deployed in ${maven.war.tld.dir} but in WEB-INF/lib</action>
<action dev="aheritier" type="add">New goal eclipse:multiclean</action>
<action dev="aheritier" type="add">New goal eclipse:multiproject</action>
<action dev="aheritier" type="update" issue="MAVEN-1769">Upgrade maven-model to version 3.0.2</action>