public interface LocalRepositoryProvider
Modifier and Type | Method and Description |
---|---|
org.eclipse.aether.repository.LocalRepositoryManager |
newLocalRepositoryManager(org.eclipse.aether.RepositorySystemSession session,
org.eclipse.aether.repository.LocalRepository localRepository)
Creates a new manager for the specified local repository.
|
org.eclipse.aether.repository.LocalRepositoryManager newLocalRepositoryManager(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.LocalRepository localRepository) throws org.eclipse.aether.repository.NoLocalRepositoryManagerException
session
- The repository system session from which to configure the manager, must not be null
.localRepository
- The local repository to create a manager for, must not be null
.null
.org.eclipse.aether.repository.NoLocalRepositoryManagerException
- If the specified repository type is not recognized or no base directory
is given.RepositorySystem.newLocalRepositoryManager(RepositorySystemSession, LocalRepository)
Copyright © 2010–2022 The Apache Software Foundation. All rights reserved.