uhafner opened a new issue, #757:
URL: https://github.com/apache/maven-pmd-plugin/issues/757

   ### New feature, improvement proposal
   
   The latests PMD version introduced a new option to provide the auxiliary 
classpath. When the option is not used, a new warning is issued.
   
   ```
   [WARNING] Adding current platform 
/Library/Java/JavaVirtualMachines/temurin-25.jdk/Contents/Home/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 
   ```
   
   One can suppress the check via an environment variable, but that requires 
that every CI build script needs to be adapted with a new environment variable 
which is very cumbersome. It would be helpful to expose this toggle as a plugin 
property. Then one can quite this option in all projects using the pom.xml.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to