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:
1 parent
ee0ea2ea40
commit
4c66fdf0a5
2 files changed
+12
No files matched your search
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user