plexus-archiver
plexus-archiver copied to clipboard
JarToolModularJarArchiver uses the manifest's main class when, in some cases, perhaps it shouldn't
For reference: https://github.com/codehaus-plexus/plexus-archiver/blob/plexus-archiver-4.9.0/src/main/java/org/codehaus/plexus/archiver/jar/JarToolModularJarArchiver.java#L210 Scenario: we had a Maven build of a non-modular project whose `pom.xml` features a `` element in the `` portion of the archive configuration. Let's say the...
This implements hardlinks in TAR. There is also a test to prove it.
While debugging #138 I noticed that when extracting archives only the mode for files is set. As a result if given directory in the archive has mode set it is...
It could be a bit late or I missed a discussion that took place before 2016. But I assume I found the reason for https://issues.apache.org/jira/browse/MJAR-62 resp. https://issues.apache.org/jira/browse/MJAR-289. I'd really like...
Trying to build `plexus-archiver` v3.7.0 and v4.2.2 on ppc64le platform, however facing the following test case error:- ``` [ERROR] Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:...
File.setLastModified() does not allow negative values, but those can be present in Date. One such source is ZipEntry.getTime(), which returns -1 to indicate a non-applicable time. Fixes #170. Signed-off-by: Robert...
Attempting to unzip a jar with entries which do not have a modification time fails. This is readily reproducible with this patch: https://git.opendaylight.org/gerrit/c/controller/+/95334 which ends up hitting this codepath via...
I’ve got symbolic links in my resources (files that get reused in multiple places in a larger repository). They are correctly followed when creating the main binary JAR but the...
To quote `AbstractUnArchiver` source code: ```java // Hmm. Symlinks re-evaluate back to the original file here. Unsure if this is a good thing... final File f = FileUtils.resolveFile( dir, entryName...
In my maven build the unpack extension is used to extract some packages like zulu or postgres, which contain read-only files (e.g. -r-xr-xr-x pgsql/lib/libssl.so.1.0.0). When re-building, I get the WARNING...