GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Backport the ServiceLoader based ArchiverManager to 4.x by slachiewicz · Pull Request #525 · codehaus-plexus/plexus-archiver

Conversation

@slachiewicz

@slachiewicz slachiewicz commented Nov 14, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Backports #444 to the 4.x line, so that code which cannot get Sisu components injected, such as plugins written against the Maven 4 API, can use the ServiceLoader based ArchiverManager with a released plexus-archiver instead of 5.0.0-SNAPSHOT.

The cherry-pick applies unchanged; the second commit replaces the Java 9 and 10 APIs in the three manager classes (ServiceLoader.stream(), Map.copyOf, Collectors.toUnmodifiableMap) with Java 8 equivalents, since 4.x compiles with release 8. DefaultArchiverManager keeps its constructor.

Verified: mvn test on JDK 21 → 508 run, 0 failures, 5 skipped; ArchiverManagerTest and ServiceLoaderArchiverManagerTest 148 each.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
rfscholte and others added 2 commits November 14, 2026 18:23
@rfscholte @slachiewicz
Support ServiceLoader based ArchiverManager (#444)
94b9d8f
(cherry picked from commit c6dbf1f)
@slachiewicz
Make the ServiceLoader archiver manager compile on Java 8
86198dc
@slachiewicz slachiewicz added the enhancement New feature or request label Nov 14, 2026
@slachiewicz
slachiewicz marked this pull request as ready for review November 14, 2026 17:43
@slachiewicz
slachiewicz merged commit 5f51fda into 4.x Nov 14, 2026
13 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@slachiewicz
slachiewicz deleted the agent/serviceloader-archiver-manager-4x branch November 14, 2026 17:46
This was referenced Nov 14, 2026
Unpack archived file sets in archivers created without a container on 4.x #526
Merged
Keep the 4.15.0 DefaultArchiverManager API and deprecate par.PlexusIoJarFileResourceCollection #528
Merged
Document archivers.spi as internal on 4.x #531
Merged
slachiewicz added a commit to slachiewicz/maven-assembly-plugin that referenced this pull request Nov 14, 2026
@slachiewicz
Build against plexus-archiver 4.16.0
db15836
4.16.0 carries ServiceLoaderArchiverManager (codehaus-plexus/plexus-archiver#525
and apache#526) and still declares the Archiver methods 5.0 dropped, so the proxy
delegates them again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

enhancement New feature or request

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@slachiewicz @rfscholte
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.