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

Kristian Rosenvold closed MJAR-135.
-----------------------------------

    Resolution: Not A Bug
      Assignee: Kristian Rosenvold

As far as I can see the JDK6 "jar" command does not handle proper unicode and 
cannot be used to extract jar files with unicode. This has been fixed in jdk7 
and jdk8. So to my understanding there is nothing we can do about this issue. 
The reporter can choose to set encoding *back* to german-specific if umlaut 
support and jdk6 is required.

Anyone wishing further analysis of this issue should upload the "jar" file that 
has been created with the test project; I can easily assess if the file itself 
is correct.

I am closing this issue as "not a bug"; mostly because we dont have a close 
option that says "not our bug".



> encoding problem with folder-names
> ----------------------------------
>
>                 Key: MJAR-135
>                 URL: https://jira.codehaus.org/browse/MJAR-135
>             Project: Maven JAR Plugin
>          Issue Type: Bug
>    Affects Versions: 2.3
>         Environment: Windows XP, java6, running maven via cygwin or windows 
> console
>            Reporter: Karsten Fehre
>            Assignee: Kristian Rosenvold
>             Fix For: 2.6
>
>         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 
> {code:xml}
> <plugin>
>  <groupId>org.apache.maven.plugins</groupId>
>  <artifactId>maven-jar-plugin</artifactId>
>  <version>2.3</version>
>  <configuration>
>   <encoding>UTF-8</encoding>
>  </configuration>
> </plugin> 
> {code}
> as like the other maven plugins, but it does not work. 



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

Reply via email to