Package org.smallmind.artifact.maven
Class MavenRepository
java.lang.Object
org.smallmind.artifact.maven.MavenRepository
-
Constructor Summary
ConstructorsConstructorDescriptionMavenRepository(String repositoryId, boolean offline) MavenRepository(String settingsDirectory, String repositoryId, boolean offline) -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.aether.artifact.ArtifactacquireArtifact(org.eclipse.aether.DefaultRepositorySystemSession session, org.eclipse.aether.artifact.Artifact artifact) org.eclipse.aether.artifact.ArtifactacquireArtifact(org.eclipse.aether.DefaultRepositorySystemSession session, MavenCoordinate mavenCoordinate) org.eclipse.aether.DefaultRepositorySystemSessionorg.eclipse.aether.artifact.Artifact[]resolve(org.eclipse.aether.DefaultRepositorySystemSession session, org.eclipse.aether.artifact.Artifact artifact)
-
Constructor Details
-
MavenRepository
public MavenRepository(String repositoryId, boolean offline) throws org.apache.maven.settings.building.SettingsBuildingException - Throws:
org.apache.maven.settings.building.SettingsBuildingException
-
MavenRepository
public MavenRepository(String settingsDirectory, String repositoryId, boolean offline) throws org.apache.maven.settings.building.SettingsBuildingException - Throws:
org.apache.maven.settings.building.SettingsBuildingException
-
-
Method Details
-
generateSession
public org.eclipse.aether.DefaultRepositorySystemSession generateSession() -
acquireArtifact
public org.eclipse.aether.artifact.Artifact acquireArtifact(org.eclipse.aether.DefaultRepositorySystemSession session, MavenCoordinate mavenCoordinate) throws org.eclipse.aether.resolution.ArtifactResolutionException - Throws:
org.eclipse.aether.resolution.ArtifactResolutionException
-
acquireArtifact
public org.eclipse.aether.artifact.Artifact acquireArtifact(org.eclipse.aether.DefaultRepositorySystemSession session, org.eclipse.aether.artifact.Artifact artifact) throws org.eclipse.aether.resolution.ArtifactResolutionException - Throws:
org.eclipse.aether.resolution.ArtifactResolutionException
-
resolve
public org.eclipse.aether.artifact.Artifact[] resolve(org.eclipse.aether.DefaultRepositorySystemSession session, org.eclipse.aether.artifact.Artifact artifact) throws org.eclipse.aether.collection.DependencyCollectionException, org.eclipse.aether.resolution.DependencyResolutionException - Throws:
org.eclipse.aether.collection.DependencyCollectionExceptionorg.eclipse.aether.resolution.DependencyResolutionException
-