@ExtendWith({ RepositoryManagementTestExecutionListener.class,

              ArtifactManagementTestExecutionListener.class })
@Test
public void testInvalidArtifacts(@MavenRepository(repositoryId = MRVV_RELEASES) Repository repository,
                                 @MavenTestArtifact(repositoryId = MRVV_RELEASES,
                                                    id = GROUP_ID + ":" + ARTIFACT_ID,
                                                    versions = { "1.0-SNAPSHOT",
                                                                 "1.0-20131004.115330-1" })
                                 List<Path> invalidArtifactPaths)
        throws IOException
{
    /*
     * Test invalid artifacts
     */
    for (Path invalidArtifactPath : invalidArtifactPaths)
    {
        RepositoryPath repositoryPath = (RepositoryPath) invalidArtifactPath.normalize();
        ArtifactCoordinates coordinates = RepositoryFiles.readCoordinates(repositoryPath);
        try
        {
            validator.validate(repository, coordinates);
            fail("Incorrectly validated artifact with version " + coordinates.getVersion());
        }
        catch (VersionValidationException e)
        {
        }
    }
}