maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <brett.por...@gmail.com>
Subject Re: [m2] Clover plugin
Date Tue, 15 Nov 2005 13:01:14 GMT
There is an old attempt in the mojo.codehaus.org
<http://mojo.codehaus.org>sandbox. It needs to be update in the same
way as the clover plugin.

We'd appreciate it if you'd consider contributing it back there, if you do
get the chance to work on it.

Cheers,
Brett

On 11/15/05, David Sag <dsag@epo.org> wrote:
>
>
> We are about to start using cobertura but as of right now there is no m2
> plugin for it that i know of.
>
> We were going to write our own.
>
> Kind regards,
> Dave Sag
>
>
>
>
>
>
>
>  *javed mandary <javed2@gmail.com>*
>
> 15-11-2005 08:03  Please respond to
> "Maven Users List" <users@maven.apache.org>
>
>   To
> Maven Users List <users@maven.apache.org>  cc
>
>  Subject
> Re: [m2] Clover plugin
>
>
>
>
>
>
> What dont you guys use cobertura*(code coverage tool) instead of clover ,
> its free compared to clover where you need to have a license .
>
> http://cobertura.sourceforge.net/
>
> regards,
> Javed
>
> On 11/15/05, Wim Deblauwe <wim.deblauwe@gmail.com> wrote:
> >
> > This is what I get from maven calling 'mvn -e site'
> >
> > + Error stacktraces are turned on.
> > [INFO] Scanning for projects...
> > [INFO]
> >
> >
> ----------------------------------------------------------------------------
> > [INFO] Building Utils Logging Module
> > [INFO] task-segment: [site]
> > [INFO]
> >
> >
> ----------------------------------------------------------------------------
> > [INFO]
> >
> >
> ----------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> >
> >
> ----------------------------------------------------------------------------
> > [INFO] The plugin 'org.apache.maven.plugins:maven-clover-plugin' does
> not
> > exist or no valid version could be found
> > [INFO]
> >
> >
> ----------------------------------------------------------------------------
> > [INFO] Trace
> > org.apache.maven.lifecycle.LifecycleExecutionException: The plugin '
> > org.apache.maven.plugins:maven-clover-plugin' does not exist or no valid
> > version could be found
> > at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyReportPlugin(
> > DefaultLifecycleExecutor.java:1164)
> > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getReports(
> > DefaultLifecycleExecutor.java:642)
> > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getReports(
> > DefaultLifecycleExecutor.java:622)
> > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > DefaultLifecycleExecutor.java:501)
> > at
> >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> > (DefaultLifecycleExecutor.java:469)
> > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> > DefaultLifecycleExecutor.java:448)
> > at
> >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> > (DefaultLifecycleExecutor.java:301)
> > at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
> > (
> > DefaultLifecycleExecutor.java:268)
> > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
> > DefaultLifecycleExecutor.java:137)
> > 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)
> > Caused by:
> org.apache.maven.plugin.version.PluginVersionNotFoundException:
> > The plugin 'org.apache.maven.plugins:maven-clover-plugin' does not exist
> > or
> > no valid version could be found
> > at
> >
> >
> org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion
> > (DefaultPluginVersionManager.java:225)
> > at
> >
> >
> org.apache.maven.plugin.version.DefaultPluginVersionManager.resolveReportPluginVersion
> > (DefaultPluginVersionManager.java:94)
> > at org.apache.maven.plugin.DefaultPluginManager.verifyReportPlugin(
> > DefaultPluginManager.java:461)
> > at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyReportPlugin(
> > DefaultLifecycleExecutor.java:1135)
> > ... 19 more
> > [INFO]
> >
> >
> ----------------------------------------------------------------------------
> > [INFO] Total time: 1 second
> > [INFO] Finished at: Tue Nov 15 07:57:56 CET 2005
> > [INFO] Final Memory: 1M/4M
> > [INFO]
> >
> >
> ----------------------------------------------------------------------------
> >
> > 2005/11/14, Brett Porter <brett.porter@gmail.com>:
> > >
> > > Neither of these should be required with the current version, though
> > > I'm not sure when it was last released. At worst you only need the
> > > first and it should be added to the clover plugin definition, not a
> > > general dependency.
> > >
> > > The clover DB is also not required as that is the default.
> > >
> > > Wim, any more details on why the plugin was "not found"?
> > >
> > > - Brett
> > >
> > > On 11/15/05, Anuerin Diaz <ramfree17@gmail.com> wrote:
> > > > i forgot that i also added this in my dependency:
> > > >
> > > > <dependency>
> > > > <groupId>clover</groupId>
> > > > <artifactId>clover</artifactId>
> > > > <version>1.3.5</version>
> > > > </dependency>
> > > > <dependency>
> > > > <groupId>maven</groupId>
> > > > <artifactId>maven-clover-plugin</artifactId>
> > > > <version>1.8</version>
> > > > </dependency>
> > > >
> > > > i think the last dependency will get the first but i dont have the
> > > > time to check. i added the first one much earlier when i was
> figuring
> > > > out how to make clover work. the second one downloaded a whole lot
> of
> > > > dependencies. :D
> > > >
> > > > ciao!
> > > >
> > > > On 11/14/05, Anuerin Diaz <ramfree17@gmail.com> wrote:
> > > > > i managed to use clover an hour ago. i just added this in my
> project
> > > descriptor:
> > > > >
> > > > > <reporting>
> > > > > <plugins>
> > > > > <plugin>
> > > > > <artifactId>maven-clover-plugin</artifactId>
> > > > > <configuration>
> > > > >
> <cloverDatabase>${basedir}/target/clover/clover.db</cloverDatabase>
> > > > >
> > >
> <licenseFile>${basedir}/../licenses/clover/clover.license</licenseFile>
> > > > > </configuration>
> > > > > </plugin>
> > > > > </plugins>
> > > > > </reporting>
> > > > >
> > > > >
> > > > > and clover was activated when i called the site goal.
> > > > >
> > > > > ciao!
> > > > >
> > > > >
> > > > > On 11/14/05, Wim Deblauwe <wim.deblauwe@gmail.com> wrote:
> > > > > > Hi,
> > > > > >
> > > > > > how does one use the clover plugin? I was looking at
> > > > > > http://maven.apache.org/plugins/maven-clover-plugin/ for some
> > > information,
> > > > > > but I can't get it working.
> > > > > >
> > > > > > I added:
> > > > > > <plugin>
> > > > > > <groupId>org.apache.maven.plugins</groupId>
> > > > > > <artifactId>maven-clover-plugin</artifactId>
> > > > > > </plugin>
> > > > > >
> > > > > > to my reporting/plugins section. Then I tried mvn site, but
I
> got
> > an
> > > error
> > > > > > that the maven-clover-plugin does not exist.
> > > > > >
> > > > > > do I need to do some more things?
> > > > > >
> > > > > > I also could not find how I set the path to the license file.
> > > > > >
> > > > > > regards,
> > > > > >
> > > > > > Wim
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > "Programming, an artform that fights back"
> > > > >
> > > > > Anuerin G. Diaz
> > > > > Registered Linux User #246176
> > > > > Friendly Linux Board @ http://mandrivausers.org/index.php
> > > > > http://capsule.ramfree17.org , when you absolutely have nothing
> else
> > > > > better to do
> > > > >
> > > >
> > > >
> > > > --
> > > >
> > > > "Programming, an artform that fights back"
> > > >
> > > > Anuerin G. Diaz
> > > > Registered Linux User #246176
> > > > Friendly Linux Board @ http://mandrivausers.org/index.php
> > > > http://capsule.ramfree17.org , when you absolutely have nothing else
> > > > better to do
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > 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
> > >
> > >
> >
> >
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message