in src/main/java/org/apache/maven/shared/verifier/Verifier.java [1274:1280]
public void verifyArtifactContent(String groupId, String artifactId, String version, String ext, String content)
throws IOException, VerificationException {
String fileName = getArtifactPath(groupId, artifactId, version, ext);
if (!content.equals(FileUtils.fileRead(fileName))) {
throw new VerificationException("Content of " + fileName + " does not equal " + content);
}
}