Skip to content

Expose transporter details per protocol #1770

Open

Description

@kwin

New feature, improvement proposal

Currently it is impossible to tell in advance which transporter implementation is used for which kind of (remote) repository resolver/upload request. In order to ease debugging, this should be exposed via API (without the need for having a concrete RemoteRepository).

Activity

  1. kwin commented on Jan 28, 2026

    @kwin
    MemberAuthor

    Problem right now is that TransporterFactory.newInstance always takes a RemoteRepository to check if it should be used. It fails with an exception if it doesn't support the given repository url. Probably this should be refactored so that a more targeted lookup can be performed (also in

    LOGGER.debug("Could not obtain transporter factory for {}", repository, e);
    ).

    Maybe adding another method boolean canHandle(String protocol) (by default always returning true) to TransporterFactory in combination with something like String getDescription() (returning some explanation on which library is used etc). would be reasonable.

  2. added 3 commits that reference this issue on Jan 28, 2026
    cd09367
    9079c94
    6233e73
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions