[ http://jira.codehaus.org/browse/MWAR-67?page=all ]

Franz Allan Valencia See updated MWAR-67:
-----------------------------------------

    Attachment: MWAR-67-maven-war-plugin.patch

Tomasz Pik, you can use MWAR-67-maven-war-plugin.patch in the mean time. 

This patch will allow you to use -D option without specifying a filter property 
file. However, this still lacks the neccessary test cases for that. i'm just 
going to submit another patch once i've finished the tests.

> 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.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

        

Reply via email to