[ http://jira.codehaus.org/browse/MNG-1696?page=comments#action_52464 ] 

David Hawkins commented on MNG-1696:
------------------------------------

Well I am not quite sure what else to say here.  I am working with 
2.0-beta-3-SNAPSHOT from 
http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-war-plugin

Are you certain that maven is using the plugin that you are compiling?  Did you 
execute a mvn install when you compiled the plugin? What version of the war 
plugin are you specifying in your pom?  You might add a log statement or change 
an existing one so you can verify that you are executing the version that you 
think you are.  Another option is to run mvn with -X and you should be able to 
see which version is being configured by the container.   I am including a 
snippet from my test web application pom.xml that I am testing this with to see 
if it helps.

  <plugins>
      <plugin>
        <artifactId>maven-war-plugin</artifactId>
        <version>2.0-beta-3-SNAPSHOT</version>
        <configuration>
          <excludes>foo.jsp</excludes>
          <dependentWarExcludes>**/file1.txt,file2.txt</dependentWarExcludes>
        </configuration>
      </plugin>
    </plugins>

--David


> war includes and excludes don't handle comma separated tokens (patch included)
> ------------------------------------------------------------------------------
>
>          Key: MNG-1696
>          URL: http://jira.codehaus.org/browse/MNG-1696
>      Project: Maven 2
>         Type: Bug
>   Components: maven-war-plugin
>     Reporter: David Hawkins
>  Attachments: MNG-1696-maven-war-plugin.patch
>
>
> The documentation for warSourceIncludes, warSourceExcludes, 
> dependantWarIncludes, and dependantWarExcludes all state something that they 
> support comma delimited tokens but it simply doesn't work when a comma is 
> specified. This patch makes all four parameters properly process comma 
> delimited values.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to