automatically running along with my unit tests, and generating both the XML and
HTML outputs. Answering this might require understanding what the Cobertura
plugin goals do, but perhaps this is more of a Maven question. I don't know.
For a long time, I had the following in the executions section
Hi,
I am trying to use Maven Cobertura Plugin. I want to setup different
lineRate/branchRate for different packages. But this doesnt seem to be
working.
1. haltnFailure does not work even if I set the values to 100 for the top
level module.
2. regex doesnt seem to do anything. I specified
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
artifactIdcobertura-maven-plugin/artifactId
configuration
formats
formatxml/format
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
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
. Version 2.2
Best regards,
Eric
-Ursprüngliche Nachricht-
Von: Nick Stolwijk [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 29. September 2008 12:33
An: Maven Users List
Betreff: Re: Cobertura plugin doesn't generate XML
I can think of two things, that could go wrong:
1. Did you
Hi, I'm trying to make Cobertura plugin to skip XML-beans classes in its
instrumentation, like this:
ignores
ignorecom.xyz.abc.protocol.*/ignore
ignorecom.xyz.abc.gateway.cache.*/ignore
/ignores
excludes
Hi, I'm trying to make Cobertura plugin to skip XML-beans classes in its
instrumentation, like this:
ignores
ignorecom.xyz.abc.protocol.*/ignore
ignorecom.xyz.abc.gateway.cache.*/ignore
/ignores
excludes
Houdy,
I am newby to Maven 2.
I have Introduced the Cobertura plugin in the reporting section of the
pom.xml file of my main project as follows:
reporting
...
plugins
!--
- JUNIT test report activation
) it was eliminating a major
concurrency bug that our unit tests were trying to prove was not there...
IMHO, you _want_ to run the tests twice.
-Stephen
On Jan 10, 2008 12:26 PM, globulon [EMAIL PROTECTED] wrote:
Houdy,
I am newby to Maven 2.
I have Introduced the Cobertura plugin
Cobertura 2.1 is buggy anyway, it computes wrong coverages. Try using 2.0
Thomas
Juan Ignacio Garzón [EMAIL PROTECTED] schrieb am 13.09.2007
23:06:43:
Hi im having this problem when using the Cobertura plugin.
When I execute the cobertura:cobertura goal within eclipse (m2eclipse)
I get
the Cobertura plugin.
When I execute the cobertura:cobertura goal within eclipse (m2eclipse)
I get the following error:
[INFO] Failed to configure plugin parameters for:
org.codehaus.mojo:cobertura-maven-plugin:2.1
on the command line, specify: '-Dcheck=VALUE'
Cause: Class name which
this problem when using the Cobertura plugin.
When I execute the cobertura:cobertura goal within eclipse (m2eclipse)
I get the following error:
[INFO] Failed to configure plugin parameters for:
org.codehaus.mojo:cobertura-maven-plugin:2.1
on the command line, specify: '-Dcheck=VALUE
Hi im having this problem when using the Cobertura plugin.
When I execute the cobertura:cobertura goal within eclipse (m2eclipse)
I get the following error:
[INFO] Failed to configure plugin parameters for:
org.codehaus.mojo:cobertura-maven-plugin:2.1
on the command line, specify: '-Dcheck
Send your plugin node with configuration and perhaps we can help
figure out what's going on and how to fix it.
Wayne
On 9/13/07, Juan Ignacio Garzón [EMAIL PROTECTED] wrote:
Hi im having this problem when using the Cobertura plugin.
When I execute the cobertura:cobertura goal within eclipse
We are pleased to announce the Maven Cobertura Plug-in 1.4 release!
http://maven-plugins.sourceforge.net/maven-cobertura-plugin/
Cobertura is a free Java tool that calculates the percentage of code
accessed
by tests. It can be used to identify which parts of your Java program are
lacking test
R.C.
--
View this message in context:
http://www.nabble.com/-M2--maven-cobertura-plugin%3A-cobertura.ser-tf3981334s177.html#a11302424
Sent from the Maven - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL
the target directory so no need to do
any special configuration.
- Original Message
From: CodingPlayer [EMAIL PROTECTED]
To: users@maven.apache.org
Sent: Tuesday, June 26, 2007 11:18:27 AM
Subject: [M2] maven-cobertura-plugin: cobertura.ser
Hi,
i just wonder why the cobertura.ser file
, hochraldo [EMAIL PROTECTED] wrote:
Hi Paul!
I took the source code from the cobertura subversion repository where
this
is bug is already patched and made a new jar archive which can be
downloaded
from :
http://www.softonaut.com/2007/05/12/maven-cobertura-plugin-version-21-and-the-100-line
Great! Another excuse for me to wait and fix it properly in the
cobertura plugin :)
I wonder... would the cobertura project be interested in adopting the
plugin? Does anyone have close ties with them?
- Brett
On 17/05/07, Stephane Nicoll [EMAIL PROTECTED] wrote:
A new version of cobertura
Brett, you should ask Joakim.
Stéphane
On 5/17/07, Brett Porter [EMAIL PROTECTED] wrote:
Great! Another excuse for me to wait and fix it properly in the
cobertura plugin :)
I wonder... would the cobertura project be interested in adopting the
plugin? Does anyone have close ties with them
Hi Paul!
I took the source code from the cobertura subversion repository where this
is bug is already patched and made a new jar archive which can be downloaded
from :
http://www.softonaut.com/2007/05/12/maven-cobertura-plugin-version-21-and-the-100-line-and-branch-coverage-problem/
Until
:
Hi Paul!
I took the source code from the cobertura subversion repository where this
is bug is already patched and made a new jar archive which can be downloaded
from :
http://www.softonaut.com/2007/05/12/maven-cobertura-plugin-version-21-and-the-100-line-and-branch-coverage-problem/
Until cobertura
and made a new jar archive which can be
downloaded
from :
http://www.softonaut.com/2007/05/12/maven-cobertura-plugin-version-21-and-the-100-line-and-branch-coverage-problem/
Until cobertura 1.9 will be released this interim solution works for me.
Best Regards
Mario Hochreiter
Paul Spencer-3 wrote
Someone should release cobertura 1.8.1 first because this problem is
related to a bug in cobertura itself. I'm trying to reach one of those
guys.
Stéphane
On 5/11/07, Paul Spencer [EMAIL PROTECTED] wrote:
Any idea when a new Cobertura plugin will be released - Specifically one
that fixes
Any idea when a new Cobertura plugin will be released - Specifically one
that fixes the 100% Coverage in 2.1 (MCOBERTURA-61)?
Paul Spencer
[1] http://jira.codehaus.org/browse/MCOBERTURA-61
-
To unsubscribe, e-mail: [EMAIL
-plugins.sourceforge.net/repository
-DgroupId=maven-plugins
-DartifactId=maven-cobertura-plugin -Dversion=1.3
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'plugin'.
[INFO] org.apache.maven.plugins: checking for updates from codehaus
[INFO] org.codehaus.mojo: checking
:
C:\work\pe-sms\trunk\Maven\pe-sms\coremvn plugin:download
-Dmaven.repo.remote=http://maven-plugins.sourceforge.net/repository
-DgroupId=maven-plugins
-DartifactId=maven-cobertura-plugin -Dversion=1.3
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'plugin
)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
If I try and install it manually I get:
C:\work\pe-sms\trunk\Maven\pe-sms\coremvn plugin:download
-Dmaven.repo.remote=http://maven-plugins.sourceforge.net/repository
-DgroupId=maven-plugins
-DartifactId=maven-cobertura-plugin -Dversion=1.3
[INFO
plugin:download
-Dmaven.repo.remote=http://maven-plugins.sourceforge.net/repository
-DgroupId=maven-plugins
-DartifactId=maven-cobertura-plugin -Dversion=1.3
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'plugin'.
[INFO] org.apache.maven.plugins: checking
We are pleased to announce the Maven Cobertura Plug-in 1.3 release!
http://maven-plugins.sourceforge.net/maven-cobertura-plugin
Cobertura is a free Java tool that calculates the percentage of code
accessed
by tests. It can be used to identify which parts of your Java program are
lacking test
Hi everyone,
I faced the problem with the current release of the maven-cobertura-plugin
2.0 that the cobertura.ser file could not be found in case of projects
that do not contain Java source code - one project for parent pom and one
for the multimodule build of my application.
As far as I know
This is great news, thanks for the update! Any idea when version 2.1 will be
available through iBiblio? I can't seem to find the snapshot release.
Cheers,
GB
Joakim Erdfelt-2 wrote:
Funny that this should come up.
I just committed MCOBERTURA-46 (Upgrade to cobertura 1.8) just a minute
Funny that this should come up.
I just committed MCOBERTURA-46 (Upgrade to cobertura 1.8) just a minute ago.
There is a bug in the datafile location setting ability in cobertura 1.8
I have arranged a patch on the cobertura side, but need help from other
interested parties to get it commited
/12M
[INFO]
I dont why its creates multiple folders in classes directory.
Please help me on this issue.
--
View this message in context:
http://www.nabble.com/Cobertura-plugin-using-version-1.7-tf1889535.html#a5178718
Sent
groupIdorg.codehaus.mojo/groupId
artifactIdcobertura-maven-plugin/artifactId
/plugin
--
View this message in context:
http://www.nabble.com/Cobertura-plugin-using-version-1.7-tf1889535.html#a5182548
Sent
--
View this message in context:
http://www.nabble.com/Cobertura-plugin-using-version-1.7-tf1889535.html#a5182548
Sent from the Maven - Users forum at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
Hi all,
It seems to me that the current M2 Cobertura plugin is still using the 1.7
runtime, when a 1.8 runtime was released back in April. Are there any plans to
switch to the latest version any time soon?
Thanks,
GB
,
I've been trying to get the cobertura plugin running on our project, but
I'm having the same problems Daun DeFrance was having (March 28:
Continued Cobertura Plugin Issues). That is, if I run the site goal
after the clean goal, I end up with a report that shows 0% test
Hello,
I've been trying to get the cobertura plugin running on our project, but
I'm having the same problems Daun DeFrance was having (March 28:
Continued Cobertura Plugin Issues). That is, if I run the site goal
after the clean goal, I end up with a report that shows 0% test
coverage for every
the cobertura plugin running on our project, but
I'm having the same problems Daun DeFrance was having (March 28:
Continued Cobertura Plugin Issues). That is, if I run the site goal
after the clean goal, I end up with a report that shows 0% test
coverage for every class. If I run the site again (without
For those GMail users that not have seen this because of the wrong
subject...
2006/5/14, Brett Porter [EMAIL PROTECTED]:
The Mojo team is pleased to announce the release of the Clirr Plugin
for Maven, version 2.0.
http://mojo.codehaus.org/clirr-maven-plugin
You can run mvn -U to get the
]To:
user@mojo.codehaus.org
cc: users@maven.apache.org
Subject: [ANN] Maven Cobertura
The Mojo team is pleased to announce the release of the Cobertura Plugin
for Maven, version 2.0.
http://mojo.codehaus.org/cobretura-maven-plugin
You can run mvn -U to get the latest version of the plugin, or specify
the version in your project's plugin configuration:
plugin
The Mojo team is pleased to announce the release of the Clirr Plugin
for Maven, version 2.0.
http://mojo.codehaus.org/clirr-maven-plugin
You can run mvn -U to get the latest version of the plugin, or specify
the version in your project's plugin configuration:
plugin
Hi
My comments inline
Best regards
Kaare Nilsen
On 04/04/06, Daun DeFrance [EMAIL PROTECTED] wrote:
Lee,
I was able to move past this issue by removing the version tag from my
Cobertura plugin specifications (below) and performing a -U when
executing mvn clean site.
I have since found
: Continued Cobertura Plugin Issues
Hi all,
I followed Boris Lenzinger's suggestions dated March 19 (Re: [M2] Maven
Generated Reports). I am unable to generate any coverage of my
projects. Assuming it was something about my multiproject build
(because running site on the parent pom.xml still
Lee,
I was able to move past this issue by removing the version tag from my
Cobertura plugin specifications (below) and performing a -U when
executing mvn clean site.
I have since found a conflict between the Cobertura and AspectJ plugins
where, because of a bug with AspectJ, the plugin
Hi all,
I followed Boris Lenzinger's suggestions dated March 19 (Re: [M2] Maven
Generated Reports). I am unable to generate any coverage of my
projects. Assuming it was something about my multiproject build
(because running site on the parent pom.xml still generates a
Cobertura error), I
answer to
all these issues.
Thanks,
D DeFrance
-Original Message-
From: Daun DeFrance [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 28, 2006 12:46 PM
To: users@maven.apache.org
Subject: Continued Cobertura Plugin Issues
Hi all,
I followed Boris Lenzinger's suggestions dated March 19 (Re
I have seen that work is going on in this regard:
http://mojo.codehaus.org/cobertura-maven-plugin/
Is there any way to use this with m2.0.2? i have tried:
* Tried to use as specified in
http://mojo.codehaus.org/cobertura-maven-plugin/usage.html. Failed.
* Downloaded the source for the plugin
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
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
groupIdasm/groupId
artifactIdasm/artifactId
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
groupIdasm/groupId
artifactIdasm
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
groupIdasm/groupId
: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
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
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
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: cobertura plugin
Is there any plan to upgrade cobertura
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
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
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
-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
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
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
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
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
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
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
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
Is there any plan to upgrade cobertura plugin to use cobertura 1.7 ?
I'm using AspectJ and JiBX that both operate on bytecode and are not
compatible with cobertura 1.6 instrumentation (plugin fails)
Upgrading dependency to 1.7 solves this problem
I've created
http://sourceforge.net/tracker
: cobertura plugin
Is there any plan to upgrade cobertura plugin to use cobertura 1.7 ?
I'm using AspectJ and JiBX that both operate on bytecode and are not
compatible with cobertura 1.6 instrumentation (plugin fails)
Upgrading dependency to 1.7 solves this problem
I've created
http
[mailto:[EMAIL PROTECTED]
Sent: Thursday, February 16, 2006 8:36 AM
To: Maven Users List
Subject: cobertura plugin
Is there any plan to upgrade cobertura plugin to use cobertura 1.7 ?
I'm using AspectJ and JiBX that both operate on bytecode and are not
compatible with cobertura 1.6
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
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
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
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
Brett Porter [EMAIL PROTECTED] wrote on 04-02-2006 03:29:43:
It's the first one in the reporting section on the link you gave.
Unless
I'm clearly mistaken :)
well it is now, so maybe i just missed it the last time i looked. if so i
apologise.
The cobertura plugin will be worked
[EMAIL PROTECTED]:
Hello,
What is the status of the cobertura plugin for m2 ? I had problems
trying to include it in the pom through central and there
was some discussion on the list some days ago, but I didn't find
how to get the latest and greatest version.
Thanks,
--
Arnaud
an example project(s)
that demonstrates the issues.
John
- Original Message -
From: David Sag
To: Maven Users List
Sent: Friday, February 03, 2006 1:02 PM
Subject: Re: [m202] Cobertura plugin
As far as I can tell the latest snapshot version (2.0) still does not work
It's the first one in the reporting section on the link you gave. Unless
I'm clearly mistaken :)
The cobertura plugin will be worked on to completion in the next two weeks.
We're working through the issues at the mojo project.
- Brett
On 2/4/06, David Sag [EMAIL PROTECTED] wrote:
As far as I
I checked it out ant built it myself did not find a working release of it.
/Konstantin
2006/2/1, Arnaud Bailly [EMAIL PROTECTED]:
Hello,
What is the status of the cobertura plugin for m2 ? I had problems
trying to include it in the pom through central and there
was some discussion
Hello,
What is the status of the cobertura plugin for m2 ? I had problems
trying to include it in the pom through central and there
was some discussion on the list some days ago, but I didn't find
how to get the latest and greatest version.
Thanks,
--
Arnaud Bailly, Dr. - Ingénieur de
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 NoClassDefFoundError: org/apache/maven/wagon/util/FileUtils
any clues as to what changed between
2.0 and 2.0.2 that would lead to this error?
most frustrating
Kind
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
and now the instrumentation of my
classes fails when using the cobertura plugin.
I get NoClassDefFoundError: org/apache/maven/wagon/util/FileUtils
any clues as to what changed between 2.0 and 2.0.2 that would lead to this
error?
most frustrating
Kind regards,
Dave Sag
--
jvz.
Jason
86 matches
Mail list logo