@ SuppressWarnings ( "unchecked" ) protected List < String > getSourceDirectories ( ) { List < String > sourceDirectories = new ArrayList < String > ( ) ; sourceDirectories . addAll ( project . getCompileSourceRoots ( ) ) ; sourceDirectories . addAll ( project . getTestCompileSourceRoots ( ) ) ; return sourceDirectories ; }
Get the directories containg sources