[ 
https://jira.codehaus.org/browse/MASSEMBLY-736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jörg Sesterhenn updated MASSEMBLY-736:
--------------------------------------

    Description: 
Maven (and the assembly plugin) read files with the encoding that is present in 
the system variable "file.encoding", although "project.build.sourceEncoding" 
was set to a different value. That leads to assemblies being dependent on the 
(build) plattform.

In our build we had a file that got filtered and included in the build, but due 
to being read with the wrong encoding during assembly all umlauts got broken.

Please fix this. "project.build.sourceEncoding" should be used to read files 
into the assembly by default (as documented).

  was:
Maven (and the assembly plugin) read files with the encoding that is present in 
the system variable "file.encoding", although "project.build.sourceEncoding" 
was set to a different value. That leads to assemblies being dependent on the 
(build) plattform.

In out build we had a Batch-File that got filtered and included in the build, 
but due to being read with the wrong encoding during assembly all umlauts got 
broken.

Please fix this. "project.build.sourceEncoding" should be used to read files 
into the assembly by default (as documented).


> Files are read using ${file.encoding} instead of configured encoding
> --------------------------------------------------------------------
>
>                 Key: MASSEMBLY-736
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-736
>             Project: Maven Assembly Plugin
>          Issue Type: Bug
>          Components: maven-archiver
>    Affects Versions: 2.5.1
>         Environment: Windows 7 / SLES 11
>            Reporter: Jörg Sesterhenn
>
> Maven (and the assembly plugin) read files with the encoding that is present 
> in the system variable "file.encoding", although 
> "project.build.sourceEncoding" was set to a different value. That leads to 
> assemblies being dependent on the (build) plattform.
> In our build we had a file that got filtered and included in the build, but 
> due to being read with the wrong encoding during assembly all umlauts got 
> broken.
> Please fix this. "project.build.sourceEncoding" should be used to read files 
> into the assembly by default (as documented).



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to