CPD Results

The following document contains the results of PMD's CPD 6.55.0.

Duplications

File Line
org\apache\maven\report\projectinfo\PluginManagementReport.java 235
org\apache\maven\report\projectinfo\PluginsReport.java 213
  1. log.debug("Excluding plugin " + pluginArtifact.getId() + " from report");
  2. }
  3. }
  4. endTable();
  5.  
  6. endSection();
  7. }
  8.  
  9. // ----------------------------------------------------------------------
  10. // Private methods
  11. // ----------------------------------------------------------------------
  12.  
  13. private String[] getPluginTableHeader() {
  14. // reused key...
  15. String groupId = getI18nString("dependency-management", "column.groupId");
  16. String artifactId = getI18nString("dependency-management", "column.artifactId");
  17. String version = getI18nString("dependency-management", "column.version");
  18. return new String[] {groupId, artifactId, version};
  19. }
  20.  
  21. private String[] getPluginRow(String groupId, String artifactId, String version, String link) {
  22. artifactId = ProjectInfoReportUtils.getArtifactIdCell(artifactId, link);
  23. return new String[] {groupId, artifactId, version};
  24. }
  25.  
  26. private Comparator<Plugin> getPluginComparator() {