Class MavenCoordinates
java.lang.Object
org.basepom.mojo.duplicatefinder.artifact.MavenCoordinates
-
Constructor Summary
ConstructorDescriptionMavenCoordinates
(org.apache.maven.artifact.Artifact artifact) MavenCoordinates
(org.apache.maven.model.Dependency dependency) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getType()
Optional<? extends org.apache.maven.artifact.versioning.ArtifactVersion>
Optional<org.apache.maven.artifact.versioning.VersionRange>
int
hashCode()
boolean
matches
(org.apache.maven.artifact.Artifact artifact) boolean
matches
(MavenCoordinates other) toString()
-
Constructor Details
-
MavenCoordinates
public MavenCoordinates(org.apache.maven.model.Dependency dependency) throws org.apache.maven.artifact.versioning.InvalidVersionSpecificationException - Throws:
org.apache.maven.artifact.versioning.InvalidVersionSpecificationException
-
MavenCoordinates
public MavenCoordinates(org.apache.maven.artifact.Artifact artifact) throws org.apache.maven.artifact.versioning.OverConstrainedVersionException - Throws:
org.apache.maven.artifact.versioning.OverConstrainedVersionException
-
-
Method Details
-
getArtifactId
-
getGroupId
-
getVersion
-
getVersionRange
-
getType
-
getClassifier
-
matches
public boolean matches(org.apache.maven.artifact.Artifact artifact) throws org.apache.maven.artifact.versioning.OverConstrainedVersionException - Throws:
org.apache.maven.artifact.versioning.OverConstrainedVersionException
-
matches
-
hashCode
public int hashCode() -
equals
-
toString
-