1. Download maven-cobertura-plugin-1.4.jar, which is attached to the
JIRA issue; place it in MAVEN_HOME/plugins
2. Download cobertura (from the sourceforge site); and unpack it locally.
3. Copy cobertura-1.4/lib/asm/2.0.RC1/asm-2.0.RC1.jar to
%HOMEDRIVE%%HOMEPATH%/.maven/repository/asm/jars/asm-2.0.RC1.jar
4. Copy cobertura-1.4/lib/ncss/21.41/javancss.jar to
%HOMEDRIVE%%HOMEPATH%/.maven/repository/ncss/jars/javancss-21.41.jar
5. Copy cobertura-1.4/lib/ncss/21.41/ccl.jar to
%HOMEDRIVE%%HOMEPATH%/.maven/repository/ncss/jars/ccl-21.41.jar
6. Copy cobertura-1.4/cobertura.jar to
%HOMEDRIVE%%HOMEPATH%/.maven/repository/cobertura/jars/cobertura-1.4.jar

That's it!  Now, from the command line, you can execute the
cobertura:html-report goal, which will produce
target/docs/cobertura/index.html.  If you want the report included in
the generated site, just add <report>maven-cobertura-plugin</report>
to the <reports> section of project.xml.

HTHs


On 6/7/05, Jeff Jensen <[EMAIL PROTECTED]> wrote:
> It seems you have successfully installed and run it.  Will you share some
> instructions on how to set up the in-progress plugin using the latest plugin
> attached to bug 25 please? (pretty puhleeease!? ;-)
> 
> 
> Quoting Jamie Bisotti <[EMAIL PROTECTED]>:
> 
> > Are there any plans to add the Cobertura code coverage tool plugin
> > (http://jira.codehaus.org/browse/MPJCOVERAGE-25) to Maven 1.1?  1.2?
> > 2.0?  It seems to work very well; just a bit of a pain to install at
> > the moment.
> >
> > --
> > Jamie Bisotti
> > Software Engineer
> > Lexmark International, Inc.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
Jamie Bisotti
Software Engineer
Lexmark International, Inc.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to