title: Spring test rest api
body: <p>We have a three maven modules</p>
  
  <p>First Project consists of all Rest API.</p>
  
  <p>Second contains Business classes</p>
  
  <p>Third contains DAL classes.</p>
  
  <p>I have written test cases only in my rest api layer. I have configured jacoco plugin to create code coverage report. It works fine. But my problem is the code coverage report only gets created for rest api layer. How can i create code coverage report for all the layers even though the test cases are only written in rest api module . Is this something possible?</p>
  
  <pre><code>Parent
    ------REST(Test cases are only return for rest api methods)
    ------Business
    ------DAL
  </code></pre>