Class MavenRepositorySystemSessionWrapper

  • All Implemented Interfaces:
    org.eclipse.aether.RepositorySystemSession

    public class MavenRepositorySystemSessionWrapper
    extends Object
    implements org.eclipse.aether.RepositorySystemSession
    A wrapper around the normal RepositorySystemSession to "fool" Maven into not checking local for remote artifacts
    • Constructor Detail

      • MavenRepositorySystemSessionWrapper

        public MavenRepositorySystemSessionWrapper​(String tempLocalRepositoryBaseDir,
                                                   org.eclipse.aether.RepositorySystemSession delegate)
    • Method Detail

      • isOffline

        public boolean isOffline()
        Specified by:
        isOffline in interface org.eclipse.aether.RepositorySystemSession
      • isIgnoreArtifactDescriptorRepositories

        public boolean isIgnoreArtifactDescriptorRepositories()
        Specified by:
        isIgnoreArtifactDescriptorRepositories in interface org.eclipse.aether.RepositorySystemSession
      • getResolutionErrorPolicy

        public org.eclipse.aether.resolution.ResolutionErrorPolicy getResolutionErrorPolicy()
        Specified by:
        getResolutionErrorPolicy in interface org.eclipse.aether.RepositorySystemSession
      • getArtifactDescriptorPolicy

        public org.eclipse.aether.resolution.ArtifactDescriptorPolicy getArtifactDescriptorPolicy()
        Specified by:
        getArtifactDescriptorPolicy in interface org.eclipse.aether.RepositorySystemSession
      • getChecksumPolicy

        public String getChecksumPolicy()
        Specified by:
        getChecksumPolicy in interface org.eclipse.aether.RepositorySystemSession
      • getUpdatePolicy

        public String getUpdatePolicy()
        Specified by:
        getUpdatePolicy in interface org.eclipse.aether.RepositorySystemSession
      • getLocalRepository

        public org.eclipse.aether.repository.LocalRepository getLocalRepository()
        Specified by:
        getLocalRepository in interface org.eclipse.aether.RepositorySystemSession
      • getLocalRepositoryManager

        public org.eclipse.aether.repository.LocalRepositoryManager getLocalRepositoryManager()
        Specified by:
        getLocalRepositoryManager in interface org.eclipse.aether.RepositorySystemSession
      • getWorkspaceReader

        public org.eclipse.aether.repository.WorkspaceReader getWorkspaceReader()
        Specified by:
        getWorkspaceReader in interface org.eclipse.aether.RepositorySystemSession
      • getRepositoryListener

        public org.eclipse.aether.RepositoryListener getRepositoryListener()
        Specified by:
        getRepositoryListener in interface org.eclipse.aether.RepositorySystemSession
      • getTransferListener

        public org.eclipse.aether.transfer.TransferListener getTransferListener()
        Specified by:
        getTransferListener in interface org.eclipse.aether.RepositorySystemSession
      • getSystemProperties

        public Map<String,​String> getSystemProperties()
        Specified by:
        getSystemProperties in interface org.eclipse.aether.RepositorySystemSession
      • getUserProperties

        public Map<String,​String> getUserProperties()
        Specified by:
        getUserProperties in interface org.eclipse.aether.RepositorySystemSession
      • getConfigProperties

        public Map<String,​Object> getConfigProperties()
        Specified by:
        getConfigProperties in interface org.eclipse.aether.RepositorySystemSession
      • getMirrorSelector

        public org.eclipse.aether.repository.MirrorSelector getMirrorSelector()
        Specified by:
        getMirrorSelector in interface org.eclipse.aether.RepositorySystemSession
      • getProxySelector

        public org.eclipse.aether.repository.ProxySelector getProxySelector()
        Specified by:
        getProxySelector in interface org.eclipse.aether.RepositorySystemSession
      • getAuthenticationSelector

        public org.eclipse.aether.repository.AuthenticationSelector getAuthenticationSelector()
        Specified by:
        getAuthenticationSelector in interface org.eclipse.aether.RepositorySystemSession
      • getArtifactTypeRegistry

        public org.eclipse.aether.artifact.ArtifactTypeRegistry getArtifactTypeRegistry()
        Specified by:
        getArtifactTypeRegistry in interface org.eclipse.aether.RepositorySystemSession
      • getDependencyTraverser

        public org.eclipse.aether.collection.DependencyTraverser getDependencyTraverser()
        Specified by:
        getDependencyTraverser in interface org.eclipse.aether.RepositorySystemSession
      • getDependencyManager

        public org.eclipse.aether.collection.DependencyManager getDependencyManager()
        Specified by:
        getDependencyManager in interface org.eclipse.aether.RepositorySystemSession
      • getDependencySelector

        public org.eclipse.aether.collection.DependencySelector getDependencySelector()
        Specified by:
        getDependencySelector in interface org.eclipse.aether.RepositorySystemSession
      • getVersionFilter

        public org.eclipse.aether.collection.VersionFilter getVersionFilter()
        Specified by:
        getVersionFilter in interface org.eclipse.aether.RepositorySystemSession
      • getDependencyGraphTransformer

        public org.eclipse.aether.collection.DependencyGraphTransformer getDependencyGraphTransformer()
        Specified by:
        getDependencyGraphTransformer in interface org.eclipse.aether.RepositorySystemSession
      • getData

        public org.eclipse.aether.SessionData getData()
        Specified by:
        getData in interface org.eclipse.aether.RepositorySystemSession
      • getCache

        public org.eclipse.aether.RepositoryCache getCache()
        Specified by:
        getCache in interface org.eclipse.aether.RepositorySystemSession