Resource Plugin overwrites default excludes -------------------------------------------
Key: MNG-811 URL: http://jira.codehaus.org/browse/MNG-811 Project: Maven 2 Type: Bug Components: maven-plugins Versions: 2.0-beta-1 Reporter: Carsten Ziegeler As soon as you use excludes in your resources, the default excludes are overwritten. So you have to add them all "by hand" in your pom. I think this is due to a wrong call order in the resource plugin: DirectoryScanner scanner = new DirectoryScanner(); scanner.addDefaultExcludes(); ... if (excludes) scanner.setExcludes(...) <!-- This overwrites the defaults --> Moving scanner.addDefaultExcludes() at the end of this code block solves the problem. Of course in this case you don't have a change to not use the default excludes :) -- 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]