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

Michal Domagala commented on MWAR-257:
--------------------------------------

Global level dependentWarExcludes/Includes are very useful and should be 
restored.

That will be a long story...

Global exclusion of {{WEB-INB/lib/*.jar}} is simple solution to solve problem 
[MWAR-33| https://issues.apache.org/jira/browse/MWAR-33] (jars with differents 
versions can be in WEB-INF/lib with war as dependencies)

Unfortunately, commit https://fisheye6.atlassian.com/changelog/maven?cs=606628 
for https://issues.apache.org/jira/browse/MWAR-118 marked 
{{dependentWarExcludes}} deprecated. I read issue description and I don't know 
why it is deprecated. I expected it was mistake or under analyzed change.



> Remove deprecation of dependentWarExcludes, 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
>
> 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.4#6332)

Reply via email to