[ http://jira.codehaus.org/browse/MNG-1696?page=comments#action_52454 ]
Brian Fox commented on MNG-1696:
--------------------------------
This is a proper patch to the getExcludes method:
List excludeList = new ArrayList( FileUtils.getDefaultExcludesAsList() );
if ( warSourceExcludes != null && !"".equals( warSourceExcludes ) )
{
excludeList.addAll( Arrays.asList( StringUtils.split(
warSourceExcludes, "," ) ) );
}
on beta2, I can't seem to get beta3 working though.
> 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]