org.apache.openejb.resolver.maven
Class AetherBasedResolver

java.lang.Object
  extended by org.apache.openejb.resolver.maven.AetherBasedResolver

public class AetherBasedResolver
extends Object


Constructor Summary
AetherBasedResolver(org.ops4j.pax.url.maven.commons.MavenConfigurationImpl configuration, org.ops4j.pax.url.maven.commons.MavenRepositoryURL repositoryURL)
          Create a AetherBasedResolver
 
Method Summary
 InputStream resolve(String groupId, String artifactId, String classifier, String extension, String version)
           
 org.sonatype.aether.resolution.VersionRangeResult resolveVersions(String groupId, String artifactId, String classifier, String extension, String version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AetherBasedResolver

public AetherBasedResolver(org.ops4j.pax.url.maven.commons.MavenConfigurationImpl configuration,
                           org.ops4j.pax.url.maven.commons.MavenRepositoryURL repositoryURL)
                    throws MalformedURLException
Create a AetherBasedResolver

Parameters:
configuration - (must be not null)
repositoryURL -
Throws:
MalformedURLException - in case of url problems in configuration.
Method Detail

resolve

public InputStream resolve(String groupId,
                           String artifactId,
                           String classifier,
                           String extension,
                           String version)
                    throws IOException
Throws:
IOException

resolveVersions

public org.sonatype.aether.resolution.VersionRangeResult resolveVersions(String groupId,
                                                                         String artifactId,
                                                                         String classifier,
                                                                         String extension,
                                                                         String version)


Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.