Jacoco code coverage for custom sonar rules - does not show coverage

And created test cases for my custom rules as given in the link.

The custom rules i am running in CI/CD and when i run jacoco on the custom rules with the test cases as per the above guidelines, jacoco is not recognizing the test cases and shows zero coverage.

Test cases are written as given here sonar-java/AvoidAnnotationRuleTest.java at master · SonarSource/sonar-java · GitHub usisng CheckVerifier.newVerifier()

But jacoco does not instruement these test cases and provides the coverage as zero.

How to make jacoco recognize these tests as 100% coverage.

Any help from the community, pls