Interface MavenRepositoryManager
-
- All Known Implementing Classes:
Maven31RepositoryManager
interface MavenRepositoryManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.File
getLocalRepositoryBasedir()
Get the localRepositryBasedir as specified in the repository session of the requestjava.lang.String
getPathForLocalArtifact(org.apache.maven.artifact.Artifact artifact)
java.lang.String
getPathForLocalArtifact(ArtifactCoordinate coordinate)
java.lang.String
getPathForLocalMetadata(org.apache.maven.artifact.metadata.ArtifactMetadata metadata)
org.apache.maven.project.ProjectBuildingRequest
setLocalRepositoryBasedir(org.apache.maven.project.ProjectBuildingRequest request, java.io.File basedir)
Create a newProjectBuildingRequest
with an adjusted repository session.
-
-
-
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 newProjectBuildingRequest
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
-
-