Package org.apache.maven.internal.impl
Class DefaultSession
java.lang.Object
org.apache.maven.internal.impl.AbstractSession
org.apache.maven.internal.impl.DefaultSession
- All Implemented Interfaces:
Session,InternalMavenSession,InternalSession
-
Field Summary
Fields inherited from class org.apache.maven.internal.impl.AbstractSession
lookup, repositories, repositorySystem, session -
Constructor Summary
ConstructorsConstructorDescriptionDefaultSession(MavenSession session, org.eclipse.aether.RepositorySystem repositorySystem, List<RemoteRepository> remoteRepositories, MavenRepositorySystem mavenRepositorySystem, Lookup lookup, RuntimeInformation runtimeInformation) -
Method Summary
Modifier and TypeMethodDescriptionintgetEffectiveProperties(Project project) getPluginContext(Project project) getProject(MavenProject project) getProjects(List<MavenProject> projects) org.apache.maven.api.settings.Settingsprotected SessionnewSession(MavenSession mavenSession, List<RemoteRepository> repositories) protected SessionnewSession(org.eclipse.aether.RepositorySystemSession repoSession, List<RemoteRepository> repositories) toArtifactRepositories(List<RemoteRepository> repositories) toArtifactRepository(RemoteRepository repository) Methods inherited from class org.apache.maven.internal.impl.AbstractSession
collectDependencies, collectDependencies, collectDependencies, createArtifact, createArtifact, createArtifactCoordinate, createArtifactCoordinate, createArtifactCoordinate, createArtifactCoordinate, createDependencyCoordinate, createDependencyCoordinate, createLocalRepository, createRemoteRepository, createRemoteRepository, deployArtifact, flattenDependencies, getArtifact, getArtifactPath, getData, getDependency, getListeners, getLocalRepository, getNode, getNode, getPathForLocalArtifact, getPathForRemoteArtifact, getRemoteRepositories, getRemoteRepository, getRepositorySystem, getService, getSession, installArtifacts, installArtifacts, isVersionSnapshot, parseVersion, parseVersionConstraint, parseVersionRange, registerListener, requireDependencyScope, requireLanguage, requirePackaging, requirePathScope, requireProjectScope, requireType, resolveArtifact, resolveArtifact, resolveArtifacts, resolveArtifacts, resolveArtifacts, resolveDependencies, resolveDependencies, resolveDependencies, resolveDependencies, resolveDependencies, resolveVersion, resolveVersionRange, setArtifactPath, toArtifact, toArtifact, toArtifacts, toDependencies, toDependency, toRepositories, toRepository, toRepository, unregisterListener, withLocalRepository, withRemoteRepositoriesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.internal.impl.InternalSession
getArtifact, getDependency, getNode, getNode, getRemoteRepository, getRepositorySystem, getSession, toArtifact, toArtifact, toArtifacts, toDependencies, toDependency, toRepositories, toRepository, toRepositoryMethods inherited from interface org.apache.maven.api.Session
collectDependencies, collectDependencies, collectDependencies, createArtifact, createArtifact, createArtifactCoordinate, createArtifactCoordinate, createArtifactCoordinate, createArtifactCoordinate, createDependencyCoordinate, createDependencyCoordinate, createLocalRepository, createRemoteRepository, createRemoteRepository, deployArtifact, flattenDependencies, getArtifactPath, getData, getListeners, getLocalRepository, getPathForLocalArtifact, getPathForRemoteArtifact, getRemoteRepositories, getService, installArtifacts, installArtifacts, isVersionSnapshot, parseVersion, parseVersionConstraint, parseVersionRange, registerListener, requireDependencyScope, requireLanguage, requirePackaging, requirePathScope, requireProjectScope, requireType, resolveArtifact, resolveArtifact, resolveArtifacts, resolveArtifacts, resolveArtifacts, resolveDependencies, resolveDependencies, resolveDependencies, resolveDependencies, resolveDependencies, resolveVersion, resolveVersionRange, setArtifactPath, unregisterListener, withLocalRepository, withRemoteRepositories
-
Constructor Details
-
DefaultSession
public DefaultSession(@Nonnull MavenSession session, @Nonnull org.eclipse.aether.RepositorySystem repositorySystem, @Nullable List<RemoteRepository> remoteRepositories, @Nonnull MavenRepositorySystem mavenRepositorySystem, @Nonnull Lookup lookup, @Nonnull RuntimeInformation runtimeInformation)
-
-
Method Details
-
getMavenSession
- Specified by:
getMavenSessionin interfaceInternalMavenSession
-
getProjects
- Specified by:
getProjectsin interfaceInternalMavenSession
-
getProject
- Specified by:
getProjectin interfaceInternalMavenSession
-
toArtifactRepositories
- Specified by:
toArtifactRepositoriesin interfaceInternalMavenSession
-
getSettings
@Nonnull public org.apache.maven.api.settings.Settings getSettings()- Specified by:
getSettingsin interfaceSession
-
getUserProperties
- Specified by:
getUserPropertiesin interfaceSession
-
getSystemProperties
- Specified by:
getSystemPropertiesin interfaceSession
-
getEffectiveProperties
- Specified by:
getEffectivePropertiesin interfaceSession
-
getMavenVersion
- Specified by:
getMavenVersionin interfaceSession
-
getDegreeOfConcurrency
public int getDegreeOfConcurrency()- Specified by:
getDegreeOfConcurrencyin interfaceSession
-
getStartTime
- Specified by:
getStartTimein interfaceSession
-
getRootDirectory
- Specified by:
getRootDirectoryin interfaceSession
-
getTopDirectory
- Specified by:
getTopDirectoryin interfaceSession
-
getProjects
- Specified by:
getProjectsin interfaceSession
-
getPluginContext
- Specified by:
getPluginContextin interfaceSession
-
newSession
protected Session newSession(org.eclipse.aether.RepositorySystemSession repoSession, List<RemoteRepository> repositories) - Specified by:
newSessionin classAbstractSession
-
newSession
-
toArtifactRepository
- Specified by:
toArtifactRepositoryin interfaceInternalMavenSession
-