Class ArtifactResolverUtil
java.lang.Object
org.jenkinsci.test.acceptance.utils.aether.ArtifactResolverUtil
Helper class to resolve artifacts with Aether
with http proxy support
- Author:
- scott.hebert@ericsson.com
-
Constructor Summary
ConstructorDescriptionArtifactResolverUtil
(org.eclipse.aether.RepositorySystem rs, org.eclipse.aether.RepositorySystemSession rss) -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.aether.resolution.ArtifactResult
resolve
(org.eclipse.aether.artifact.DefaultArtifact artifact)
-
Constructor Details
-
ArtifactResolverUtil
@Inject public ArtifactResolverUtil(org.eclipse.aether.RepositorySystem rs, org.eclipse.aether.RepositorySystemSession rss)
-
-
Method Details
-
resolve
public org.eclipse.aether.resolution.ArtifactResult resolve(org.eclipse.aether.artifact.DefaultArtifact artifact) - Parameters:
artifact
- The artifact to be resolved- Returns:
- artifact resolution result
-