
io.hawt.aether.AetherFacadeMXBean Maven / Gradle / Ivy
package io.hawt.aether;
import org.codehaus.plexus.PlexusContainerException;
import org.codehaus.plexus.component.repository.exception.ComponentLookupException;
import org.sonatype.aether.collection.DependencyCollectionException;
import org.sonatype.aether.resolution.ArtifactResolutionException;
import org.sonatype.aether.resolution.DependencyResolutionException;
import java.net.MalformedURLException;
import java.util.List;
/**
*/
public interface AetherFacadeMXBean {
String resolveJson(String mavenCoords) throws ComponentLookupException, DependencyCollectionException, PlexusContainerException, ArtifactResolutionException, DependencyResolutionException;
String resolveJson(String groupId, String artifactId, String version, String extension, String classifier) throws ComponentLookupException, DependencyCollectionException, PlexusContainerException, ArtifactResolutionException, DependencyResolutionException;
/**
* Resolves the set of maven coordinates of the form group/artifact/version[/classifier/type]
to a local file name on the local machine
*/
String resolveUrlToFileName(String mvnUrl) throws MalformedURLException, ComponentLookupException, DependencyCollectionException, PlexusContainerException, DependencyResolutionException, ArtifactResolutionException;
/**
* Resolves the set of maven coordinates of the form group/artifact/version[/classifier/type]
to a local file name on the local machine
*/
String resolveUrlAndRepositoriesToFileName(String mvnUrl, String repositoryUrls) throws MalformedURLException, ComponentLookupException, DependencyCollectionException, PlexusContainerException, DependencyResolutionException, ArtifactResolutionException;
/**
* Resolves just the artifact to a file via maven coordinates of the form group/artifact/version[/classifier/type]
using the repository (without Aether)
*/
String resolveArtifactUrlToFileName(String mvnUrl) throws MalformedURLException, ComponentLookupException, DependencyCollectionException, PlexusContainerException, DependencyResolutionException, ArtifactResolutionException;
String resolveArtifactUrlAndRepositoriesToFileName(String mvnUrl, String repositoryUrls) throws MalformedURLException, ComponentLookupException, DependencyCollectionException, PlexusContainerException, DependencyResolutionException, ArtifactResolutionException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy