You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Boué (JIRA)" <ji...@apache.org> on 2018/02/25 22:39:00 UTC
[jira] [Closed] (MASSEMBLY-878) Zip format problem
[ https://issues.apache.org/jira/browse/MASSEMBLY-878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Boué closed MASSEMBLY-878.
------------------------------------
Resolution: Done
> Zip format problem
> ------------------
>
> Key: MASSEMBLY-878
> URL: https://issues.apache.org/jira/browse/MASSEMBLY-878
> Project: Maven Assembly Plugin
> Issue Type: Bug
> Components: maven-archiver
> Affects Versions: 3.1.0
> Reporter: Ronan Le Roy
> Priority: Major
>
> There is a problem in org.apache.commons / commons-compress used by the plugin (Dependency from org.codehaus.plexus / plexus-archiver / 3.5). This problem has been fixed in a more recent version.
> I made a test on my own, just excluding it from plexus dependency and adding it back in version 1.16.1 and it has fixed my problem.
> More details can be find here : [https://github.com/KSP-CKAN/CKAN/issues/2285]
> Here is the modification I made :
>
> {code:java}
> rleroy$ svn diff pom.xml
> Index: pom.xml
> ===================================================================
> --- pom.xml (revision 1825327)
> +++ pom.xml (working copy)
> @@ -133,8 +133,19 @@
> <groupId>org.codehaus.plexus</groupId>
> <artifactId>plexus-archiver</artifactId>
> <version>3.5</version>
> + <exclusions>
> + <exclusion>
> + <groupId>org.apache.commons</groupId>
> + <artifactId>commons-compress</artifactId>
> + </exclusion>
> + </exclusions>
> </dependency>
> <dependency>
> + <groupId>org.apache.commons</groupId>
> + <artifactId>commons-compress</artifactId>
> + <version>1.16.1</version>
> + </dependency>
> + <dependency>
> <groupId>org.apache.maven.shared</groupId>
> <artifactId>file-management</artifactId>
> <version>3.0.0</version>
> {code}
> By the way it would be cleaner to use a new version of plexus-archiver to fix the dependency.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)