You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by br...@apache.org on 2005/06/10 09:35:13 UTC
svn commit: r189915 - in /maven/maven-1/plugins/trunk/idea:
src/plugin-resources/templates/v4/module.jelly xdocs/changes.xml
Author: brett
Date: Fri Jun 10 00:35:11 2005
New Revision: 189915
URL: http://svn.apache.org/viewcvs?rev=189915&view=rev
Log:
PR: MPIDEA-18
Submitted by: Johann Reyes
Reviewed by: Brett Porter
Copy libraries to WEB-INF/lib in web modules
Modified:
maven/maven-1/plugins/trunk/idea/src/plugin-resources/templates/v4/module.jelly
maven/maven-1/plugins/trunk/idea/xdocs/changes.xml
Modified: maven/maven-1/plugins/trunk/idea/src/plugin-resources/templates/v4/module.jelly
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/idea/src/plugin-resources/templates/v4/module.jelly?rev=189915&r1=189914&r2=189915&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/idea/src/plugin-resources/templates/v4/module.jelly (original)
+++ maven/maven-1/plugins/trunk/idea/src/plugin-resources/templates/v4/module.jelly Fri Jun 10 00:35:11 2005
@@ -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>
Modified: maven/maven-1/plugins/trunk/idea/xdocs/changes.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/idea/xdocs/changes.xml?rev=189915&r1=189914&r2=189915&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/idea/xdocs/changes.xml (original)
+++ maven/maven-1/plugins/trunk/idea/xdocs/changes.xml Fri Jun 10 00:35:11 2005
@@ -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>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org