public interface RepositoryManager
Modifier and Type | Method and Description |
---|---|
File |
getLocalRepositoryBasedir(org.apache.maven.project.ProjectBuildingRequest request)
Get the localRepositryBasedir as specified in the repository session of the request
|
String |
getPathForLocalArtifact(org.apache.maven.project.ProjectBuildingRequest buildingRequest,
org.apache.maven.artifact.Artifact artifact) |
String |
getPathForLocalArtifact(org.apache.maven.project.ProjectBuildingRequest buildingRequest,
ArtifactCoordinate coordinate) |
String |
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. |
String getPathForLocalArtifact(org.apache.maven.project.ProjectBuildingRequest buildingRequest, org.apache.maven.artifact.Artifact artifact)
buildingRequest
- ProjectBuildingRequest
artifact
- Artifact
String getPathForLocalArtifact(org.apache.maven.project.ProjectBuildingRequest buildingRequest, ArtifactCoordinate coordinate)
buildingRequest
- ProjectBuildingRequest
coordinate
- ArtifactCoordinate
String getPathForLocalMetadata(org.apache.maven.project.ProjectBuildingRequest buildingRequest, org.apache.maven.artifact.metadata.ArtifactMetadata metadata)
buildingRequest
- ProjectBuildingRequest
metadata
- ArtifactMetadata
org.apache.maven.project.ProjectBuildingRequest setLocalRepositoryBasedir(org.apache.maven.project.ProjectBuildingRequest request, File basedir)
ProjectBuildingRequest
with an adjusted repository session.request
- the project building requestbasedir
- the base directory of the local repositoryFile getLocalRepositoryBasedir(org.apache.maven.project.ProjectBuildingRequest request)
request
- the build requestCopyright © 2002–2018 The Apache Software Foundation. All rights reserved.