mirror of https://github.com/apache/maven.git
fixed possible corrupted source path when there are more compileSourceRoots.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@279407 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
368a03839f
commit
a35354aceb
|
@ -634,6 +634,11 @@ public class JavadocReport
|
|||
String sourceDirectory = (String) i.next();
|
||||
fileList = FileUtils.getFilesFromExtension( sourceDirectory, new String[] { "java" } );
|
||||
sourcePath.append( sourceDirectory );
|
||||
|
||||
if ( i.hasNext() )
|
||||
{
|
||||
sourcePath.append( PATH_SEPARATOR );
|
||||
}
|
||||
}
|
||||
|
||||
File javadocDirectory = new File( getProject().getBuild().getDirectory() + "/javadoc" );
|
||||
|
@ -1055,4 +1060,4 @@ public class JavadocReport
|
|||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue