[ 
http://jira.codehaus.org/browse/MJAR-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karsten Fehre updated MJAR-135:
-------------------------------

    Attachment: sample-project.tar.gz

I created this project at my computer, running debian. 

To verify the issue, run "mvn compile" and then "mvn jar:jar".

The locales setting at my computer is "UTF-8".
Maybe you have to configure the maven-resources-plugin to ensure the files 
where copied in UTF-8 to the target folder.

As you can see, the resources-plugin copies the folders correctly to the 
target/classes folder (encoding is correct), but the jar contains uncorrect 
encoding.

> encoding problem with folder-names
> ----------------------------------
>
>                 Key: MJAR-135
>                 URL: http://jira.codehaus.org/browse/MJAR-135
>             Project: Maven 2.x Jar Plugin
>          Issue Type: Bug
>    Affects Versions: 2.3
>         Environment: Windows XP, java6, running maven via cygwin or windows 
> console
>            Reporter: Karsten Fehre
>         Attachments: sample-project.tar.gz
>
>
> Resources folder containing german umlauts are not copied correctly to a 
> created jar. 
> For packaging into a jar, i copied folders/subfolders (with german umlauts) 
> via maven-resources-plugin to target folder. This works fine. 
> A simple 'mvn jar:jar' creates a jar, containing the resources, but folders 
> with german umlauts are not correctly represented inside of the jar. 
> I tried to set the encoding via 
> <plugin>
>  <groupId>org.apache.maven.plugins</groupId>
>  <artifactId>maven-jar-plugin</artifactId>
>  <version>2.3</version>
>  <configuration>
>   <encoding>UTF-8</encoding>
>  </configuration>
> </plugin> 
> as like the other maven plugins, but it does not work. 

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