Sun, 24 Sep 2023 18:04:51 +0200, /Delany/:

Thank you. Its not happening though. I also tried it from the pom, so
<arg>-Xplugin:ErrorProne
-XepExcludedPaths:.*/target/.* @${build.root}/ep.config</arg>

@files are Java 9+ feature for tools other than javadoc – just making sure you're not using Java 8 here.

If @file is specified it must exist, although it could be empty. If the file doesn't exist the tool would fail.

I've just noticed you're providing multiple arguments in a single <arg> element – I'm not sure if this is supposed to work like that. Maybe try:

  <arg>-Xplugin:ErrorProne</arg>
  <arg>-XepExcludedPaths:.*target.*</arg>
  <arg>@${build.root}/ep.config</arg>

Made more difficult by lack of visibility what's going on with the javac
processors.

mvn -X (--debug) could be overwhelming but could possibly provide insight of what's happening.

--
Stanimir

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to