You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Olivier Lamy (JIRA)" <ji...@codehaus.org> on 2007/12/20 01:04:57 UTC

[jira] Closed: (MJAR-73) "mvn package" creates both lowercase "meta-inf" as well as uppercase "META-INF" directories

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

Olivier Lamy closed MJAR-73.
----------------------------

         Assignee: Olivier Lamy
       Resolution: Cannot Reproduce
    Fix Version/s: 2.2

Looks to be more an issue with winzip.
Build your project and use the following cli (even on windows) : jar tf yourJar .
You will see META-INF/MANIFEST.MF.
My output on a it of the cuurent trunk :
{noformat} 
C:\maven-svn\plugins\maven-jar-plugin\src\it\MJAR-30-excludes\target>jar tf maven-jar-plugin-test-mjar-30-03-99.0.jar
META-INF/
META-INF/MANIFEST.MF
foo/
foo/project003/
default-configuration.properties
META-INF/maven/
META-INF/maven/org.apache.maven.plugins/
META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-mjar-30-03/
META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-mjar-30-03/pom.xml
META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-mjar-30-03/pom.properties
{noformat} 

> "mvn package" creates both lowercase "meta-inf" as well as uppercase "META-INF" directories
> -------------------------------------------------------------------------------------------
>
>                 Key: MJAR-73
>                 URL: http://jira.codehaus.org/browse/MJAR-73
>             Project: Maven 2.x Jar Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: Windows XP SP2
>            Reporter: Ari Meyer
>            Assignee: Olivier Lamy
>             Fix For: 2.2
>
>         Attachments: maven-jar-bug.pdf
>
>
> 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.

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