Daniel Stieglitz created NIFI-16448:
---------------------------------------

             Summary: Remove from build output the PMD Warning message: Adding 
current platform ../jrt-fs.jar to auxClasspath
                 Key: NIFI-16448
                 URL: https://issues.apache.org/jira/browse/NIFI-16448
             Project: Apache NiFi
          Issue Type: Improvement
            Reporter: Daniel Stieglitz


The following warning is repeatedly found in the build output:

{code:java}
[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.
{code}

Although the suggestion in the warning message is to set the given environment 
variable which can be done, that would be another thing developers would have 
to know when building. TIckets have been mad both to the PMD and Maven PMD 
plugin projects:

https://github.com/pmd/pmd/issues/7178
https://github.com/apache/maven-pmd-plugin/issues/752




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

Reply via email to