[
https://issues.apache.org/jira/browse/NIFI-16445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Stieglitz updated NIFI-16445:
------------------------------------
Description:
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}
Apparently the warning are as a result of changes to the PMD API in 7.27.0
found on the following page
https://github.com/pmd/pmd/releases/tag/pmd_releases%2F7.27.0
was:
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}
Apparently the warning of changes to the PMD API in 7.27.0 found on the
following page https://github.com/pmd/pmd/releases/tag/pmd_releases%2F7.27.0
> 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
> Priority: Minor
>
> 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}
> Apparently the warning are as a result of changes to the PMD API in 7.27.0
> found on the following page
> https://github.com/pmd/pmd/releases/tag/pmd_releases%2F7.27.0
--
This message was sent by Atlassian Jira
(v8.20.10#820010)