Class ArtifactResolutionHelper
java.lang.Object
org.moditect.mavenplugin.util.ArtifactResolutionHelper
-
Constructor Summary
ConstructorsConstructorDescriptionArtifactResolutionHelper(org.eclipse.aether.RepositorySystem repoSystem, org.eclipse.aether.RepositorySystemSession repoSession, List<org.eclipse.aether.repository.RemoteRepository> remoteRepos) -
Method Summary
Modifier and TypeMethodDescriptionList<org.eclipse.aether.graph.DependencyNode> getCompilationDependencies(org.eclipse.aether.artifact.Artifact inputArtifact) Returns the dependencies applicable when compiling the given artifact (as far as that's possible, if e.g. the POM of the dependency doesn't contain specific dependencies used during compilation, we cannot retrieve them here).org.eclipse.aether.artifact.ArtifactresolveArtifact(org.eclipse.aether.artifact.Artifact inputArtifact) org.eclipse.aether.artifact.ArtifactresolveArtifact(ArtifactConfiguration artifact)
-
Constructor Details
-
ArtifactResolutionHelper
public ArtifactResolutionHelper(org.eclipse.aether.RepositorySystem repoSystem, org.eclipse.aether.RepositorySystemSession repoSession, List<org.eclipse.aether.repository.RemoteRepository> remoteRepos)
-
-
Method Details
-
resolveArtifact
public org.eclipse.aether.artifact.Artifact resolveArtifact(ArtifactConfiguration artifact) throws org.apache.maven.plugin.MojoExecutionException - Throws:
org.apache.maven.plugin.MojoExecutionException
-
resolveArtifact
public org.eclipse.aether.artifact.Artifact resolveArtifact(org.eclipse.aether.artifact.Artifact inputArtifact) throws org.apache.maven.plugin.MojoExecutionException - Throws:
org.apache.maven.plugin.MojoExecutionException
-
getCompilationDependencies
public List<org.eclipse.aether.graph.DependencyNode> getCompilationDependencies(org.eclipse.aether.artifact.Artifact inputArtifact) throws org.apache.maven.plugin.MojoExecutionException Returns the dependencies applicable when compiling the given artifact (as far as that's possible, if e.g. the POM of the dependency doesn't contain specific dependencies used during compilation, we cannot retrieve them here).- Throws:
org.apache.maven.plugin.MojoExecutionException
-