Re: Cobertura plugin doesn't generate XML

2008-09-29 Thread Nick Stolwijk
I can think of two things, that could go wrong: 1. Did you configure this under the reporting section or under the build section of your pom file? It should be under the build section afaik. 2. Otherwise, what version of the cobertura plugin are you using? Hth, Nick Stolwijk ~Java Developer~

RE: Cobertura plugin doesn't generate XML

2008-09-29 Thread mac-systems
Hello, may you can try the configuration in your reporting section of the POM. - jens Hi I'm trying to generate an XML report using the Cobertura plugin (2.2 apparently). I configured the plugin according to the documentation: plugin groupIdorg.apache.maven.plugins/groupId

Re: Cobertura plugin

2008-01-10 Thread Stephen Connolly
Danger! Will Robinson! Danger! How will you know that instrumenting your tests is not causing them to pass? Seriously, we had hand tweaked the pom to run the tests only once when they were instrumented, and as the instrumentation was forcing synchronisation (in order to track code path

Re: Cobertura plugin using version 1.7

2006-07-05 Thread tulasi
HI, when i am mvn test for mvn site, getting Error. Here I have enclosed my configuration and error. plugin groupIdorg.codehaus.mojo/groupId artifactIdcobertura-maven-plugin/artifactId configuration

Re: Cobertura plugin using version 1.7

2006-07-05 Thread leahpar
hello, I don't get the instrument goal but please find below a simple example working here ... it's all help i can give. cordialement build plugins plugin

Re: Cobertura plugin using version 1.7

2006-07-05 Thread Janhavi Phirke
Hi, Following is the simple example which is working at my end. Try it... build plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdcobertura-maven-plugin/artifactId configuration check branchrate=80 linerate=70 haltonerror=true

Re: cobertura plugin

2006-02-20 Thread Brett Porter
this problem was fixed in SVN (asm is no longer propogated to tests themselves) On 2/20/06, javed mandary [EMAIL PROTECTED] wrote: Hi David, I solved the problem with the Cobertura plugin running hibernate junit tests by adding the following dependency in my POM: dependency

Re: cobertura plugin

2006-02-20 Thread David Sag
I guess we are having different problems. In a reply to my Jira issue Carlos Sanchez points out that my problem lies in the fact that cobertura is trying to instrument the classes twice. I am not sure why this is happening, nor am i sure why this is even a problem, but clearly you are not getting

Re: cobertura plugin

2006-02-20 Thread javed mandary
Am running maven site with cobertura report generation: ?xml version=1.0 encoding=UTF-8? project [.] build resources resource directorysrc/main/resources/directory includes include*.xls/include

Re: cobertura plugin

2006-02-20 Thread David Sag
Interesting the main difference between the way you do it and the way I am doing is that I specify the goal and execution phase in my build declarations thusly: plugin groupIdorg.codehaus.mojo/groupId artifactIdcobertura-maven-plugin/artifactId version2.0-SNAPSHOT/version

RE: cobertura plugin

2006-02-20 Thread Mike Perham
:20 AM To: Maven Users List Subject: Re: cobertura plugin Interesting the main difference between the way you do it and the way I am doing is that I specify the goal and execution phase in my build declarations thusly: plugin groupIdorg.codehaus.mojo/groupId

RE: cobertura plugin

2006-02-20 Thread David Sag
no need - all this is handled internally when the plugin executes with 'cobertura:cobertura'. _ From: David Sag [mailto:[EMAIL PROTECTED] Sent: Monday, February 20, 2006 7:20 AM To: Maven Users List Subject: Re: cobertura plugin Interesting the main difference between

Re: cobertura plugin

2006-02-19 Thread javed mandary
Hi David, I solved the problem with the Cobertura plugin running hibernate junit tests by adding the following dependency in my POM: dependency groupIdasm/groupId artifactIdasm/artifactId version1.5.3/version /dependency It seems that Cobertura is looking

Re: cobertura plugin

2006-02-17 Thread David Sag
Please - that would be nice. Kind regards, Dave Sag Arnaud HERITIER [EMAIL PROTECTED] wrote on 16-02-2006 16:24:10: Isn't it possible to release it ? Arnaud On 2/16/06, Mike Perham [EMAIL PROTECTED] wrote: The plugin code in SVN already uses 1.7. It's never been released so

Re: cobertura plugin

2006-02-17 Thread Nicolas De Loof
1.2-SNAPSHOT works fine for me. Thanks ! Nicolas De Loof a écrit : I'm using maven-cobertura-plugin from [EMAIL PROTECTED] As this site uses CVS, this seems you've in mind another cobertura plugin. Where to find it ? Mike Perham a écrit : The plugin code in SVN already uses 1.7. It's

Re: cobertura plugin

2006-02-17 Thread javed mandary
Is the 1.2-SNAPSHOT for maven 1 or for maven 2 ? On 2/17/06, Nicolas De Loof [EMAIL PROTECTED] wrote: 1.2-SNAPSHOT works fine for me. Thanks ! Nicolas De Loof a écrit : I'm using maven-cobertura-plugin from [EMAIL PROTECTED] As this site uses CVS, this seems you've in mind another

Re: cobertura plugin

2006-02-17 Thread Arnaud HERITIER
maven 1 Arnaud On 2/17/06, javed mandary [EMAIL PROTECTED] wrote: Is the 1.2-SNAPSHOT for maven 1 or for maven 2 ? On 2/17/06, Nicolas De Loof [EMAIL PROTECTED] wrote: 1.2-SNAPSHOT works fine for me. Thanks ! Nicolas De Loof a écrit : I'm using maven-cobertura-plugin from

Re: cobertura plugin

2006-02-17 Thread David Sag
Sorry are you talking about maven 1 or 2 plugin? I was told that 2.0-SNAPSHOT is the one to use for maven 2 but since updating to maven 2.0.2 the reporting part of cobertura hasn't worked. Kind regards, Dave Sag Nicolas De Loof [EMAIL PROTECTED] wrote on 17-02-2006 11:12:27:

Re: cobertura plugin

2006-02-17 Thread Brett Porter
On 2/17/06, David Sag [EMAIL PROTECTED] wrote: Sorry are you talking about maven 1 or 2 plugin? They are talking about Maven 1.0 I was told that 2.0-SNAPSHOT is the one to use for maven 2 but since updating to maven 2.0.2 the reporting part of cobertura hasn't worked. I can't reproduce

Re: cobertura plugin

2006-02-17 Thread David Sag
Sorry brett the last i heard from you was that you were working on the problem and there would be a release late this week. So I have been working on other things and waiting paitiently. But if you are now telling me I need to file a jira issue then that's what i'll do. I'll have to put

Re: cobertura plugin

2006-02-17 Thread Brett Porter
Hi David, There might be a release coming up, but we haven't worked on your issue and there are still some other issues outstanding that should be fixed first. If you could confirm that cobertura fails for you on the repository manager app (if SVN is a problem I can upload it somewhere), that

Re: cobertura plugin

2006-02-17 Thread David Sag
Hi Brett I have files jira issue http://jira.codehaus.org/browse/MOJO-299 and included an example project that displays the bug. if you could put your repo manager code somewhere in a zip file I can try it out here and see if I get the same problems. Kind regards, Dave Sag Brett Porter

Re: cobertura plugin

2006-02-17 Thread javed mandary
ok , what about the cobertura plugin for maven 2 ? In maven site I am getting a problem after cobertura runs the junit tests and try to create a report it crashes and fails the build. Has anyone got similar problems and any solutions to that? this is what i am using: plugin

Re: cobertura plugin

2006-02-17 Thread David Sag
Maven 2 is what I am on about. see the jira issue, but i am getting the same problem as you describe. perhaps you'd like to vote on that issue and add your comments there. Kind regards, Dave Sag javed mandary [EMAIL PROTECTED] wrote on 17-02-2006 14:14:17: ok , what about the cobertura

Re: cobertura plugin

2006-02-16 Thread Arnaud HERITIER
I'm not a developer on mavenn plugins @ sf and I don't if there's lot of activity. If nobody can do it, I'll ask to add me to the dev team to do it. Arnaud On 2/16/06, Nicolas De Loof [EMAIL PROTECTED] wrote: Is there any plan to upgrade cobertura plugin to use cobertura 1.7 ? I'm using

RE: cobertura plugin

2006-02-16 Thread Mike Perham
The plugin code in SVN already uses 1.7. It's never been released so you must be using an old version you compiled. Update svn and recompile it. -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16, 2006 8:36 AM To: Maven Users List Subject:

Re: cobertura plugin

2006-02-16 Thread Arnaud HERITIER
Isn't it possible to release it ? Arnaud On 2/16/06, Mike Perham [EMAIL PROTECTED] wrote: The plugin code in SVN already uses 1.7. It's never been released so you must be using an old version you compiled. Update svn and recompile it. -Original Message- From: Nicolas De Loof

Re: cobertura plugin

2006-02-16 Thread Nicolas De Loof
I'm using maven-cobertura-plugin from [EMAIL PROTECTED] As this site uses CVS, this seems you've in mind another cobertura plugin. Where to find it ? Mike Perham a écrit : The plugin code in SVN already uses 1.7. It's never been released so you must be using an old version you compiled.

RE: cobertura plugin

2006-02-16 Thread Mike Perham
16, 2006 9:24 AM To: Maven Users List Subject: Re: cobertura plugin Isn't it possible to release it ? Arnaud On 2/16/06, Mike Perham [EMAIL PROTECTED] wrote: The plugin code in SVN already uses 1.7. It's never been released so you must be using an old version you compiled. Update svn

RE: cobertura plugin

2006-02-16 Thread Mike Perham
You are referring to the M1 plugin. I'm referring to the M2 plugin. Sorry for the mixup. -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16, 2006 9:26 AM To: Maven Users List Subject: Re: cobertura plugin I'm using maven-cobertura-plugin

Re: cobertura plugin

2006-02-16 Thread Carlos Sanchez
A snapshot has been deployed at http://maven-plugins.sourceforge.net/snapshot-repository/maven-plugins/plugins/ Please test it and we can make a new release On 2/16/06, Nicolas De Loof [EMAIL PROTECTED] wrote: Is there any plan to upgrade cobertura plugin to use cobertura 1.7 ? I'm using

Re: cobertura plugin breaks with maven 2.02 - wors fine with 2.0

2006-01-26 Thread Nigel Magnay
You need to svn-update the cobertura mojo and rebuild it - the bug has been fixed for 2.0.2.,.. On 26/01/06, David Sag [EMAIL PROTECTED] wrote: I have just updated my maven 2 to 2.0.2 and now the instrumentation of my classes fails when using the cobertura plugin. I get

Re: cobertura plugin breaks with maven 2.02 - wors fine with 2.0

2006-01-26 Thread Jason van Zyl
Nigel Magnay wrote: You need to svn-update the cobertura mojo and rebuild it - the bug has been fixed for 2.0.2.,.. I'll ping the current fellow working on the plugin and see if he can do a release. On 26/01/06, David Sag [EMAIL PROTECTED] wrote: I have just updated my maven 2 to 2.0.2