mirror of https://github.com/apache/maven.git
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:
parent
07a1e529f8
commit
fbfa68d0b1
|
@ -189,6 +189,11 @@ public abstract class AbstractCompilerMojo
|
|||
|
||||
File rootFile = new File( sourceRoot );
|
||||
|
||||
if ( !rootFile.isDirectory() )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
staleSources.addAll( scanner.getIncludedSources( rootFile, outDir ) );
|
||||
|
|
Loading…
Reference in New Issue