Package org.apache.maven.internal.impl
Class DefaultArtifact
java.lang.Object
org.apache.maven.internal.impl.DefaultArtifact
- All Implemented Interfaces:
Artifact
A wrapper class around a maven resolver artifact.
-
Constructor Summary
ConstructorDescriptionDefaultArtifact
(AbstractSession session, org.eclipse.aether.artifact.Artifact artifact) -
Method Summary
-
Constructor Details
-
DefaultArtifact
public DefaultArtifact(@Nonnull AbstractSession session, @Nonnull org.eclipse.aether.artifact.Artifact artifact)
-
-
Method Details
-
getArtifact
public org.eclipse.aether.artifact.Artifact getArtifact() -
key
-
getGroupId
- Specified by:
getGroupId
in interfaceArtifact
-
getArtifactId
- Specified by:
getArtifactId
in interfaceArtifact
-
getVersion
- Specified by:
getVersion
in interfaceArtifact
-
getExtension
- Specified by:
getExtension
in interfaceArtifact
-
getClassifier
- Specified by:
getClassifier
in interfaceArtifact
-
isSnapshot
public boolean isSnapshot()- Specified by:
isSnapshot
in interfaceArtifact
-
toCoordinate
- Specified by:
toCoordinate
in interfaceArtifact
-
equals
-
hashCode
public int hashCode() -
toString
-