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, org.codehaus.plexus.PlexusContainer container) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCompileSourceRoot
(Project project, String sourceRoot) void
addTestCompileSourceRoot
(Project project, String sourceRoot) void
attachArtifact
(Project project, Artifact artifact, Path path) getAttachedArtifacts
(Project project) getCompileSourceRoots
(Project project) getRepositories
(Project project) getTestCompileSourceRoots
(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
@Inject public DefaultProjectManager(InternalSession session, ArtifactManager artifactManager, org.codehaus.plexus.PlexusContainer container)
-
-
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
-
getRepositories
- Specified by:
getRepositories
in interfaceProjectManager
-
setProperty
- Specified by:
setProperty
in interfaceProjectManager
-