adoroszlai opened a new pull request, #9907: URL: https://github.com/apache/ozone/pull/9907
## What changes were proposed in this pull request? Fix compiler warnings about unrecognized annotation processor options. ``` [WARNING] The following options were not recognized by any processor: '[artifactId]' [WARNING] The following options were not recognized by any processor: '[project]' ``` 1. Add `artifactId` as supported option in `ConfigFileGenerator`. This removes the warning for modules where this annotation processor is used. 2. Restrict `artifactId` argument to `default-compile` (compilation of `src/main/java`), since tests in most modules do not have any annotated configs. Add as plugin-level config where tests do use it (`hdds-common`, `hdds-server-framework`). 3. Similarly, restrict `project` argument to `default-compile`. This option is supported by picocli's `NativeImageConfigGeneratorProcessor` for CLI code generation. https://issues.apache.org/jira/browse/HDDS-14789 ## How was this patch tested? `not recognized by any processor` does not appear in [build output](https://github.com/adoroszlai/ozone/actions/runs/22939671409/job/66578424749#step:13:23). CI: https://github.com/adoroszlai/ozone/actions/runs/22939671409 -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
