Jacoco.exec is not getting created for all modules in multi-module maven project -


we using jacoco unit test code coverage in our multi-module maven project , able coverage info(jacoco.exec) of modules unit tests available. issue i'm seeing is, jacoco.exec not getting generated of classes in few modules though unit tests available (note surefire-reports generated).

able coverage info same unit tests when used cobertura.

the following parent pom.xml i've added jacoco-maven-plugin info. please if there issues pom.xml.


    <modules>         <module>module1</module>         <module>module2</module>                 <module>module3</module>         <module>module4</module>     </modules>      <build>         <plugins>             <plugin>                 <groupid>org.jacoco</groupid>                 <artifactid>jacoco-maven-plugin</artifactid>                 <version>0.7.8</version>                 <executions>                     <execution>                         <id>default-prepare-agent</id>                         <goals>                             <goal>prepare-agent</goal>                         </goals>                         <configuration>                             <propertyname>argline</propertyname>                         </configuration>                     </execution>                     <execution>                         <id>jacoco-site</id>                         <phase>package</phase>                         <goals>                             <goal>report</goal>                         </goals>                     </execution>                 </executions>             </plugin>              <plugin>                 <groupid>org.apache.maven.plugins</groupid>                 <artifactid>maven-surefire-plugin</artifactid>                 <version>2.17</version>                 <configuration>                                              <argline>@{argline} -xmx500m -xx:maxpermsize=256m</argline>                                                      </configuration>             </plugin>          </plugins>     </build> 

thanks in advance!!


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -