Package net.bytebuddy.build.maven
Class MavenCoordinate
java.lang.Object
net.bytebuddy.build.maven.MavenCoordinate
A Maven coordinate.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
MavenCoordinate
(String groupId, String artifactId, String version, String packaging) Creates a new Maven coordinate. -
Method Summary
-
Field Details
-
groupId
The project's group id. -
artifactId
The project's artifact id. -
version
The project's version. -
packaging
The projects packaging.
-
-
Constructor Details
-
MavenCoordinate
Creates a new Maven coordinate.- Parameters:
groupId
- The project's group id.artifactId
- The project's artifact id.version
- The project's version.packaging
- The project's packaging
-
-
Method Details
-
asArtifact
public org.eclipse.aether.artifact.Artifact asArtifact()Returns this coordinate as a jar-fileArtifact
.- Returns:
- An artifact representation of this coordinate.
-
equals
-
hashCode
public int hashCode() -
toString
-