MAVEN-764. Accept includes/excludes patterns over maven.war.src.
Thanks to Rafal Krzewski. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113940 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
bcd94314d1
commit
6f647f8831
4 files changed
+31
-1
No files matched your search
+4
-1
@@ -92,7 +92,10 @@
|
||||
|
||||
<j:if test="${webSourcesPresent == 'true'}">
|
||||
<ant:copy todir="${maven.war.webapp.dir}">
|
||||
<ant:fileset dir="${maven.war.src}"/>
|
||||
<ant:fileset dir="${maven.war.src}"
|
||||
includes="${maven.war.src.includes}"
|
||||
excludes="${maven.war.src.excludes}">
|
||||
</ant:fileset>
|
||||
</ant:copy>
|
||||
</j:if>
|
||||
|
||||
|
||||
@@ -19,3 +19,7 @@ maven.war.build.dir = ${maven.build.dir}
|
||||
# ${maven.war.build.dir}/${pom.artifactId}
|
||||
maven.war.webapp.dir = ${maven.war.build.dir}/${pom.artifactId}
|
||||
maven.war.tld.dir=WEB-INF/tld
|
||||
# Files to include and exclude from ejb
|
||||
# Note: Files are relative to build.dir
|
||||
maven.war.src.includes=**
|
||||
maven.war.src.excludes=**/package.html
|
||||
@@ -8,6 +8,9 @@
|
||||
<body>
|
||||
|
||||
<release version="1.4" date="in CVS">
|
||||
<action dev="rafal" type="add">
|
||||
Accept includes/excludes patterns over maven.war.src.
|
||||
</action>
|
||||
<action dev="evenisse" type="fix">
|
||||
Allow webapp creation if project doesn't have sources.
|
||||
</action>
|
||||
|
||||
@@ -20,6 +20,26 @@
|
||||
<code>${maven.src.dir}/webapp</code>.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.war.src.includes</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
Comma or space separated list of Ant path patterns specifycing
|
||||
what files and directories from <code>${maven.war.src}</code>
|
||||
should be included in the web application. All files are included
|
||||
by default.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.war.src.excludes</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
Comma or space separated list of Ant path patterns specifycing
|
||||
what files and directories from <code>${maven.war.src}</code>
|
||||
should be exluded from the web application. No files are excluded
|
||||
by default.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.war.webxml</td>
|
||||
<td>Yes</td>
|
||||
|
||||
Reference in new issue
Block a user