Uploaded image for project: 'Maven JAR Plugin'
  1. Maven JAR Plugin
  2. MJAR-135

encoding problem with folder-names

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.3
    • None
    • None
    • None
    • Windows XP, java6, running maven via cygwin or windows console

    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

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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            krosenvold Kristian Rosenvold
            karstenf Karsten Fehre
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment