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

Robert Scholte updated MJAR-135:
--------------------------------

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



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




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