[ http://jira.codehaus.org/browse/MWAR-67?page=all ]
Franz Allan Valencia See updated MWAR-67:
-----------------------------------------
Attachment: MWAR-67-maven-war-plugin-2.patch
MWAR-67-maven-war-plugin-2.patch contains what MWAR-67-maven-war-plugin.patch
has plus a modified testExplodedWar_WithResourceFiltering() of the
WarExplodedMojoTest Class.
> webResource filtering needs filter
> ----------------------------------
>
> Key: MWAR-67
> URL: http://jira.codehaus.org/browse/MWAR-67
> Project: Maven 2.x War Plugin
> Issue Type: Bug
> Reporter: Tomasz Pik
> Priority: Minor
> Attachments: MWAR-67-maven-war-plugin-2.patch,
> MWAR-67-maven-war-plugin.patch
>
>
> Filtering of webResources works only, if there's at least one
> <filter>path/to/properties</filter> defined in pom.
> So without such a configuration there's no possiblity to build war file with
> filtering using values specified during build invocation, with -D options
> (System properties are ignored).
> Adding reference to (even empty) file using <filter> element 'solves' the
> problem and properties defined using -D are used.
--
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