public class ConverterUtils extends Object
Constructor and Description |
---|
ConverterUtils() |
Modifier and Type | Method and Description |
---|---|
static Properties |
addProperties(Properties props,
Map<?,?> map)
Adds every <String, String>-entry in the map as a property to the given Properties.
|
static org.eclipse.aether.repository.Authentication |
toAuthentication(Authentication auth) |
static org.eclipse.aether.graph.Dependency |
toDependency(Dependency dependency,
List<Exclusion> exclusions,
org.eclipse.aether.RepositorySystemSession session) |
static org.eclipse.aether.repository.RemoteRepository |
toDistRepository(RemoteRepository repo,
org.eclipse.aether.RepositorySystemSession session)
Converts the given ant repository type to an Aether repository instance with authentication and proxy filled in
via the sessions' selectors.
|
static org.eclipse.aether.repository.Proxy |
toProxy(Proxy proxy) |
static List<org.eclipse.aether.repository.RemoteRepository> |
toRepositories(org.apache.tools.ant.Project project,
org.eclipse.aether.RepositorySystemSession session,
RemoteRepositories repos,
org.eclipse.aether.impl.RemoteRepositoryManager remoteRepositoryManager) |
public static org.eclipse.aether.repository.Authentication toAuthentication(Authentication auth)
public static org.eclipse.aether.graph.Dependency toDependency(Dependency dependency, List<Exclusion> exclusions, org.eclipse.aether.RepositorySystemSession session)
public static org.eclipse.aether.repository.RemoteRepository toDistRepository(RemoteRepository repo, org.eclipse.aether.RepositorySystemSession session)
public static Properties addProperties(Properties props, Map<?,?> map)
public static org.eclipse.aether.repository.Proxy toProxy(Proxy proxy)
public static List<org.eclipse.aether.repository.RemoteRepository> toRepositories(org.apache.tools.ant.Project project, org.eclipse.aether.RepositorySystemSession session, RemoteRepositories repos, org.eclipse.aether.impl.RemoteRepositoryManager remoteRepositoryManager)
Copyright © 2010–2013 The Eclipse Foundation. All rights reserved.