[ http://jira.codehaus.org/browse/MWAR-12?page=comments#action_55283 ]
Olivier Lamy commented on MWAR-12: ---------------------------------- Hi, Is it possible to imagine adding a phase called package-resources. With this we could add some resources (same format as in the build section) in war configuration to include some stuffs which are not really mandatory for the compile : - struts config files - velocity templates - .... Note this phase could be used in others plugins which generates some files not really needed for compile (jar with manifest, ear with application.xml ..) WDYT ? - Olivier > 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]