I am facing one issue. My java bean has specific annotations to the bean. For example:
@JcrProperty(name = "vermittlernummer")
private String vermittlernummer;
These annotations are included in code coverage when I run the build. So, it is impacting over all code coverage. I need to exclude the variable declaration annotations in Sonar cobertura code coverage.
How can we exclude variable annotation in code coverage.
Thanks.