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 Summary
ConstructorsConstructorDescriptionDefaultProjectManager(InternalSession session, ArtifactManager artifactManager)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddCompileSourceRoot(Project project, String sourceRoot) voidaddResource(Project project, Resource resource) voidaddTestCompileSourceRoot(Project project, String sourceRoot) voidaddTestResource(Project project, Resource resource) voidattachArtifact(Project project, Artifact artifact, Path path) getAttachedArtifacts(Project project) getCompileSourceRoots(Project project) getExecutionProject(Project project) Returns the path to the resolved file in the local repository if the artifact has been resolved.getRepositories(Project project) getResources(Project project) getTestCompileSourceRoots(Project project) getTestResources(Project project) voidsetProperty(Project project, String key, String value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.api.services.ProjectManager
attachArtifact, attachArtifact 
- 
Constructor Details
- 
DefaultProjectManager
 
 - 
 - 
Method Details
- 
getPath
Description copied from interface:ProjectManagerReturns the path to the resolved file in the local repository if the artifact has been resolved.- Specified by:
 getPathin interfaceProjectManager- Returns:
 - the path of the resolved artifact
 
 - 
getAttachedArtifacts
- Specified by:
 getAttachedArtifactsin interfaceProjectManager
 - 
attachArtifact
- Specified by:
 attachArtifactin interfaceProjectManager
 - 
getCompileSourceRoots
- Specified by:
 getCompileSourceRootsin interfaceProjectManager
 - 
addCompileSourceRoot
- Specified by:
 addCompileSourceRootin interfaceProjectManager
 - 
getTestCompileSourceRoots
- Specified by:
 getTestCompileSourceRootsin interfaceProjectManager
 - 
addTestCompileSourceRoot
- Specified by:
 addTestCompileSourceRootin interfaceProjectManager
 - 
getResources
- Specified by:
 getResourcesin interfaceProjectManager
 - 
addResource
- Specified by:
 addResourcein interfaceProjectManager
 - 
getTestResources
- Specified by:
 getTestResourcesin interfaceProjectManager
 - 
addTestResource
- Specified by:
 addTestResourcein interfaceProjectManager
 - 
getRepositories
- Specified by:
 getRepositoriesin interfaceProjectManager
 - 
setProperty
- Specified by:
 setPropertyin interfaceProjectManager
 - 
getExecutionProject
- Specified by:
 getExecutionProjectin interfaceProjectManager
 
 -