Package org.openrewrite.maven
Class ArtifactResolver
java.lang.Object
org.openrewrite.maven.ArtifactResolver
-
Constructor Summary
ConstructorsConstructorDescriptionArtifactResolver(org.eclipse.aether.RepositorySystem repositorySystem, org.apache.maven.execution.MavenSession session) -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.aether.artifact.ArtifactcreateArtifact(String coordinates) Set<org.eclipse.aether.artifact.Artifact>resolveArtifactsAndDependencies(Set<org.eclipse.aether.artifact.Artifact> artifacts)
-
Constructor Details
-
ArtifactResolver
public ArtifactResolver(org.eclipse.aether.RepositorySystem repositorySystem, org.apache.maven.execution.MavenSession session)
-
-
Method Details
-
createArtifact
public org.eclipse.aether.artifact.Artifact createArtifact(String coordinates) throws org.apache.maven.plugin.MojoExecutionException - Throws:
org.apache.maven.plugin.MojoExecutionException
-
resolveArtifactsAndDependencies
public Set<org.eclipse.aether.artifact.Artifact> resolveArtifactsAndDependencies(Set<org.eclipse.aether.artifact.Artifact> artifacts) throws org.apache.maven.plugin.MojoExecutionException - Throws:
org.apache.maven.plugin.MojoExecutionException
-