Skip to content

[MNG-6579] Externalize org.apache.maven.repository.internal.MavenRepositorySystemUtils #7186

Open

Description

@jira-importer

Elliotte Rusty Harold opened MNG-6579 and commented

org.apache.maven.repository.internal.MavenRepositorySystemUtils is essentially mandatory for using the resolver. Without it you can't create a RepositorySystem, a ServiceLocator, or a RepositorySystemSession; all of which are needed before you can resolve an artifact.

This functionality should be available in a non-internal package. 


No further details from MNG-6579

Activity

  1. jira-importer commented on Aug 1, 2018

    @jira-importer
    Author

    Sylwester Lachiewicz commented

    This issue should propably go to the Maven project as the MavenRepositorySystemUtils is part of Maven's org.apache.maven:maven-resolver-provider artifact

  2. jira-importer commented on Jan 26, 2019

    @jira-importer
    Author

    Robert Scholte commented

    I'd like to have a concrete example, because my idea is to make it even harder to get access to Maven Artifact Resolver. The maven-plugin-api should be extended for better dependency resolution support.

  3. jira-importer commented on Jan 27, 2019

    @jira-importer
    Author

    Elliotte Rusty Harold commented

    See almost all of this repo: https://github.com/GoogleCloudPlatform/cloud-opensource-java but especially https://github.com/GoogleCloudPlatform/cloud-opensource-java/tree/master/dependencies which uses Aether to query the Maven repository system. Remember, the repository system is much more broadly used than Maven itself, for instance by Ivy and Gradle. Aether may have moved from Eclipse to Apache but it should be separate from Maven. That is, Maven can depend on the repo system but the repo system should not depend on Maven.

  4. added
    enhancement
    priority:major
    on Jul 6, 2025
  5. modified the milestones: , 4.x on Jul 7, 2025
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

    enhancementpriority:major

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions