@ExtendWith({ RepositoryManagementTestExecutionListener.class,

              ArtifactManagementTestExecutionListener.class })
@Test
public void testSnapshotValidation(@MavenRepository(repositoryId = REPOSITORY_ID_2, policy = SNAPSHOT)
                                   Repository repository,
                                   @MavenTestArtifact(repositoryId = REPOSITORY_ID_2,
                                                      id = GROUP_ID + ":" + ARTIFACT_ID,
                                                      versions = { "1.0-SNAPSHOT",
                                                                   "1.0-20131004.115330-1",
                                                                   "1.0.8-20151025.032208-1",
                                                                   "1.0.8-alpha-1-20151025.032208-1"})
                                   List<Path> validArtifactPaths)
        throws VersionValidationException, IOException
{
    for (Path validArtifactPath : validArtifactPaths)
    {
        RepositoryPath repositoryPath = (RepositoryPath) validArtifactPath.normalize();
        ArtifactCoordinates coordinates = RepositoryFiles.readCoordinates(repositoryPath);
        validator.validate(repository, coordinates);
    }
    // If we've gotten here without an exception, then things are alright.
}