You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Venkatagopalaraju <ve...@realsoftinc.com> on 2006/03/23 13:02:10 UTC
Problem with Cobertura
Dear Maven Users,
When I am trying to use Cobertura plugin, It it generating FATAL ERROR. In my pom.xml, I just added as
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
</plugin>
</plugins>
</reporting>
But I don't know, Which dependencies I need to use. Could you please let me know, what I need to do.
Thanks & Regards
Gopal
Re: Problem with Cobertura
Posted by John Allen <jo...@hotmail.com>.
Cobertura's m2 support is flakey. Maybe its been fixed. See previous posts
for background
----- Original Message -----
From: "Arnaud Bailly" <ab...@norsys.fr>
To: "Maven Users List" <us...@maven.apache.org>
Sent: Thursday, March 23, 2006 12:27 PM
Subject: Re: Problem with Cobertura
The current cobertura plugin is for maven 2.0.3. You need to build
your own or retrieve a version for maven 2.0.2. AFAIK ,you can
retrieve from subversion repository the revision 1377 and build it :
it worked for me.
regards,
--
Arnaud Bailly, Dr. - Ingénieur de Recherche
NORSYS
1, rue de la Cense des Raines
ZAC du Moulin
59710 ENNEVELIN
Tel : (33) 3 28 76 56 76
Mob : (33) 6 17 12 19 78
Fax : (33) 3 28 76 57 00
Web : http://www.norsys.fr
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Problem with Cobertura
Posted by Arnaud Bailly <ab...@norsys.fr>.
The current cobertura plugin is for maven 2.0.3. You need to build
your own or retrieve a version for maven 2.0.2. AFAIK ,you can
retrieve from subversion repository the revision 1377 and build it :
it worked for me.
regards,
--
Arnaud Bailly, Dr. - Ingénieur de Recherche
NORSYS
1, rue de la Cense des Raines
ZAC du Moulin
59710 ENNEVELIN
Tel : (33) 3 28 76 56 76
Mob : (33) 6 17 12 19 78
Fax : (33) 3 28 76 57 00
Web : http://www.norsys.fr
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Problem with Cobertura
Posted by Thorsten Heit <th...@xtramind.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
> When I am trying to use Cobertura plugin, It it generating FATAL ERROR.
A little bit more information (mvn -e -X ...) would be useful...
AFAIK the cobertura plugin for Maven 2 is not yet finished, but a couple
of days Boris Lenzinger wrote that he's using Cobertura with Maven 2
(see thread "[M2] Maven Generated Reports" from Andreas Guther,
3/19/2006). He uses a version entry in the plugin section:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.0-20060130.214008-3</version>
</plugin>
Perhaps this can help you, too...?
HTH
Thorsten
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)
iD8DBQFEIqEJQvObkgCcDe0RApGUAJ9khl1HViZ4vbbp47zge871li+bqQCcCqFb
H23q1YgTsuzMTQXgyb7FLf8=
=1XUs
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org