public class EAPArtifactsHolder extends Object
| Modifier and Type | Field and Description |
|---|---|
protected List<org.eclipse.aether.repository.RemoteRepository> |
remoteRepos
The project's remote repositories to use for the resolution of plugins and their dependencies.
|
protected org.eclipse.aether.RepositorySystemSession |
repoSession
The current repository/network configuration of Maven.
|
protected org.eclipse.aether.RepositorySystem |
repoSystem
The entry point to Aether, i.e. the component doing all the work.
|
| Constructor and Description |
|---|
EAPArtifactsHolder(org.eclipse.aether.RepositorySystem repoSystem,
org.eclipse.aether.RepositorySystemSession repoSession,
List<org.eclipse.aether.repository.RemoteRepository> remoteRepos) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(org.eclipse.aether.artifact.Artifact obj) |
void |
add(org.eclipse.aether.artifact.Artifact obj,
EAPModule module) |
protected void |
applyArtifactMapping(String artifactCoordinates,
EAPModule module) |
boolean |
contains(org.eclipse.aether.artifact.Artifact artifact) |
org.eclipse.aether.artifact.Artifact |
contains(String groupId,
String artifactId,
String type) |
protected Object[] |
get(String artifactCoordinates) |
org.eclipse.aether.artifact.Artifact |
getArtifact(org.eclipse.aether.artifact.Artifact artifact) |
org.eclipse.aether.artifact.Artifact |
getArtifact(String artifactCoordinates) |
Collection<org.eclipse.aether.artifact.Artifact> |
getArtifacts() |
Map<String,String> |
getMappedCoordinates() |
EAPModule |
getModule(org.eclipse.aether.artifact.Artifact artifact) |
EAPModule |
getModule(String artifactCoordinates) |
org.eclipse.aether.artifact.Artifact |
resolveArtifact(org.eclipse.aether.artifact.Artifact artifact) |
org.eclipse.aether.artifact.Artifact |
resolveArtifact(String groupId,
String artifactId,
String version,
String packaging) |
void |
setModule(org.eclipse.aether.artifact.Artifact artifact,
EAPModule module) |
void |
setModule(String artifactCoordinates,
EAPModule module) |
protected org.eclipse.aether.RepositorySystem repoSystem
protected org.eclipse.aether.RepositorySystemSession repoSession
protected List<org.eclipse.aether.repository.RemoteRepository> remoteRepos
public EAPArtifactsHolder(org.eclipse.aether.RepositorySystem repoSystem,
org.eclipse.aether.RepositorySystemSession repoSession,
List<org.eclipse.aether.repository.RemoteRepository> remoteRepos)
public void add(org.eclipse.aether.artifact.Artifact obj)
public void add(org.eclipse.aether.artifact.Artifact obj,
EAPModule module)
throws EAPModuleResourceDuplicationException
public void setModule(String artifactCoordinates, EAPModule module) throws EAPModuleResourceDuplicationException
protected void applyArtifactMapping(String artifactCoordinates, EAPModule module)
public void setModule(org.eclipse.aether.artifact.Artifact artifact,
EAPModule module)
throws EAPModuleResourceDuplicationException
public org.eclipse.aether.artifact.Artifact getArtifact(String artifactCoordinates)
public org.eclipse.aether.artifact.Artifact getArtifact(org.eclipse.aether.artifact.Artifact artifact)
public EAPModule getModule(org.eclipse.aether.artifact.Artifact artifact)
public boolean contains(org.eclipse.aether.artifact.Artifact artifact)
public org.eclipse.aether.artifact.Artifact resolveArtifact(org.eclipse.aether.artifact.Artifact artifact)
throws org.eclipse.aether.resolution.ArtifactResolutionException
org.eclipse.aether.resolution.ArtifactResolutionExceptionpublic org.eclipse.aether.artifact.Artifact resolveArtifact(String groupId, String artifactId, String version, String packaging) throws org.eclipse.aether.resolution.ArtifactResolutionException
org.eclipse.aether.resolution.ArtifactResolutionExceptionpublic Collection<org.eclipse.aether.artifact.Artifact> getArtifacts()
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.