Repository navigation
·
8 commits
to 4.x
since this release
plexus-archiver 4.16.0 is a feature release of the 4.x line. It requires Java 8 or later and is a drop-in replacement for 4.15.0: the public API is binary compatible with 4.15.0.
✨ Highlights
- Archivers without a dependency-injection container. The new
ServiceLoaderArchiverManagerfinds archivers, unarchivers and resource collections throughjava.util.ServiceLoader. Code that cannot get Sisu components injected, such as plugins written against the Maven 4 API, can now use the 4.x line. Inside Maven, the injectedDefaultArchiverManagerworks as before. The provider interfaces inorg.codehaus.plexus.archivers.spiare internal and change incompatibly in 5.0, so useServiceLoaderArchiverManagerrather than implementing them. (#525, #526, #531) - Buffered uncompressed tar output.
TarArchivernow buffers its output when it writes a tar archive without compression. Contributed by @Nixxx11 in #498 and ported in #522. - Default excludes on Windows. plexus-io 3.8.1 applies the default excludes on Windows as well. (#515)
- Deprecation.
org.codehaus.plexus.archiver.par.PlexusIoJarFileResourceCollectionis deprecated in favor ofPlexusIoParFileResourceCollection. Theparcomponent itself is unchanged. (#528)
🚀 New features and improvements
- Backport the ServiceLoader based ArchiverManager to 4.x (#525) @slachiewicz
🐛 Bug Fixes
- Keep the 4.15.0 DefaultArchiverManager API and deprecate par.PlexusIoJarFileResourceCollection (#528) @slachiewicz
- Unpack archived file sets in archivers created without a container on 4.x (#526) @slachiewicz
- Fix buffering in TarArchiver (#522) @slachiewicz
📝 Documentation updates
- Document archivers.spi as internal on 4.x (#531) @slachiewicz
- Backport the README to 4.x with Java 8 examples (#529) @slachiewicz
👻 Maintenance
- Replace deprecated IOUtil.close and TarArchiveEntry id getters (#532) @slachiewicz
🔧 Build
- Carry the default-branch settings to 4.x (#527) @slachiewicz
📦 Dependency updates
- Bump org.eclipse.sisu:org.eclipse.sisu.inject from 1.1.0 to 1.1.2 (#517, #523) @dependabot[bot]
- Bump com.google.guava:guava from 33.7.2-jre to 33.8.0-jre (#520) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-io from 3.8.0 to 3.8.1 (#515) @dependabot[bot]