import java.io.*; import java.util.*; import java.util.regex.*; import org.codehaus.plexus.util.*; try { File buildFile = new File( basedir, "maven-build.xml" ); String xml = FileUtils.fileRead( buildFile, "UTF-8" ); Matcher m0 = Pattern.compile( " for local artifacts from repo0." ); return false; } Matcher m1 = Pattern.compile( " for local artifacts from repo1." ); return false; } Matcher m2 = Pattern.compile( " for local artifacts from repo2." ); return false; } } catch( Throwable t ) { t.printStackTrace(); return false; } return true;