hi
i am using maven-1.0-plugin-0.2 to get my coverage report. and new to it doing few R&D works i am unable to get report.
i have made the following entries
entries in my project properties :
maven.emma.mode.product: replace_classes
maven.emma.mode.testing: replace_classes
maven.emma.mode.report: always_run
maven.emma.output.dir: ${maven.build.dir}/emma-out
maven.emma.product_em: emma_product.em
maven.emma.testing_em: emma_testing.em
maven.emma.coverage.file: emma_coverage.ec
maven.emma.report.subdir: emma
entries in my project.xml :
included the dependancy for emma,emma_ant
given the entry for report
in my maven.xml
<goal name="SandBox-dist">
<attainGoal name="jar:install" />
<attainGoal name="emma:report" />
</goal>
but the reports are not generated. am i missing some thing.guide me
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi
i am using maven-1.0-plugin-0.2 to get my coverage report. and new to it doing few R&D works i am unable to get report.
i have made the following entries
entries in my project properties :
maven.emma.mode.product: replace_classes
maven.emma.mode.testing: replace_classes
maven.emma.mode.report: always_run
maven.emma.output.dir: ${maven.build.dir}/emma-out
maven.emma.product_em: emma_product.em
maven.emma.testing_em: emma_testing.em
maven.emma.coverage.file: emma_coverage.ec
maven.emma.report.subdir: emma
entries in my project.xml :
included the dependancy for emma,emma_ant
given the entry for report
in my maven.xml
<goal name="SandBox-dist">
<attainGoal name="jar:install" />
<attainGoal name="emma:report" />
</goal>
but the reports are not generated. am i missing some thing.guide me
Here's what I did:
1. Follow instructions in BUILD.txt in the plugin root
2. Put these entries in your project.xml:
maven.emma.mode.product=replace_classes
maven.emma.mode.testing=replace_classes
3. Put dependencies in project.xml (see plugin project.xml for example):
<dependency>
<groupId>emma</groupId>
<artifactId>emma</artifactId>
<version>2.0.latest</version>
<type>jar</type>
<url>http://emma.sourceforge.net</url>
</dependency>
<dependency>
<groupId>emma</groupId>
<artifactId>emma_ant</artifactId>
<version>2.0.latest</version>
<type>jar</type>
<url>http://emma.sourceforge.net</url>
</dependency>
4. Add report entry to project.xml:
<report>maven-emma-plugin</report>
5. Run maven site
6. Open the reports section of the site, report should be there.
let me know if this works...