Interface RepositoryManager


public interface RepositoryManager
  • Method Summary

    Modifier and Type
    Method
    Description
    getLocalRepositoryBasedir(org.apache.maven.project.ProjectBuildingRequest request)
    Get the localRepositryBasedir as specified in the repository session of the request
    getPathForLocalArtifact(org.apache.maven.project.ProjectBuildingRequest buildingRequest, org.apache.maven.artifact.Artifact artifact)
     
    getPathForLocalArtifact(org.apache.maven.project.ProjectBuildingRequest buildingRequest, ArtifactCoordinate coordinate)
     
    getPathForLocalMetadata(org.apache.maven.project.ProjectBuildingRequest buildingRequest, org.apache.maven.artifact.metadata.ArtifactMetadata metadata)
     
    org.apache.maven.project.ProjectBuildingRequest
    setLocalRepositoryBasedir(org.apache.maven.project.ProjectBuildingRequest request, File basedir)
    Create a new ProjectBuildingRequest with an adjusted repository session.
  • Method Details

    • getPathForLocalArtifact

      String getPathForLocalArtifact(org.apache.maven.project.ProjectBuildingRequest buildingRequest, org.apache.maven.artifact.Artifact artifact)
      Parameters:
      buildingRequest - ProjectBuildingRequest
      artifact - Artifact
      Returns:
      the path of the local artifact.
    • getPathForLocalArtifact

      String getPathForLocalArtifact(org.apache.maven.project.ProjectBuildingRequest buildingRequest, ArtifactCoordinate coordinate)
      Parameters:
      buildingRequest - ProjectBuildingRequest
      coordinate - ArtifactCoordinate
      Returns:
      the path for the local artifact.
    • getPathForLocalMetadata

      String getPathForLocalMetadata(org.apache.maven.project.ProjectBuildingRequest buildingRequest, org.apache.maven.artifact.metadata.ArtifactMetadata metadata)
      Parameters:
      buildingRequest - ProjectBuildingRequest
      metadata - ArtifactMetadata
      Returns:
      the path of the local metadata.
    • setLocalRepositoryBasedir

      org.apache.maven.project.ProjectBuildingRequest setLocalRepositoryBasedir(org.apache.maven.project.ProjectBuildingRequest request, File basedir)
      Create a new ProjectBuildingRequest with an adjusted repository session.
      Parameters:
      request - the project building request
      basedir - the base directory of the local repository
      Returns:
      a new project building request
    • getLocalRepositoryBasedir

      File getLocalRepositoryBasedir(org.apache.maven.project.ProjectBuildingRequest request)
      Get the localRepositryBasedir as specified in the repository session of the request
      Parameters:
      request - the build request
      Returns:
      the local repository base directory