in src/main/java/org/apache/maven/shared/verifier/Verifier.java [1505:1513]
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 );
}
}