Daniel Stieglitz created NIFI-16445:
---------------------------------------

             Summary: Remove PMD warnings littering the build output
                 Key: NIFI-16445
                 URL: https://issues.apache.org/jira/browse/NIFI-16445
             Project: Apache NiFi
          Issue Type: Improvement
            Reporter: Daniel Stieglitz
            Assignee: Daniel Stieglitz


Examples of the warning seen are

{code:java}
[WARNING] Suspicious auxClasspath entry: 
/nifi/nifi-commons/nifi-build/target/test-classes does not exist
[WARNING] Adding current platform 
/usr/lib/jvm/java-21-openjdk-21.0.12.1.1-1.1.el8.x86_64/lib/jrt-fs.jar to 
auxClasspath, which could be the wrong java version. Please add the correct 
jrt-fs.jar explicitly to the auxClasspath. See 
https://docs.pmd-code.org/latest/pmd_languages_java.html#providing-the-auxiliary-classpath
 Set env var PMD_JAVA_DISABLE_AUX_CLASSPATH_WARNINGS=true to disable this 
warning.
[WARNING] Ignoring not existing auxClasspath entry 
'/nifi/nifi-commons/nifi-build/target/test-classes'
{code}




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to