[ https://issues.apache.org/jira/browse/MASSEMBLY-842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15816418#comment-15816418 ]
Guillaume Boué commented on MASSEMBLY-842: ------------------------------------------ I was able to reproduce the behaviour on Ubuntu 16.04, so here are more information. {{zipinfo incorrectentries-1-SNAPSHOT.jar}} shows {noformat} lrwsrwsrwt 2.0 unx 0 bl defN 16-Feb-11 21:30 META-INF/maven lrwsrwsrwt 2.0 unx 0 bl defN 16-Feb-11 21:30 META-INF/maven/org.slf4j lrwsrwsrwt 2.0 unx 0 bl defN 16-Feb-11 21:30 META-INF/maven/org.slf4j/slf4j-api lrwsrwsrwt 2.0 unx 0 bl defN 17-Jan-10 23:41 META-INF/maven/com.example.incorrectentries lrwsrwsrwt 2.0 unx 0 bl defN 17-Jan-10 23:41 META-INF/maven/com.example.incorrectentries/incorrectentries {noformat} when those should be directories. I noticed however, that the {{slf4j-api}} JAR also contained faulty entries; executing {{zipinfo ~/.m2/repository/org/slf4j/slf4j-api/1.7.16/slf4j-api-1.7.16.jar}} shows {noformat} ?rwsrwsrwt 2.0 unx 0 b- stor 16-Feb-11 21:30 META-INF/maven/ ?rwsrwsrwt 2.0 unx 0 b- stor 16-Feb-11 21:30 META-INF/maven/org.slf4j/ ?rwsrwsrwt 2.0 unx 0 b- stor 16-Feb-11 21:30 META-INF/maven/org.slf4j/slf4j-api/ {noformat} with a leading {{?}} (not sure what that means). When changing the {{slf4j-api}} dependency to, for example, {{log4j:log4j:1.2.17}}, running {{zipinfo incorrectentries-1-SNAPSHOT.jar}} shows the expected {noformat} drwxr-xr-x 2.0 unx 0 b- stor 12-May-06 13:24 META-INF/maven/ drwxr-xr-x 2.0 unx 0 b- stor 12-May-06 13:24 META-INF/maven/log4j/ drwxr-xr-x 2.0 unx 0 b- stor 12-May-06 13:24 META-INF/maven/log4j/log4j/ {noformat} but there is still a {noformat} lrwsrwsrwt 2.0 unx 0 bl defN 17-Jan-10 23:32 META-INF/maven/com.example.incorrectentries lrwsrwsrwt 2.0 unx 0 bl defN 17-Jan-10 23:32 META-INF/maven/com.example.incorrectentries/incorrectentries {noformat} remaining. > Incorrect entries created in MANIFEST/maven > ------------------------------------------- > > Key: MASSEMBLY-842 > URL: https://issues.apache.org/jira/browse/MASSEMBLY-842 > Project: Maven Assembly Plugin > Issue Type: Bug > Affects Versions: 3.0.0 > Environment: Fedora 25 > Reporter: Andreas Aronsson > Attachments: incorrectentries.zip > > > When executing 'mvn package' on the attached project, the produced archive(s) > are not produced as expected. As an example, the following entries in the zip > archive I expect to be marked as directories and end with a slash rather than > the current state: > {noformat} > crwsrwsrwx 0 11-Feb-2016 21:30:54 META-INF/maven/org.slf4j > crwsrwsrwx 0 11-Feb-2016 21:30:54 > META-INF/maven/org.slf4j/slf4j-api > {noformat} > In the tar archive they are links which is also not expected. > I have also tried to find any reference to this in maven-archiver and > plexus-archiver but wasn't able to find anything. > Using the {{unzip}} utility asks the following: > {noformat} > replace META-INF/maven? [y]es, [n]o, [A]ll, [N]one, [r]ename: > {noformat} > during unzip which was also unexpected. -- This message was sent by Atlassian JIRA (v6.3.4#6332)