Class JarUtils
java.lang.Object
org.codehaus.mojo.extraenforcer.dependencies.JarUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isJarFile
(org.apache.maven.artifact.Artifact artifact)
-
Constructor Details
-
JarUtils
public JarUtils()
-
-
Method Details
-
isJarFile
public static boolean isJarFile(org.apache.maven.artifact.Artifact artifact) - Parameters:
artifact
- the artifact to check (could be a jar file, directory, etc.)- Returns:
- true if the artifact is a jar file, false if it's something else (like a directory)
-