Class MavenCoordinate


  • public class MavenCoordinate
    extends Object
    A Maven coordinate.
    • Constructor Detail

      • MavenCoordinate

        protected MavenCoordinate​(String groupId,
                                  String artifactId,
                                  String version,
                                  String packaging)
        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 Detail

      • asArtifact

        public org.eclipse.aether.artifact.Artifact asArtifact()
        Returns this coordinate as a jar-file Artifact.
        Returns:
        An artifact representation of this coordinate.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object