Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testCompile phase has annotation processor warning #187

Open
karianna opened this issue Jan 23, 2025 · 1 comment
Open

testCompile phase has annotation processor warning #187

karianna opened this issue Jan 23, 2025 · 1 comment
Labels

Comments

@karianna
Copy link
Contributor

karianna commented Jan 23, 2025

Took a quick scan of the POM and it seems to be configured correctly, I will try a few quick things, but if another expert sees this first it's all yours :-).

...
[INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ spring-petclinic-rest ---
[INFO] Recompiling the module because of changed dependency.
[INFO] Compiling 18 source files with javac [debug parameters release 17] to target/test-classes
[WARNING] The following options were not recognized by any processor: '[mapstruct.suppressGeneratorVersionInfoComment, mapstruct.defaultComponentModel, mapstruct.suppressGeneratorTimestamp]'
[INFO]
...
@arey
Copy link
Member

arey commented Jan 24, 2025

According to the MapStruct documentation, the settings are corrects: https://mapstruct.org/documentation/stable/reference/html/#configuration-options

This warning has an explication given in https://stackoverflow.com/questions/74853001/warning-the-following-options-were-not-recognized-by-any-processor-for-mapstr
MapStruct is only used by the production code, not in the test classes. We could fit it.

@arey arey added the bug label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants