From: Carlos S. <car...@gm...> - 2005-07-25 18:48:39
|
Hi, You can add the plugin as a dependency and it'll be automatically downloaded and used in that project. <dependency> <groupId>maven-plugins</groupId> <artifactId>maven-cobertura-plugin</artifactId> <version>1.1</version> <type>plugin</type> </dependency> More info: http://jroller.com/page/carlossg?entry=3Dcobertura_an_open_source_alternati= ve On 7/24/05, Elliotte Harold <el...@me...> wrote: > Elliotte Harold wrote: > > Anyone have an example of the proper use of the Maven cobertura plugin? > > At the moment I'm just getting this error message: > > > > No goal [maven-cobertura-plugin:register] > > > > What do I need to put in my maven.xml and project.xml files to make thi= s > > work? > > >=20 > Answering my own question one must first install the maven plugin by doin= g: >=20 > maven plugin:download -DgroupId=3Dmaven-plugins > -DartifactId=3Dmaven-cobertura-plugin -Dversion=3D1.1 >=20 > After that all works as expected simply by adding >=20 > <report>maven-cobertura-plugin</report> >=20 > to the reports section. Somehow I thought maven would download the > plugin automatically as necessary but I guess not. >=20 > -- > Elliotte Rusty Harold el...@me... > XML in a Nutshell 3rd Edition Just Published! > http://www.cafeconleche.org/books/xian3/ > http://www.amazon.com/exec/obidos/ISBN=3D0596007647/cafeaulaitA/ref=3Dnos= im >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dclic= k > _______________________________________________ > Cobertura-devel mailing list > Cob...@li... > https://lists.sourceforge.net/lists/listinfo/cobertura-devel > |