Could someone validate this test case? package org.apache.maven.scm;
import java.io.File; import java.io.IOException; import junit.framework.TestCase; public class ScmFileSetTest extends TestCase { public void testExcludes() throws IOException { ScmFileSet fileSet = new ScmFileSet( new File( "." ), null, "**/target/**" ); File [] files = fileSet.getFiles(); for ( int i = 0; i < files.length; ++i ) { if ( files[i].getAbsolutePath().indexOf("target") != -1 ) { fail("Found excludes in file set"); } } } }