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

"mvn package" creates both lowercase "meta-inf" as well as uppercase "META-INF" directories

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 2.1
    • None
    • None
    • None
    • Windows XP SP2

    Description

      I am getting started with Maven 2.06, just trying to precisely follow the BetterBuildsWithMaven.pdf instructions (2.6. Handling Classpath Resources). I am running on Windows XP SP2. When I execute "mvn package" and open the created JAR in Winzip, I see a "meta-inf" directory in addition to a "META-INF" dir. Since I'm on a Win32 OS, when I extract the files, however, I correctly see only the uppercase "META-INF" dir. I assume on an OS where file/dir names are case-sensitive (such as UNIX variants), this could cause problems (see bug MEAR-30). Even on Win32, it's definitely confusing, and should be fixed.

      I have attached a screen shot of what appears in WinZip.

      Attachments

        1. maven-jar-bug.pdf
          108 kB
          Ari Meyer

        Issue Links

          Activity

            People

              olamy Olivier Lamy
              ari.meyer Ari Meyer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: