mirror of
https://github.com/apache/maven.git
synced 2025-03-06 16:49:27 +00:00
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 @@ private Set computeStaleSources()
|
||||
|
||||
File rootFile = new File( sourceRoot );
|
||||
|
||||
if ( !rootFile.isDirectory() )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
staleSources.addAll( scanner.getIncludedSources( rootFile, outDir ) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user