Hello, all
I am trying to generate jacoco report for our project.
There are about 40 sub modules, and an integration testing project which relay on most of them.
I am following this page, and I can generate the report for other project except intergration project.
[ERROR] Failed to execute goal org.jacoco:jacoco-maven-plugin:0.7.8:report (jacoco-site) on project test.ss.integration_test_suite: An error has occurred in JaCoCo report generation. Error while creating report: Error while analyzing /home/test/workspace/test-jacoco/integration_test_suite/target/classes/ruby/gems/gems/jruby-openssl-0.9.18-java/lib/org/bouncycastle/bcpkix-jdk15on/1.55/bcpkix-jdk15on-1.55.jar@org/bouncycastle/cert/AttributeCertificateHolder.class. Can't add different class with same name: org/bouncycastle/cert/AttributeCertificateHolder -> [Help 1]
I am trying to exclude this class in maven-dependency-plugin and it seems it doesn't work.
<excludes>org/bouncycastle/cert/AttributeCertificateHolder.class</excludes>
I tried to exclude jars, then this error doesn't show up, but the integration project fails to start.
Is there any suggestion for this problem?
Thanks for help in advance.