You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Julian Wood (JIRA)" <ji...@codehaus.org> on 2006/05/13 01:41:41 UTC

[jira] Commented: (MWAR-12) Add resource filtering to war plugin

    [ http://jira.codehaus.org/browse/MWAR-12?page=comments#action_65316 ] 

Julian Wood commented on MWAR-12:
---------------------------------

Hmm, I just installed plexus-utils-1.3-SNAPSHOT from svn, replaced my plexus-utils-1.1 in M2_HOME/core, added it as a dependency, configured the maven war plugin as per Brian Topping's message above, built maven-war-plugin 2.0-beta-3-SNAPSHOT from svn, added a build.properties file in src/main/webapp/WEB-INF/classes/build.properties and finally made a package, but no filtering happened in any xml files (no errors either).

Did I miss something? This is maven 2.0.4. 

Thanks, J

> 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: John Tolentino
>      Fix For: 2.0
>  Attachments: AbstractWarMojo.patch, MWAR-12-maven-war-plugin.patch, MWAR-12.patch, ResourcesMojo.patch, test.zip
>
> Original Estimate: 15 minutes
>        Time Spent: 12 hours
>         Remaining: 0 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