Package org.oddjob.maven.session
Class ResolverSessionBuilder
java.lang.Object
org.oddjob.maven.session.ResolverSessionBuilder
Builds an
ResolverSession which is everything the ResolveJob
needs to resolve a dependency. Most of this code was copied from AntRepoSys.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuild()static ResolverSessionBuilderfrom(RepoSessionProperties sessionProperties) protected org.eclipse.aether.RepositorySystemSessiongetSession(org.apache.maven.settings.Settings settings, org.eclipse.aether.RepositorySystem repoSys) static StringtoString(org.eclipse.aether.RepositorySystemSession repositorySystemSession) withAuthentications(Collection<Authentication> authentications) withLocalRepo(File localRepo) withMirrors(Collection<Mirror> mirrors) withOffline(boolean offline) withProxies(Collection<Proxy> proxies) withSettings(org.apache.maven.settings.Settings settings)
-
Field Details
-
LOCAL_REPO_PROPERTY
-
-
Method Details
-
from
-
withSettings
-
withLocalRepo
-
withMirrors
-
withProxies
-
withAuthentications
-
withOffline
-
build
- Throws:
org.apache.maven.settings.building.SettingsBuildingException
-
getSession
protected org.eclipse.aether.RepositorySystemSession getSession(org.apache.maven.settings.Settings settings, org.eclipse.aether.RepositorySystem repoSys) -
toString
-