Interface MavenRepositoryManager

    • Method Detail

      • getPathForLocalArtifact

        java.lang.String getPathForLocalArtifact​(org.apache.maven.artifact.Artifact artifact)
        Parameters:
        artifact - Artifact
        Returns:
        the path of the local artifact.
      • getPathForLocalArtifact

        java.lang.String getPathForLocalArtifact​(ArtifactCoordinate coordinate)
        Parameters:
        coordinate - ArtifactCoordinate
        Returns:
        the path for the local artifact.
      • getPathForLocalMetadata

        java.lang.String getPathForLocalMetadata​(org.apache.maven.artifact.metadata.ArtifactMetadata metadata)
        Parameters:
        metadata - ArtifactMetadata
        Returns:
        the path of the local metadata.
      • setLocalRepositoryBasedir

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

        java.io.File getLocalRepositoryBasedir()
        Get the localRepositryBasedir as specified in the repository session of the request
        Returns:
        the local repository base directory