Package org.apache.maven.internal.impl
Class DefaultProjectManager
java.lang.Object
org.apache.maven.internal.impl.DefaultProjectManager
- All Implemented Interfaces:
- Service,- ProjectManager
@Named
@Typed
@SessionScoped
public class DefaultProjectManager
extends Object
implements ProjectManager
- 
Constructor SummaryConstructorsConstructorDescriptionDefaultProjectManager(InternalSession 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) getCompileSourceRoots(Project project) Returns the path to the resolved file in the local repository if the artifact has been resolved.getRepositories(Project project) 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(InternalSession 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
 
- 
setProperty- Specified by:
- setPropertyin interface- ProjectManager
 
 
-