diff --git a/war/plugin.jelly b/war/plugin.jelly index ca0660b3..70334785 100644 --- a/war/plugin.jelly +++ b/war/plugin.jelly @@ -92,7 +92,10 @@ - + + diff --git a/war/plugin.properties b/war/plugin.properties index 5d1d9949..a5c5d3b5 100644 --- a/war/plugin.properties +++ b/war/plugin.properties @@ -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 diff --git a/war/xdocs/changes.xml b/war/xdocs/changes.xml index cf1c235b..0ca2b2a7 100644 --- a/war/xdocs/changes.xml +++ b/war/xdocs/changes.xml @@ -8,6 +8,9 @@ + + Accept includes/excludes patterns over maven.war.src. + Allow webapp creation if project doesn't have sources. diff --git a/war/xdocs/properties.xml b/war/xdocs/properties.xml index cffff8ea..fcd63289 100644 --- a/war/xdocs/properties.xml +++ b/war/xdocs/properties.xml @@ -20,6 +20,26 @@ ${maven.src.dir}/webapp. + + maven.war.src.includes + Yes + + Comma or space separated list of Ant path patterns specifycing + what files and directories from ${maven.war.src} + should be included in the web application. All files are included + by default. + + + + maven.war.src.excludes + Yes + + Comma or space separated list of Ant path patterns specifycing + what files and directories from ${maven.war.src} + should be exluded from the web application. No files are excluded + by default. + + maven.war.webxml Yes