Class KeyUtils


  • public class KeyUtils
    extends Object
    KeyUtils
    • Constructor Detail

      • KeyUtils

        public KeyUtils()
    • Method Detail

      • getProjectKey

        public static String getProjectKey​(org.apache.maven.project.MavenProject project)
      • 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)
      • getVersionlessArtifactKey

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