Package org.apache.maven.internal.impl
Class DefaultProjectManager
java.lang.Object
org.apache.maven.internal.impl.DefaultProjectManager
- All Implemented Interfaces:
Service,ProjectManager
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultProjectManager(Session session, ArtifactManager artifactManager, org.codehaus.plexus.PlexusContainer container) -
Method Summary
Modifier 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) getRepositories(Project project) getResolvedDependencies(Project project, ResolutionScope scope) getTestCompileSourceRoots(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
@Inject public DefaultProjectManager(Session session, ArtifactManager artifactManager, org.codehaus.plexus.PlexusContainer container)
-
-
Method Details
-
getPath
- Specified by:
getPathin interfaceProjectManager
-
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
-
getRepositories
- Specified by:
getRepositoriesin interfaceProjectManager
-
getResolvedDependencies
- Specified by:
getResolvedDependenciesin interfaceProjectManager
-
getCollectedDependencies
- Specified by:
getCollectedDependenciesin interfaceProjectManager
-
setProperty
- Specified by:
setPropertyin interfaceProjectManager
-