Interface MavenRepositoryManager
- All Known Implementing Classes:
Maven31RepositoryManager
interface MavenRepositoryManager
-
Method Summary
Modifier and TypeMethodDescriptionGet the localRepositryBasedir as specified in the repository session of the requestgetPathForLocalArtifact(org.apache.maven.artifact.Artifact artifact) getPathForLocalArtifact(ArtifactCoordinate coordinate) getPathForLocalMetadata(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
- Parameters:
artifact-Artifact- Returns:
- the path of the local artifact.
-
getPathForLocalMetadata
- Parameters:
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 newProjectBuildingRequestwith an adjusted repository session.- Parameters:
basedir- the base directory of the local repository- Returns:
- a new project building request
-
getLocalRepositoryBasedir
File getLocalRepositoryBasedir()Get the localRepositryBasedir as specified in the repository session of the request- Returns:
- the local repository base directory
-