Interface RepositoryManager
public interface RepositoryManager
-
Method Summary
Modifier and TypeMethodDescriptiongetLocalRepositoryBasedir(org.apache.maven.project.ProjectBuildingRequest request) Get the localRepositryBasedir as specified in the repository session of the requestgetPathForLocalArtifact(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.ProjectBuildingRequestsetLocalRepositoryBasedir(org.apache.maven.project.ProjectBuildingRequest request, File basedir) Create a newProjectBuildingRequestwith an adjusted repository session.
-
Method Details
-
getPathForLocalArtifact
String getPathForLocalArtifact(org.apache.maven.project.ProjectBuildingRequest buildingRequest, org.apache.maven.artifact.Artifact artifact) - Parameters:
buildingRequest-ProjectBuildingRequestartifact-Artifact- Returns:
- the path of the local artifact.
-
getPathForLocalMetadata
String getPathForLocalMetadata(org.apache.maven.project.ProjectBuildingRequest buildingRequest, org.apache.maven.artifact.metadata.ArtifactMetadata metadata) - Parameters:
buildingRequest-ProjectBuildingRequestmetadata-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 newProjectBuildingRequestwith an adjusted repository session.- Parameters:
request- the project building requestbasedir- the base directory of the local repository- Returns:
- a new project building request
-
getLocalRepositoryBasedir
Get the localRepositryBasedir as specified in the repository session of the request- Parameters:
request- the build request- Returns:
- the local repository base directory
-