[ad_1]
I have a multi-module Maven project, in which one module is responsible for invoking OpenAPI generator on our openapi.yaml file resulting in a lot of Java sources under target/
which is then compiled into an artifact used in the rest of the project. This works well.
Unfortunately these generated sources trigger quite a few warnings in Eclipse 2022-03 after importing the Maven project. I would therefore like to know if it is possible to have m2e adjust a few compiler settings for this module only, when importing the project, or if my only option is to set this in Eclipse and then carefully commit the resulting configuration files?
Our goal is to have as near a “pure Maven” solution as possible. Can this be done?
[ad_2]