[ http://jira.codehaus.org/browse/MWAR-12?page=comments#action_55999 ]
Cameron Braid commented on MWAR-12: ----------------------------------- related to http://jira.codehaus.org/browse/MWAR-22 I think that adding a prepare-package phase is the best way to go. This will allow 2 things : 1) maven to provide a default way of filtering or selecting resources for the war 2) provides a way for custom mojos to hook in > Add resource filtering to war plugin > ------------------------------------ > > Key: MWAR-12 > URL: http://jira.codehaus.org/browse/MWAR-12 > Project: Maven 2.x War Plugin > Type: Improvement > Reporter: Mark Hobson > Assignee: Brett Porter > Attachments: test.zip > > Original Estimate: 15 minutes > Remaining: 15 minutes > > I'd like to patch the war plugin to perform resource filtering as per the > resources plugin. This is a trivial patch but would duplicate the following > code from the resources plugin: > PropertyUtils > ReflectionProperties > ResourcesMojo.copyFile(File, File) > These look like handy util methods that could be incorporated into > plexus-utils - what do the developers think? > Also not sure how resource filtering will be affected by MNG-788. -- 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]