<div dir="ltr">Hey,<div>thanks for the reply. With the update of version and enabling the profile, Jacoco produces a report.</div><div>To enable SonarQube to show code coverage reports, I also added this property</div><div><br></div><div>{code}</div><div>sonar.java.binaries=target/jacoco/prep/classes</div><div>{code}</div><div><br></div><div>to sonar-project properties file.</div><div>Hope it helps :)</div><div><br></div><div>Polina</div><div class="gmail_extra"><br><div class="gmail_quote">On 21 July 2017 at 19:20, Dimitra Zuccarelli <span dir="ltr"><<a href="mailto:dimitrazuccarelli@gmail.com" target="_blank">dimitrazuccarelli@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi everyone, <div><br></div><div>I'm attempting to do the same as Polina. We finally managed to get it working, after Massimiliano kindly pointed out to me that the code-coverage profile isn't enabled by default. I also had to update the version to the latest (I'll make a PR for this on the master branch now). </div><div><br></div><div>Although the jacoco.exec is being generated, we still can't get SonarQube to pick up the code coverage (I added <span style="font-family:Menlo;font-size:9pt;color:rgb(0,0,128);background-color:rgb(228,228,255);font-weight:bold">sonar.jacoco.reportPaths</span><span style="color:rgb(0,0,0);font-family:Menlo;font-size:9pt"><wbr>=</span><span style="font-family:Menlo;font-size:9pt;color:rgb(0,128,0);font-weight:bold">target/jacoco/prep/jacoco.<wbr>exec </span>to sonar-project.properties). If anyone has managed to do this please let us know! </div><div><br></div><div>Thanks!</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Fri, Jul 21, 2017 at 3:09 PM, Polina Koleva <span dir="ltr"><<a href="mailto:polina.n.koleva@gmail.com" target="_blank">polina.n.koleva@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hey, everyone :)<div>I am exploring SonarQube and I have seen that the UPS has code coverage maven profile with Jacoco. Unfortunately, it doesn't generate a report for me. </div><div>So does anyone use it? And is it working for you?</div><div><br></div><div>Thanks in advance.</div><span class="m_1034341346368928597HOEnZb"><font color="#888888"><div>Polina</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></font></span></div>
<br></div></div>______________________________<wbr>_________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailma<wbr>n/listinfo/aerogear-dev</a><br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/aerogear-dev</a><br></blockquote></div><br></div></div>