Class AetherArtifactMapper
java.lang.Object
io.github.ascopes.protobufmavenplugin.dependencies.aether.AetherArtifactMapper
Adapter mapper for conversion between dependency and artifact types in various library formats.
- Since:
- 2.4.4
- Author:
- Ashley Scopes
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAetherArtifactMapper
(org.eclipse.aether.artifact.ArtifactTypeRegistry artifactTypeRegistry) -
Method Summary
Modifier and TypeMethodDescription(package private) org.eclipse.aether.artifact.ArtifactTypeRegistry
(package private) Path
mapEclipseArtifactToPath
(org.eclipse.aether.artifact.Artifact eclipseArtifact) (package private) org.eclipse.aether.artifact.Artifact
mapMavenArtifactToEclipseArtifact
(org.apache.maven.artifact.Artifact mavenArtifact) (package private) org.eclipse.aether.artifact.Artifact
mapMavenDependencyToEclipseArtifact
(org.apache.maven.model.Dependency mavenDependency) (package private) org.eclipse.aether.artifact.Artifact
mapPmpArtifactToEclipseArtifact
(MavenArtifact mavenArtifact) (package private) org.eclipse.aether.graph.Dependency
mapPmpArtifactToEclipseDependency
(MavenArtifact mavenArtifact, DependencyResolutionDepth defaultDepth) private Set
<org.eclipse.aether.graph.Exclusion> mapPmpExclusionsToEclipseExclusions
(Collection<? extends MavenExclusion> exclusions)
-
Field Details
-
DEFAULT_EXTENSION
- See Also:
-
DEFAULT_SCOPE
- See Also:
-
log
private static final org.slf4j.Logger log -
artifactTypeRegistry
private final org.eclipse.aether.artifact.ArtifactTypeRegistry artifactTypeRegistry
-
-
Constructor Details
-
AetherArtifactMapper
AetherArtifactMapper(org.eclipse.aether.artifact.ArtifactTypeRegistry artifactTypeRegistry)
-
-
Method Details
-
getArtifactTypeRegistry
org.eclipse.aether.artifact.ArtifactTypeRegistry getArtifactTypeRegistry() -
mapEclipseArtifactToPath
-
mapPmpArtifactToEclipseArtifact
-
mapPmpArtifactToEclipseDependency
org.eclipse.aether.graph.Dependency mapPmpArtifactToEclipseDependency(MavenArtifact mavenArtifact, DependencyResolutionDepth defaultDepth) -
mapMavenArtifactToEclipseArtifact
org.eclipse.aether.artifact.Artifact mapMavenArtifactToEclipseArtifact(org.apache.maven.artifact.Artifact mavenArtifact) -
mapMavenDependencyToEclipseArtifact
org.eclipse.aether.artifact.Artifact mapMavenDependencyToEclipseArtifact(org.apache.maven.model.Dependency mavenDependency) -
mapPmpExclusionsToEclipseExclusions
private Set<org.eclipse.aether.graph.Exclusion> mapPmpExclusionsToEclipseExclusions(Collection<? extends MavenExclusion> exclusions)
-