Class M2ArtifactRecognizer

java.lang.Object
org.apache.maven.index.artifact.M2ArtifactRecognizer

public class M2ArtifactRecognizer extends Object
Utility methods for basic "detection" of artifact kind in M2 repository.
  • Constructor Details

    • M2ArtifactRecognizer

      public M2ArtifactRecognizer()
  • Method Details

    • isChecksum

      public static boolean isChecksum(String path)
      Is this item M2 Checksum?
    • isPom

      public static boolean isPom(String path)
      Is this item M2 POM?
    • isSnapshot

      public static boolean isSnapshot(String path)
      Is this item M2 Snapshot?
      Parameters:
      path -
      Returns:
    • isMetadata

      public static boolean isMetadata(String path)
      Is this item M2 metadata?
    • isSignature

      public static boolean isSignature(String path)