ShrinkWrap Resolver Aggregator 2.0.1-SNAPSHOT
org.jboss.shrinkwrap.resolver.api.maven.coordinate

Interface MavenCoordinate

    • Method Detail

      • getPackaging

        PackagingType getPackaging()
        Returns the "packaging" portion of this artifact's coordinates; always returns a value. Defaults to PackagingType.JAR.
        Returns:
      • getClassifier

        String getClassifier()
        Returns the "classifier" portion of this artifact's coordinates.
        Returns:
      • getVersion

        String getVersion()
        Returns the declared "version" portion of this artifact's coordinates, for instance "1.2.0-alpha-2" or "1.2.0-SNAPSHOT". This is the value of the "version" field as declared in the POM. During artifact resolution, SNAPSHOT versions may be set to a fixed SNAPSHOT as represented by MavenArtifactInfo.getResolvedVersion().
        Returns:
        The base version, never null.
      • hashCode

        int hashCode()
        Overrides:
        hashCode in class Object
        Returns:
      • equals

        boolean equals(Object other)
        Determines whether two MavenCoordinate instances are equal by value; all fields are considered except for version
        Overrides:
        equals in class Object
        Parameters:
        other -
        Returns:
      • getGroupId

        String getGroupId()
        Returns the "groupId" portion of this artifact's coordinates
        Returns:
      • getArtifactId

        String getArtifactId()
        Returns the "artifactId" portion of this artifact's coordinates
        Returns:
ShrinkWrap Resolver Aggregator 2.0.1-SNAPSHOT

Copyright © 2013 JBoss by Red Hat. All rights reserved.