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

Kris Nuttycombe commented on MWAR-12:
-------------------------------------

Hi, Scott,

I encountered this problem as well. I think that the issue is that mvn uses an 
older version of the resources plugin when it loads the POM, and for whatever 
reason the new resources plugin specified by the dependency in the war plugin 
doesn't override this. In essence, a bootstrapping problem.

It's been a few weeks since I looked at this, but I think I was able to resolve 
the issue by rebuilding the snapshot of the resources plugin, then setting up 
mvn to use that version instead. As I recall, however, doing this caused me 
problems elsewhere and I eventually abandoned the effort.

Sorry I couldn't be of more help,

Kris

> 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: AbstractWarMojo.patch, MWAR-12.patch, ResourcesMojo.patch, 
> 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

Reply via email to