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

Karl Heinz Marbaise commented on MNG-478:
-----------------------------------------

This is an issue against maven core long time ago...which looks like wrong 
here...

> war:war warSourceExcludes parameter not used when set in the POM
> ----------------------------------------------------------------
>
>                 Key: MNG-478
>                 URL: https://issues.apache.org/jira/browse/MNG-478
>             Project: Maven
>          Issue Type: Bug
>    Affects Versions: 2.0-alpha-2
>         Environment: Windows XP
>            Reporter: Yann Le Du
>            Assignee: Trygve Laugstøl
>            Priority: Major
>             Fix For: 2.0-beta-1
>
>         Attachments: WarMojo.diff
>
>
> I got the following in my POM for a WAR-packaged project :
>   <build>
>     <plugins>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-war-plugin</artifactId>
>         
>         <configuration>
>           <warSourceExcludes>**/test.html</warSourceExcludes>
>         </configuration>
>       </plugin>
>     </plugins>
>   </build>
> I run "m2 install". The file src/main/webapp/test.html is included in the 
> resulting WAR, but, unless I'm mistaken, it shouldn't.
> I've tried with the following patterns :
> test.html
> */test.html
> **/test.html
> *\test.html
> **\test.html



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to