If you want to use this library in your own project, you can integrate it with the following snipplet in your POM:
<project> ... <dependencies> <dependency> <groupId>net.sf.mavenhist</groupId> <artifactId>valueextractor</artifactId> </dependency> </dependencies> ... </project>
To use the library, just check the extractor implementations in the net.sf.mavenhist.extractor.xxx packages. There are all currently implemented extractors.
If you want to extract values for testcoverage with cobertura you have to add this configuration for cobertura to your POM:
<plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> <configuration> <formats> <format>html</format> <format>xml</format> </formats> </configuration> </plugin>
If you want to extract values for testcoverage with cobertura you have to add this configuration for cobertura to your POM:
<plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <configuration> <xmlOutput>true</xmlOutput> </configuration> </plugin>