public class AetherInteraction extends Object
| Constructor and Description |
|---|
AetherInteraction(PrintStream logger) |
| Modifier and Type | Method and Description |
|---|---|
protected org.eclipse.aether.deployment.DeployResult |
deployArtifact(org.eclipse.aether.RepositorySystemSession session,
org.eclipse.aether.RepositorySystem system,
org.eclipse.aether.repository.RemoteRepository releaseRepo,
org.eclipse.aether.artifact.Artifact artifact,
org.eclipse.aether.artifact.Artifact pom)
Deploy the aertifact to a repository server.
|
protected org.eclipse.aether.artifact.Artifact |
getArtifact(org.eclipse.aether.RepositorySystemSession session,
org.eclipse.aether.RepositorySystem system,
org.eclipse.aether.repository.RemoteRepository remoteRepo,
String groupId,
String artifactId,
String type,
String version)
Get ('resolve') the artifact from a repository server.
|
org.eclipse.aether.RepositorySystem |
getNewRepositorySystem() |
protected org.eclipse.aether.repository.RemoteRepository |
getRepository(String user,
hudson.util.Secret password,
String repoId,
String repoURL)
Creates a RemoteRepository object to work with.
|
org.eclipse.aether.DefaultRepositorySystemSession |
getRepositorySystemSession(org.eclipse.aether.RepositorySystem system,
String localRepoLocation) |
protected void |
traceArtifactInfo(org.eclipse.aether.artifact.Artifact artifact) |
protected void |
traceDeployResult(org.eclipse.aether.deployment.DeployResult result) |
protected void |
traceMetadata(Collection<org.eclipse.aether.metadata.Metadata> allMetadata) |
public AetherInteraction(PrintStream logger)
protected org.eclipse.aether.deployment.DeployResult deployArtifact(org.eclipse.aether.RepositorySystemSession session,
org.eclipse.aether.RepositorySystem system,
org.eclipse.aether.repository.RemoteRepository releaseRepo,
org.eclipse.aether.artifact.Artifact artifact,
org.eclipse.aether.artifact.Artifact pom)
throws org.eclipse.aether.deployment.DeploymentException
session - system - releaseRepo - artifact - pom - org.eclipse.aether.deployment.DeploymentExceptionprotected org.eclipse.aether.artifact.Artifact getArtifact(org.eclipse.aether.RepositorySystemSession session,
org.eclipse.aether.RepositorySystem system,
org.eclipse.aether.repository.RemoteRepository remoteRepo,
String groupId,
String artifactId,
String type,
String version)
throws org.eclipse.aether.resolution.ArtifactResolutionException
session - system - remoteRepos - groupId - artifactId - type - version - org.eclipse.aether.resolution.ArtifactResolutionExceptionpublic org.eclipse.aether.RepositorySystem getNewRepositorySystem()
public org.eclipse.aether.DefaultRepositorySystemSession getRepositorySystemSession(org.eclipse.aether.RepositorySystem system,
String localRepoLocation)
protected org.eclipse.aether.repository.RemoteRepository getRepository(String user, hudson.util.Secret password, String repoId, String repoURL)
user - password - repoId - repoURL - protected void traceArtifactInfo(org.eclipse.aether.artifact.Artifact artifact)
protected void traceDeployResult(org.eclipse.aether.deployment.DeployResult result)
protected void traceMetadata(Collection<org.eclipse.aether.metadata.Metadata> allMetadata)
Copyright © 2014. All Rights Reserved.