@Test
public void testNonCompatExactVersion()
    throws Exception
{

    List<String> pathList = Collections.singletonList( "src/test/resources/metadata1-non-compat.xml" );
    MetadataResolver resolver = new MetadataResolver( pathList );
    Artifact artifact = new DefaultArtifact( "gid", "aid", "ext", "cla", Artifact.DEFAULT_VERSION );
    ArtifactMetadata am = resolver.resolveArtifactMetadata( artifact );
    assertNotNull( am );
    assertEquals( "/foo/bar", am.getPath() );
}