CPD Results
The following document contains the results of PMD's CPD 6.55.0.
Duplications
File | Line |
---|---|
org\apache\maven\plugins\javadoc\TestJavadocJar.java | 150 |
org\apache\maven\plugins\javadoc\TestJavadocReport.java | 212 |
} @Override protected List<File> getProjectBuildOutputDirs(MavenProject p) { List<File> dirs = new ArrayList<>(); if (StringUtils.isNotEmpty(p.getBuild().getOutputDirectory())) { dirs.add(new File(p.getBuild().getOutputDirectory())); } if (StringUtils.isNotEmpty(p.getBuild().getTestOutputDirectory())) { dirs.add(new File(p.getBuild().getTestOutputDirectory())); } return dirs; } @Override protected List<String> getProjectSourceRoots(MavenProject p) { if ("pom".equals(p.getPackaging().toLowerCase())) { return Collections.emptyList(); } return p.getTestCompileSourceRoots(); |