in maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/JxrReport.java [69:90]
protected List<String> getSourceRoots() {
if (sourcePath != null) {
String[] sourcePathArray = sourcePath.split(";");
if (sourcePathArray.length > 0) {
return Arrays.asList(sourcePathArray);
}
}
List<String> l = new ArrayList<>();
if (!"pom".equals(getProject().getPackaging().toLowerCase(Locale.ENGLISH))) {
l.addAll(sourceDirs);
}
if (getProject().getExecutionProject() != null) {
if (!"pom".equals(getProject().getExecutionProject().getPackaging().toLowerCase(Locale.ENGLISH))) {
l.addAll(getProject().getExecutionProject().getCompileSourceRoots());
}
}
return l;
}