o Making sure that non-existing source roots aren't scanned for sources.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165295 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Trygve Laugstol 2005-04-29 11:30:03 +00:00
parent 07a1e529f8
commit fbfa68d0b1
1 changed files with 5 additions and 0 deletions

View File

@ -189,6 +189,11 @@ public abstract class AbstractCompilerMojo
File rootFile = new File( sourceRoot );
if ( !rootFile.isDirectory() )
{
continue;
}
try
{
staleSources.addAll( scanner.getIncludedSources( rootFile, outDir ) );