There is no maven 2 plugin for cobertura according to the developers.
dave
REBOISSON Eric <[EMAIL PROTECTED]> wrote on 08-11-2005 09:46:48:
I tried to use Cobertura but this error appears , why ? How to resolve
it ?
:
D:\Documents and Settings\reboisse\workspace\DataModel>mvn
cobertura:report
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'cobertura'.
Downloading:
http://repo1.maven.org/maven2/cobertura/cobertura/1.4/cobertura-1.4.pom
150b downloaded
Downloading:
http://repo1.maven.org/maven2/cobertura/cobertura/1.4/cobertura-1.4.jar
80K downloaded
[INFO]
----------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
----------------------------------------------------------------------------
[INFO] null
[INFO]
----------------------------------------------------------------------------
[INFO] Trace
java.lang.NullPointerException
at
org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.
java:292)
at
org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPl
uginManager.java:198)
at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManag
er.java:163)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLife
cycleExecutor.java:1095)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(Defaul
tLifecycleExecutor.java:1305)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggrega
tionNeeds(DefaultLifecycleExecutor.java:376)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycle
Executor.java:132)
at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 8 seconds
[INFO] Finished at: Tue Nov 08 09:45:42 CET 2005
[INFO] Final Memory: 1M/3M
[INFO]
----------------------------------------------------------------------------
D:\Documents and Settings\reboisse\workspace\DataModel>
-----Message d'origine-----
De : stéphane bouchet [mailto:[EMAIL PROTECTED]
Envoyé : lundi 7 novembre 2005 17:28
À : Maven Users List
Objet : Re: JCOVERAGE for MAVEN 2
Jcoverage is a commercial tool, prefer cobertura.
the plugin for maven2 is still in dev.
http://maven-plugins.sourceforge.net/maven-cobertura-plugin/
STéphane
REBOISSON Eric a écrit :
Is there a JCOVERAGE plugins for maven 2 ?
How to install it if it exists ?
Thanks
Eric
__________________________
Ce message (et toutes ses pièces jointes éventuelles) est confidentiel
et
établi à l'intention exclusive de ses destinataires. Toute utilisation
de ce
message non conforme à sa destination, toute diffusion ou toute
publication,
totale ou partielle, est interdite, sauf autorisation expresse. L'IFP
décline toute responsabilité au titre de ce message.
This message and any attachments (the message) are confidential and
intended solely for the addressees. Any unauthorised use or
dissemination is
prohibited. IFP should not be liable for this message.
Visitez notre site Web / Visit our web site : http://www.ifp.fr
__________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]