Hi,
I had previously worked in a simple maven project and used lombok to generate boiler-plate code for my models and also implemented unit tests for testing the business logic of the project. I had to configure lombok.config file to ignore some of the annotations in order to have good coverage with "lombok.addLombokGeneratedAnnotation = true". Everything worked fine and I was happy with the results!
One problem came up when we had to divide this project into multiple maven modules. Nothing was changed to the unit tests, as they tested the same logic, only the structure of the project change into 6 different modules with one parent (pom.xml parent). Now the lombok.config file is no longer working as the modules are not aware of this configuration and the coverage dropped a lot. Sonarqube complains that there are getters, setters not tested, but I wanted to ignore those. Is there a way to distribute this configuration across maven modules?
I tried placing different lombok.config files inside the modules themselves, but this changed nothing.
Waiting for a suggestion, if possible!
Thanks!
Kind regards,
Gabriela