Class ArtifactResolverUtil


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

      • ArtifactResolverUtil

        @Inject
        public ArtifactResolverUtil​(org.eclipse.aether.RepositorySystem rs,
                                    org.eclipse.aether.RepositorySystemSession rss)
    • Method Detail

      • 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