Package org.apache.maven.plugins.deploy
Class Utils
java.lang.Object
org.apache.maven.plugins.deploy.Utils
A utility class to assist testing.
- Author:
- Benjamin Bentmann
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
verifyChecksum
(File file) Verifies the checksum files in the local repo for the given file.
-
Field Details
-
CHECKSUM_ALGORITHMS
-
-
Constructor Details
-
Utils
public Utils()
-
-
Method Details
-
verifyChecksum
public static void verifyChecksum(File file) throws org.apache.maven.plugin.MojoExecutionException, IOException Verifies the checksum files in the local repo for the given file.- Parameters:
file
- The file to verify its checksum with, must not benull
.- Throws:
org.apache.maven.plugin.MojoExecutionException
- In case the checksums were incorrect.IOException
- If the files couldn't be read.
-