Releases: codehaus-plexus/plexus-archiver
Plexus Archiver 4.2.4
🐛 Bug Fixes
- Fix unjustified warning about casing for directory entries (#155) @mthmulders
Plexus Archiver 4.2.2
In this version the reproducible build is enabled (thanks to @hboutemy) so the resulting jar should be reproducible.
For more info check the wiki page.
🐛 Bug Fixes
- DirectoryArchiver fails for symlinks if a parent directory doesn't exist (#131) @jameshans
📦 Dependency updates
- Bump commons-compress from 1.19 to 1.20 (#133) @plamentotev
Plexus Archiver 4.2.1
Plexus Archiver 4.2.0
🚀 New features and improvements
- #121 - Add API to configure reproducible archives -
Archiver#configureReproducible. - Add option to force the user and group for all archive entries.
- Add option to force the last modified date for all archive entries.
- #114 - Add option to provide
ComparatorforArchiver. The archive entries will be added in the order specified by the provided comparator. - #117 - Add option to limit the output size for
AbstractZipUnArchiveras a way of protection against ZIP bombs. Thanks to Sergey Patrikeev and Semyon Atamas. - Various code improvements. Thanks to Semyon Atamas and Sergey Patrikeev.
🐛 Bug Fixes
- #94 - Fixed setting archiver destination to the working directory causes
NullPointerException.
📦 Dependency updates
- #119 - Updated dependencies:
commons-compressto 1.18,plexus-ioto 3.2.0 andplexus-utilsto 3.3.0.
Plexus Archiver 4.1.0
🚀 New features and improvements
- #110 - Add option to omit "Created-By" manifest entry.
Plexus Archiver 4.0.0
NOTE: Because 3.7.0 introduced backward incompatible changes in the API (new methods in interfaces) we bumped the Plexus Archiver version to 4.0.0.
Plexus Archiver 4.0.0 requires Java 7.
🚀 New features and improvements
- #105 - Fixed performance regression introduced in Plexus Archiver 3.0.2. Affected are systems where the retrieval of a file's user and group attributes is costly operation.
- #106 -
PlexusIoZipFileResourceCollectionperformance is improved when working with signed Jar files.
📦 Dependency updates
Plexus Archiver 3.7.0
Plexus Archiver 3.7.0 requires Java 7.
🚀 New features and improvements
- #92 -
BaseFileSetnow accepts an array ofFileMapperinstances, allowing the name and/or the path of entries in the archive to be modified. Thanks to Thomas Collignon. - #100 -
UnArchivernow accepts an array ofFileMapperinstances, allowing the name and/or the path of the extracted entries to be modified. Thanks to Markus Karg. - #98 - Now
JarToolModularJarArchiverdoes not copy the module descriptors (module-info.class) to temporary location. It adds them directly to the JAR archive. - #101, #102 - Now
ModularJarArchiverimplementations will use the JAR file manifestMain-Classattribute as module main class if one is not excellently set.
🐛 Bug Fixes
- #95 - Fixed ZIP entries last modification time rounded down on Java 8 or later
- #97 - Fixed
module-info.classnot being added to the modular JAR index file.
📦 Dependency updates
Plexus Archiver 3.4.1
🚀 New features and improvements
- #87 - of Levan Giguashvili (@odinn1984) Snyk eng team to fix a possible security issue. (See https://gist.github.com/grnd/eafd7dab7c4cc6197d817a07fa46b2df)
Plexus Archiver 3.6.0
Plexus Archiver 3.6.0 requires Java 7.
🚀 New features and improvements
- #84, #57 - Added Archiver implementation (
JarToolModularJarArchiver) that creates modular JAR files using the JDK jar tool. The implementation usesjava.util.spi.ToolProviderintroduced in Java 9, so if it is run on Java 7 or 8 the resulting archive will be identical to a one created byJarArchiver- the module descriptor is not going to be validated and no additional information (such as version, main class and packages) is going to be added. - #67 - Added ability to set the module version and main class of a modular JAR file
- #83 - Added new protected method (
postCreateArchive) toAbstractArchiverthat is called after the archive is created successfully - #87 - of Levan Giguashvili (@odinn1984) Snyk eng team to fix a possible security issue. (See https://gist.github.com/grnd/eafd7dab7c4cc6197d817a07fa46b2df)
🐛 Bug Fixes
- #73 - Symbolic links not properly encoded in ZIP archives
- #57 -
ZipArchivercreates archives with inconsistent central directory entries - #79 -
JarArchiverandPlexusIoZipFileResourceCollectionleak file descriptors
🧰 Maintenance
- #77 - Fixed the way unit tests modify the timestamp of a file
📦 Dependency updates
Plexus Archiver 3.5
Plexus Archiver 3.5 requires Java 7. Now Plexus Archiver uses pure Java implementations to deal with file attributes so the useJvmChmod is no longer used and it is just ignored. Archiver#setUseJvmChmod, Archiver#isUseJvmChmod(), UnArchiver#setUseJvmChmod, UnArchiver#isUseJvmChmod(), ArchiveEntryUtils#chmod( File, int, Logger, boolean ) and ArchiveEntryUtils#chmod( File, int, Logger ) are deprecated and are subject to removal in a future version.
🚀 New features and improvements
- #51 - More specific exception for cases when there are no files to archive. Now
EmptyArchiveExceptionis thrown when you try to create empty archive. Previously the more genericArchiverExceptionwas thrown.
🐛 Bug Fixes
- #47 - Archiver follows symlinks on Windows
- #53 -
AbstractZipArchiverno longer respectsrecompressAddedZips - #58 - Creates corrupt JARs