Class RepositoryResolver


  • public class RepositoryResolver
    extends Object
    Handle Repository-related code.
    Since:
    10.9
    Version:
    $Id: 74b341bb5b6c2a9bf30a26d3574b6cf5998f2fad $
    • Constructor Detail

      • RepositoryResolver

        public RepositoryResolver​(boolean isOffline)
        Parameters:
        isOffline - if true then don't go out to resolve artifacts
    • Method Detail

      • getRemoteRepositoryManager

        public org.eclipse.aether.impl.RemoteRepositoryManager getRemoteRepositoryManager()
        Returns:
        the repository manager
      • getSystem

        public org.eclipse.aether.RepositorySystem getSystem()
        Returns:
        the repository system
      • getSession

        public org.eclipse.aether.RepositorySystemSession getSession()
        Returns:
        the repository session
      • getRepositories

        public List<org.eclipse.aether.repository.RemoteRepository> getRepositories()
        Returns:
        the list of Maven repositories from which to resolve artifacts from