public interface Installer
Modifier and Type | Method and Description |
---|---|
InstallResult |
install(RepositorySystemSession session,
InstallRequest request)
Installs a collection of artifacts and their accompanying metadata to the local repository.
|
InstallResult install(RepositorySystemSession session, InstallRequest request) throws InstallationException
session
- The repository session, must not be null
.request
- The installation request, must not be null
.null
.InstallationException
- If any artifact/metadata from the request could not be installed.RepositorySystem.install(RepositorySystemSession, InstallRequest)
,
MetadataGeneratorFactory.newInstance(RepositorySystemSession, InstallRequest)
Copyright © 2010–2018 The Apache Software Foundation. All rights reserved.