Class KeyUtils

java.lang.Object
org.apache.maven.buildcache.checksum.KeyUtils

public class KeyUtils extends Object
KeyUtils
  • Constructor Details

    • KeyUtils

      public KeyUtils()
  • Method Details

    • getProjectKey

      public static String getProjectKey(org.apache.maven.project.MavenProject project)
    • getProjectKey

      public static String getProjectKey(String groupId, String artifactId, String version)
    • getVersionlessProjectKey

      public static String getVersionlessProjectKey(org.apache.maven.project.MavenProject project)
    • getArtifactKey

      public static String getArtifactKey(Artifact artifact)
    • getVersionlessArtifactKey

      public static String getVersionlessArtifactKey(org.apache.maven.artifact.Artifact artifact)
    • getArtifactKey

      public static String getArtifactKey(Artifact artifact, String type)
      Computes the key for the given artifact, using the given type instead of the one defined in the artifact.
    • getArtifactKey

      public static String getArtifactKey(org.apache.maven.artifact.Artifact artifact)
    • getArtifactKey

      public static String getArtifactKey(String groupId, String artifactId, String type, String classifier, String version)
    • getVersionlessArtifactKey

      public static String getVersionlessArtifactKey(String groupId, String artifactId, String type, String classifier)