org.apache.maven.repository.internal
Class MavenRepositorySystemSession

java.lang.Object
  extended by org.sonatype.aether.util.DefaultRepositorySystemSession
      extended by org.apache.maven.repository.internal.MavenRepositorySystemSession
All Implemented Interfaces:
org.sonatype.aether.RepositorySystemSession

public class MavenRepositorySystemSession
extends org.sonatype.aether.util.DefaultRepositorySystemSession

A simplistic repository system session that mimics Maven's behavior to help third-party developers that want to embed Maven's dependency resolution into their own applications. Warning: This class is not intended for usage by Maven plugins, those should always acquire the current repository system session via parameter injection.

Author:
Benjamin Bentmann

Constructor Summary
MavenRepositorySystemSession()
          Creates a new Maven-like repository system session by initializing the session with values typical for Maven-based resolution.
 
Method Summary
 
Methods inherited from class org.sonatype.aether.util.DefaultRepositorySystemSession
getArtifactTypeRegistry, getAuthenticationSelector, getCache, getChecksumPolicy, getConfigProperties, getData, getDependencyGraphTransformer, getDependencyManager, getDependencySelector, getDependencyTraverser, getLocalRepository, getLocalRepositoryManager, getMirrorSelector, getProxySelector, getRepositoryListener, getSystemProperties, getTransferListener, getUpdatePolicy, getUserProperties, getWorkspaceReader, isIgnoreInvalidArtifactDescriptor, isIgnoreMissingArtifactDescriptor, isNotFoundCachingEnabled, isOffline, isTransferErrorCachingEnabled, setArtifactTypeRegistry, setAuthenticationSelector, setCache, setChecksumPolicy, setConfigProperties, setConfigProperty, setConfigProps, setData, setDependencyGraphTransformer, setDependencyManager, setDependencySelector, setDependencyTraverser, setIgnoreInvalidArtifactDescriptor, setIgnoreMissingArtifactDescriptor, setLocalRepositoryManager, setMirrorSelector, setNotFoundCachingEnabled, setOffline, setProxySelector, setRepositoryListener, setSystemProperties, setSystemProperty, setSystemProps, setTransferErrorCachingEnabled, setTransferListener, setUpdatePolicy, setUserProperties, setUserProperty, setUserProps, setWorkspaceReader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MavenRepositorySystemSession

public MavenRepositorySystemSession()
Creates a new Maven-like repository system session by initializing the session with values typical for Maven-based resolution.



Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.