Class ArtifactResolverUtil

java.lang.Object
org.jenkinsci.test.acceptance.utils.aether.ArtifactResolverUtil

public class ArtifactResolverUtil extends Object
Helper class to resolve artifacts with Aether with http proxy support
Author:
scott.hebert@ericsson.com
  • Constructor Summary

    Constructors
    Constructor
    Description
    ArtifactResolverUtil(org.eclipse.aether.RepositorySystem rs, org.eclipse.aether.RepositorySystemSession rss)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.eclipse.aether.resolution.ArtifactResult
    resolve(org.eclipse.aether.artifact.DefaultArtifact artifact)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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