[ https://issues.apache.org/jira/browse/MASSEMBLY-842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15823211#comment-15823211 ]
Andreas Aronsson commented on MASSEMBLY-842: -------------------------------------------- I see. Interesting and unfortunate. If I understood this correctly, this means that maven-assembly-plugin-3.x is unable to create a zip file from jar files created by maven-assembly-plugin-2.4 that will unzip without errors. This will remain to be the case for many years to come. That will also mean that anyone with the same use case must stay at maven-assembly-plugin-2.6 for as long. Perhaps a good idea to add this gotcha/limitation/whatever to the documentation? > 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: effio24.xml, effio25.xml, 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)