-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creates corrupt JARs #58
Comments
Were you able to bisect to the offending change? |
Hi, Thanks for reporting this. Could you please provide steps to reproduce? I've tried to create jar-with-dependencies assembly and it worked. |
I am able to reproduce this problem 100% of the time by putting this pom in an empty folder:
And then running something like:
results in:
I am using:
|
Thanks for the detailed information. It turns out this is caused by a bug in Commons Compress - COMPRESS-379. Updating the dependency to version 1.14 should fix the issue. <dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
<version>1.14</version>
</dependency> |
It is interesting why I'm not able to reproduce this issue on Windows. While I'm not completely sure, I believe that COMPRESS-379 is reproducible on Windows. And still looks like |
Commons Compress has been upgraded to 1.14, please revalidate this issue. |
It should be fixed now. But it would be nice if @towtow could confirm that too. |
I can confirm that it works for me as well. |
Creating a maven assembly "jar-with-dependencies" results in a JAR that can't be extracted:
java.io.IOException: META-INF/maven/commons-io/commons-io : could not create directory
using the maven assembly plugin 3.0.0 which in turn uses plexus-archiver 3.4.After downgrading the plexus-archiver version to 3.0.1-3.0.3 or 2.10.3 it works.
List of plexus-archiver versions tested:
The text was updated successfully, but these errors were encountered: