You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Andreas Aronsson (JIRA)" <ji...@apache.org> on 2017/01/11 06:59:58 UTC

[jira] [Comment Edited] (MASSEMBLY-842) Incorrect entries created in MANIFEST/maven

    [ https://issues.apache.org/jira/browse/MASSEMBLY-842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15817429#comment-15817429 ] 

Andreas Aronsson edited comment on MASSEMBLY-842 at 1/11/17 6:59 AM:
---------------------------------------------------------------------

Downgrading works fine for me too. 
I see the same problem with leading {{?}} in 
commons-logging-1.2 but *not* in commons-logging-1.1.1
httpclient-4.3.5.jar and all httpclient versions in my m2 cache 4.0.1  4.0.2  4.2.3  4.3.5  4.5.1  4.5.2

commons-io-2.4 has the faulty entries but not commons-io-2.5. I will try to find out what differs. 

Regardless, it might be a good idea to handle faulty entries like in version 2.6 since there seems to be a large amount of jar files out there that are affected. 


was (Author: andreas.aronsson):
Downgrading works fine for me too. 
I see the same problem with leading {{?}} in 
commons-logging-1.2 but *not* in commons-logging-1.1.1
httpclient-4.3.5.jar and all httpclient versions in my m2 cache 4.0.1  4.0.2  4.2.3  4.3.5  4.5.1  4.5.2

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