PR: MPIDEA-18

Submitted by: Johann Reyes
Reviewed by:  Brett Porter
Copy libraries to WEB-INF/lib in web modules


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@189915 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
brett 2005-06-10 07:35:11 +00:00
parent ee0ea2ea40
commit 4c66fdf0a5
2 changed files with 12 additions and 0 deletions

View File

@ -84,6 +84,17 @@
<webroots>
<root url="file://$$MODULE_DIR$$/${value}" relative="/" />
</webroots>
<j:forEach var="lib" items="${pom.artifacts}">
<j:set var="dep" value="${lib.dependency}"/>
<j:if test="${dep.getProperty('war.bundle') == 'true'}">
<j:set var="value" value="jar://${lib.path}!/"/>
<containerElement type="library" level="module">
<url>${value}</url>
<attribute name="method" value="1"/>
<attribute name="URI" value="/WEB-INF/lib/${dep.artifact}"/>
</containerElement>
</j:if>
</j:forEach>
<orderEntriesWatcher>
<pairs>
<key>

View File

@ -37,6 +37,7 @@
<action dev="brett" type="update" issue="MPIDEA-27" due-to="Geoffrey De Smet">Add depencies on ejb or war modules</action>
<action dev="brett" type="update" issue="MPIDEA-12" due-to="Matthew McGowan">exclude build output directory in module</action>
<action dev="brett" type="fix" issue="MPIDEA-17">set module to JAVA_MODULE for compatibility with both 4.5 and Irida.</action>
<action dev="brett" type="add" issue="MPIDEA-18" due-to="Johann Reyes">Add output path for libraries in web modules</action>
</release>
<release version="1.5" date="2004-06-25">
<action dev="brett" type="add" issue="MPIDEA-5">match module type to artifact type</action>