Clover+Maven+Eclipse -


I am using eclipse + maven2 to create my applications. I have to start working with clover.

My question is: What is the best way to combine these 3 with your experience?

I mean, I know that there is a clover plugin for eclipse, there is also a trifle plugin for maven2 and certainly the maven plugin for the eclipse (m2eclipse - which I previously used I am doing).

What should I do and how?

Thank you.

Use, under Eclipse.

Use Maven to add site generation below:

  & lt; Project & gt; [...] & lt; Build & gt; & Lt; Plugins & gt; & Lt; Plugin & gt; & Lt; Group & gt; Com.atlassian.maven.plugins & lt; / Group & gt; & Lt; ArtifactId & gt; Maven-clover2-plugin & lt; / ArtifactId> & Lt; Configuration & gt; [...] & lt; / Configuration & gt; & Lt; Hanging & gt; & Lt; Execution & gt; & Lt; Step & gt; Pre-site & lt; / Step & gt; & Lt; Goals & gt; & Lt; Goal & gt; Device & lt; / Target & gt; & Lt; / Targets & gt; & Lt; / Execution & gt; & Lt; / Hanging & gt; & Lt; / Plugin & gt; & Lt; / Plugins & gt; & Lt; / Create & gt; [...] & lt; Reporting & gt; & Lt; Plugins & gt; [...] & lt; Plugin & gt; & Lt; Group & gt; Com.atlassian.maven.plugins & lt; / Group & gt; & Lt; ArtifactId & gt; Maven-clover2-plugin & lt; / ArtifactId> & Lt; Configuration & gt; [...] & lt; / Configuration & gt; & Lt; / Plugin & gt; & Lt; / Plugins & gt; & Lt; / Reporting & gt; [...]  

Alternatively, you can increase the percentage in case of non-compliance and may fail:

  & lt; Build & gt; & Lt; Plugins & gt; & Lt; Plugin & gt; & Lt; Group & gt; Com.atlassian.maven.plugins & lt; / Group & gt; & Lt; ArtifactId & gt; Maven-clover2-plugin & lt; / ArtifactId> & Lt; Configuration & gt; & Lt; TargetPercentage & gt; 80% & lt; / TargetPercentage & gt; & Lt; / Configuration & gt; & Lt; Hanging & gt; & Lt; Execution & gt; & Lt; Step & gt; Verified to & lt; / Step & gt; & Lt; Goals & gt; & Lt; Goal & gt; Device & lt; / Target & gt; & Lt; Goal & gt; Check & lt; / Target & gt; & Lt; / Targets & gt; & Lt; / Execution & gt; & Lt; / Hanging & gt; & Lt; / Plugin & gt; & Lt; / Plugins & gt; & Lt; / Create & gt;  

The Maven Build Master remains. Run it using your preferred method (Command Line or M2 Eclipse).


Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -