maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Florian Fray (JIRA)" <>
Subject [jira] Commented: (MWAR-164) Support for specifying which encoding to use when filtering resources
Date Thu, 03 Feb 2011 14:56:22 GMT


Florian Fray commented on MWAR-164:


Has somebody had the chance to review this patch ?

Best regards,


> Support for specifying which encoding to use when filtering resources
> ---------------------------------------------------------------------
>                 Key: MWAR-164
>                 URL:
>             Project: Maven 2.x WAR Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.1-alpha-1
>            Reporter: kai lilleby
>             Fix For: 2.2
>         Attachments: MWAR-164-maven-war-plugin.patch
> Quoting Hervé:
> {quote}
> Maven filtering provides an encoding parameter to set encoding used when
> reading/writing files. But war plugin uses null value, which means platform
> encoding... Sorry, encoding support won't be totally "free" ;)
> I added TODOs in the code.
> For web.xml and container config XML file, I set encoding to UTF-8, which is a
> better default value than platform encoding.
> For other filtered resources, you'll need to add an encoding attribute to
> o.a.m.model.Resource class, to let the user define which encoding he wants to
> use when filtering. Perhaps using as a default
> value is a good idea.
> Seems like this is worth a Jira issue to track this new feature.
> {quote}

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message