[ https://issues.apache.org/jira/browse/MWAR-257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15852965#comment-15852965 ]
Hudson commented on MWAR-257: ----------------------------- SUCCESS: Integrated in Jenkins build maven-plugins #8779 (See [https://builds.apache.org/job/maven-plugins/8779/]) [MWAR-257] Restore dependentWarExcludes/Includes since there is no alternative on global level dependentWarExcludes/Includes was unfortunately marked as deprecated and eventually removed. This commit restore dependentWarExcludes/Includes and fix inconsistency in defaults on local/global level Undo "[MWAR-367] Overlay removes /META-INF/context.xml" Submitted-by: Michal Domagala <michal.domag...@syncron.com> This closes #102 (michaelo: [http://svn.apache.org/viewvc/?view=rev&rev=1781709]) * (add) maven-war-plugin/src/it/overlay-keeps-contextxml * (add) maven-war-plugin/src/it/overlay-keeps-contextxml/invoker.properties * (add) maven-war-plugin/src/it/overlay-keeps-contextxml/pom.xml * (add) maven-war-plugin/src/it/overlay-keeps-contextxml/verify.bsh * (add) maven-war-plugin/src/it/overlay-keeps-contextxml/war1-with-contextxml * (add) maven-war-plugin/src/it/overlay-keeps-contextxml/war1-with-contextxml/pom.xml * (add) maven-war-plugin/src/it/overlay-keeps-contextxml/war1-with-contextxml/src * (add) maven-war-plugin/src/it/overlay-keeps-contextxml/war1-with-contextxml/src/main * (add) maven-war-plugin/src/it/overlay-keeps-contextxml/war1-with-contextxml/src/main/webapp * (add) maven-war-plugin/src/it/overlay-keeps-contextxml/war1-with-contextxml/src/main/webapp/META-INF * (add) maven-war-plugin/src/it/overlay-keeps-contextxml/war1-with-contextxml/src/main/webapp/META-INF/context.xml * (add) maven-war-plugin/src/it/overlay-keeps-contextxml/war1-with-contextxml/src/main/webapp/WEB-INF * (add) maven-war-plugin/src/it/overlay-keeps-contextxml/war1-with-contextxml/src/main/webapp/WEB-INF/web.xml * (add) maven-war-plugin/src/it/overlay-keeps-contextxml/war2-result * (add) maven-war-plugin/src/it/overlay-keeps-contextxml/war2-result/pom.xml * (add) maven-war-plugin/src/it/overlay-keeps-contextxml/war2-result/src * (add) maven-war-plugin/src/it/overlay-keeps-contextxml/war2-result/src/main * (add) maven-war-plugin/src/it/overlay-keeps-contextxml/war2-result/src/main/webapp * (add) maven-war-plugin/src/it/overlay-keeps-contextxml/war2-result/src/main/webapp/WEB-INF * (add) maven-war-plugin/src/it/overlay-keeps-contextxml/war2-result/src/main/webapp/WEB-INF/web.xml * (edit) maven-war-plugin/src/main/java/org/apache/maven/plugins/war/AbstractWarMojo.java * (edit) maven-war-plugin/src/main/java/org/apache/maven/plugins/war/overlay/DefaultOverlay.java * (edit) maven-war-plugin/src/main/java/org/apache/maven/plugins/war/overlay/OverlayManager.java * (edit) maven-war-plugin/src/site/apt/overlays.apt.vm * (edit) maven-war-plugin/src/site/fml/faq.fml.vm * (edit) maven-war-plugin/src/test/java/org/apache/maven/plugins/war/WarExplodedMojoTest.java * (edit) maven-war-plugin/src/test/java/org/apache/maven/plugins/war/overlay/OverlayManagerTest.java > Restore dependentWarExcludes/Includes since there is no alternative on global > level > ----------------------------------------------------------------------------------- > > Key: MWAR-257 > URL: https://issues.apache.org/jira/browse/MWAR-257 > Project: Maven WAR Plugin > Issue Type: Bug > Components: overlay > Affects Versions: 2.1.1 > Reporter: dool > Assignee: Michael Osipov > Fix For: 3.1.0 > > > Hello, > DependentWarExcludes is marked as deprecated. Documentation says to use > <overlay>/<excludes> instead. > But it seems to me that it is not possible to get the same behaviour with > <overlay>/<excludes> as in this case we have to provide groupIds and > artifactIds. > Maybe this behaviour could be reproduced when setting both groupId and > artifactId to * as below : > <overlays> > <overlay> > <excludes> > <groupId>*</groupId> > <artifactId>*</artifactId> > <exclude>**/*</exclude> > </excludes> > > </overlay> > </overlays> > By the way, I found this, by looking for a way to disable overlay. The > workaround I thought was configuring your plugin to exclude every files when > overlaying. > I think it would be nice to have a configuration parameter for that. > Many thanks, > Dool -- This message was sent by Atlassian JIRA (v6.3.15#6346)