michael-o commented on code in PR #154: URL: https://github.com/apache/maven-pmd-plugin/pull/154#discussion_r1635331936
########## src/main/java/org/apache/maven/plugins/pmd/PmdReport.java: ########## @@ -513,23 +513,11 @@ private String determineAuxClasspath() throws MavenReportException { resolvedArtifact.getArtifact().getFile().toString()); } - List<String> projectClasspath = includeTests - ? localProject.getTestClasspathElements() - : localProject.getCompileClasspathElements(); - - // Add the project's target folder first - classpath.addAll(projectClasspath); - if (!localProject.isExecutionRoot()) { - for (String path : projectClasspath) { - File pathFile = new File(path); - String[] children = pathFile.list(); - - if (!pathFile.exists() || (children != null && children.length == 0)) { - getLog().warn("The project " + localProject.getArtifactId() - + " does not seem to be compiled. PMD results might be inaccurate."); Review Comment: I have the feeling that the goals need a logical cleanup with non-agggregate/aggregate compared to other plugins which need to for something... -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org