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
ConstructorDescriptionDefaultProjectManager
(InternalSession session, ArtifactManager artifactManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCompileSourceRoot
(Project project, String sourceRoot) void
addResource
(Project project, org.apache.maven.api.model.Resource resource) void
addTestCompileSourceRoot
(Project project, String sourceRoot) void
addTestResource
(Project project, org.apache.maven.api.model.Resource resource) void
attachArtifact
(Project project, Artifact artifact, Path path) getAttachedArtifacts
(Project project) getCompileSourceRoots
(Project project) getExecutionProject
(Project project) getRepositories
(Project project) List
<org.apache.maven.api.model.Resource> getResources
(Project project) getTestCompileSourceRoots
(Project project) List
<org.apache.maven.api.model.Resource> getTestResources
(Project project) void
setProperty
(Project project, String key, String value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.maven.api.services.ProjectManager
attachArtifact, attachArtifact
-
Constructor Details
-
DefaultProjectManager
-
-
Method Details
-
getPath
- Specified by:
getPath
in interfaceProjectManager
-
getAttachedArtifacts
- Specified by:
getAttachedArtifacts
in interfaceProjectManager
-
attachArtifact
- Specified by:
attachArtifact
in interfaceProjectManager
-
getCompileSourceRoots
- Specified by:
getCompileSourceRoots
in interfaceProjectManager
-
addCompileSourceRoot
- Specified by:
addCompileSourceRoot
in interfaceProjectManager
-
getTestCompileSourceRoots
- Specified by:
getTestCompileSourceRoots
in interfaceProjectManager
-
addTestCompileSourceRoot
- Specified by:
addTestCompileSourceRoot
in interfaceProjectManager
-
getResources
- Specified by:
getResources
in interfaceProjectManager
-
addResource
- Specified by:
addResource
in interfaceProjectManager
-
getTestResources
- Specified by:
getTestResources
in interfaceProjectManager
-
addTestResource
- Specified by:
addTestResource
in interfaceProjectManager
-
getRepositories
- Specified by:
getRepositories
in interfaceProjectManager
-
setProperty
- Specified by:
setProperty
in interfaceProjectManager
-
getExecutionProject
- Specified by:
getExecutionProject
in interfaceProjectManager
-