Class MavenCoordinate


  • public class MavenCoordinate
    extends java.lang.Object
    A Maven coordinate.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected MavenCoordinate​(java.lang.String groupId, java.lang.String artifactId, java.lang.String version)
      Creates a new Maven coordinate.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.eclipse.aether.artifact.Artifact asArtifact()
      Returns this coordinate as a jar-file Artifact.
      boolean equals​(java.lang.Object object)  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MavenCoordinate

        protected MavenCoordinate​(java.lang.String groupId,
                                  java.lang.String artifactId,
                                  java.lang.String version)
        Creates a new Maven coordinate.
        Parameters:
        groupId - The project's group id.
        artifactId - The project's artifact id.
        version - The project's version.
    • 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.
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object