public class AetherBooter extends Object
| Constructor and Description |
|---|
AetherBooter() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getLocalRepositoryPath()
Returns the location of the default repositor, in a standard maven setup.
|
static void |
loadLocalMavenSettings(org.eclipse.aether.DefaultRepositorySystemSession session)
Loads maven settings and user settings into session
|
static List<org.eclipse.aether.repository.RemoteRepository> |
newRepositories(org.eclipse.aether.RepositorySystem system,
org.eclipse.aether.RepositorySystemSession session)
Creates and return a repository list with at least central repository in.
|
static org.eclipse.aether.RepositorySystem |
newRepositorySystem()
Returns a new RepositorySystem, correctly initializedÃ’
|
static org.eclipse.aether.DefaultRepositorySystemSession |
newRepositorySystemSession(org.eclipse.aether.RepositorySystem system,
String localRepoLocation)
Creates a session
|
public static org.eclipse.aether.RepositorySystem newRepositorySystem()
public static org.eclipse.aether.DefaultRepositorySystemSession newRepositorySystemSession(org.eclipse.aether.RepositorySystem system,
String localRepoLocation)
system - The repository system to use with the session. See newRepositorySystem()localRepoLocation - the localtion where to create local repository,
if required. A local repository may exists at this location.public static List<org.eclipse.aether.repository.RemoteRepository> newRepositories(org.eclipse.aether.RepositorySystem system, org.eclipse.aether.RepositorySystemSession session)
system - The system repository to usesession - The session to use.public static void loadLocalMavenSettings(org.eclipse.aether.DefaultRepositorySystemSession session)
session - The session to add settings configuration inpublic static String getLocalRepositoryPath()
Copyright © 2018. All rights reserved.