Skip to content

feat(services): add native karaf.url service as mvn: protocol handler - #2333

Open
jbonofre wants to merge 2 commits into
apache:mainfrom
jbonofre:gh-2332
Open

jbonofre wants to merge 2 commits into
apache:mainfrom
jbonofre:gh-2332

Conversation

@jbonofre

Copy link
Copy Markdown
Member

Add a new URL handler service under services/url that provides a native replacement for pax-url-mvn. The service registers a URLStreamHandlerService for the mvn: protocol and exposes a MavenResolver API for programmatic artifact resolution from local and remote Maven repositories.

@jbonofre jbonofre linked an issue Mar 18, 2026 that may be closed by this pull request
Add a new URL handler service under services/url that provides a native
replacement for pax-url-mvn. The service registers a URLStreamHandlerService
for the mvn: protocol and exposes a MavenResolver API for programmatic
artifact resolution from local and remote Maven repositories.
Remove the redundant explicit Bundle-Activator instruction, which
collided with the activator class already detected by
karaf-services-maven-plugin and produced an invalid duplicate-type
manifest header, failing the bundle build. Also embed
org.apache.karaf.util.maven and org.apache.karaf.util.tracker(.annotation),
which are provided-scope dependencies that were not packaged into the
bundle, leaving Parser and BaseActivator unresolved at runtime.
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

Test Results

  714 files  +  9    714 suites  +9   1h 17m 12s ⏱️ - 5m 48s
  981 tests + 35    932 ✅ + 34   48 💤 ±0  0 ❌ ±0  1 🔥 +1 
2 943 runs  +105  2 798 ✅ +104  144 💤 ±0  0 ❌ ±0  1 🔥 +1 

For more details on these errors, see this check.

Results for commit dff6c8f. ± Comparison against base commit 681f0cc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create Karaf URL service

1 participant