[ 
https://jira.codehaus.org/browse/MWAR-257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=289245#comment-289245
 ] 

Joerg Schaible commented on MWAR-257:
-------------------------------------

The deprecation should be simply reverted. Even the plugin overlay 
documentation (http://maven.apache.org/plugins/maven-war-plugin/overlays.html) 
explicitly refers dependentWarExcludes and dependentWarIncludes as *the only* 
possibility to make global settings in a plugin management section that is 
inherited in multiple projects. There is no equivalent possible with 
overlays/overlay/excludes or overlays/overlay/includes and actually it is also 
not necessary to introduce something else for a mechanism that is working 
properly.
                
> dependentWarExcludes is deprecated but 
> ---------------------------------------
>
>                 Key: MWAR-257
>                 URL: https://jira.codehaus.org/browse/MWAR-257
>             Project: Maven 2.x WAR Plugin
>          Issue Type: Bug
>          Components: overlay
>    Affects Versions: 2.1.1
>            Reporter: dool
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to