Package org.apache.maven.internal.impl
Class DefaultProjectManager
java.lang.Object
org.apache.maven.internal.impl.DefaultProjectManager
- All Implemented Interfaces:
- Service,- ProjectManager
- 
Constructor SummaryConstructorsConstructorDescriptionDefaultProjectManager(Session session, ArtifactManager artifactManager, org.codehaus.plexus.PlexusContainer container) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddCompileSourceRoot(Project project, String sourceRoot) voidaddTestCompileSourceRoot(Project project, String sourceRoot) voidattachArtifact(Project project, Artifact artifact, Path path) getAttachedArtifacts(Project project) getCollectedDependencies(Project project, ResolutionScope scope) getCompileSourceRoots(Project project) Returns the path to the resolved file in the local repository if the artifact has been resolved.getRepositories(Project project) getResolvedDependencies(Project project, ResolutionScope scope) getTestCompileSourceRoots(Project project) voidsetProperty(Project project, String key, String value) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.api.services.ProjectManagerattachArtifact, attachArtifact
- 
Constructor Details- 
DefaultProjectManager@Inject public DefaultProjectManager(Session session, ArtifactManager artifactManager, org.codehaus.plexus.PlexusContainer container) 
 
- 
- 
Method Details- 
getPathDescription copied from interface:ProjectManagerReturns the path to the resolved file in the local repository if the artifact has been resolved.- Specified by:
- getPathin interface- ProjectManager
- Returns:
- the path of the resolved artifact
 
- 
getAttachedArtifacts- Specified by:
- getAttachedArtifactsin interface- ProjectManager
 
- 
attachArtifact- Specified by:
- attachArtifactin interface- ProjectManager
 
- 
getCompileSourceRoots- Specified by:
- getCompileSourceRootsin interface- ProjectManager
 
- 
addCompileSourceRoot- Specified by:
- addCompileSourceRootin interface- ProjectManager
 
- 
getTestCompileSourceRoots- Specified by:
- getTestCompileSourceRootsin interface- ProjectManager
 
- 
addTestCompileSourceRoot- Specified by:
- addTestCompileSourceRootin interface- ProjectManager
 
- 
getRepositories- Specified by:
- getRepositoriesin interface- ProjectManager
 
- 
getResolvedDependencies- Specified by:
- getResolvedDependenciesin interface- ProjectManager
 
- 
getCollectedDependencies- Specified by:
- getCollectedDependenciesin interface- ProjectManager
 
- 
setProperty- Specified by:
- setPropertyin interface- ProjectManager
 
 
-