You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Wim Deblauwe <wi...@gmail.com> on 2005/11/14 15:39:33 UTC

[m2] Clover plugin

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

Re: [m2] Clover plugin

Posted by Brett Porter <br...@gmail.com>.
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 <ds...@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 <ja...@gmail.com>*
>
> 15-11-2005 08:03  Please respond to
> "Maven Users List" <us...@maven.apache.org>
>
>   To
> Maven Users List <us...@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 <wi...@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 <br...@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 <ra...@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 <ra...@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 <wi...@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
> > >
> > >
> >
> >
>
>

Re: [m2] Clover plugin

Posted by David Sag <ds...@epo.org>.
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 <ja...@gmail.com> 
15-11-2005 08:03
Please respond to
"Maven Users List" <us...@maven.apache.org>


To
Maven Users List <us...@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 <wi...@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 <br...@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 <ra...@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 <ra...@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 <wi...@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
> >
> >
>
>


Re: [m2] Clover plugin

Posted by javed mandary <ja...@gmail.com>.
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 <wi...@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 <br...@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 <ra...@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 <ra...@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 <wi...@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
> >
> >
>
>

Re: [m2] Clover plugin

Posted by Wim Deblauwe <wi...@gmail.com>.
Hi,

I got further now. I removed the group and then maven would find the plugin.
So having this does not work:

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clover-plugin</artifactId>
</plugin>

but this does:

<plugin>
<artifactId>maven-clover-plugin</artifactId>
</plugin>

But, there seems to be a locale problem in the current version of the
plugin. Is this a known bug or should I file this in JIRA?


[INFO]
----------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
----------------------------------------------------------------------------
[INFO] Can't find bundle for base name clover-report, locale nl_NL
[INFO]
----------------------------------------------------------------------------
[INFO] Trace
java.util.MissingResourceException: Can't find bundle for base name
clover-report, locale nl_NL
at java.util.ResourceBundle.throwMissingResourceException(
ResourceBundle.java:837)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:806)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:700)
at org.apache.maven.plugin.clover.CloverReportMojo.getBundle(
CloverReportMojo.java:104)
at org.apache.maven.plugin.clover.CloverReportMojo.getName(
CloverReportMojo.java:136)
at org.apache.maven.plugins.site.ReportComparator.compare(
ReportComparator.java:40)
at java.util.Arrays.mergeSort(Arrays.java:1284)
at java.util.Arrays.sort(Arrays.java:1223)
at java.util.Collections.sort(Collections.java:159)
at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:240)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:399)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:519)
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)

regards,

Wim


2005/11/15, Wim Deblauwe <wi...@gmail.com>:
>
> 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 <br...@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 <ra...@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
> >
> >
>

Re: [m2] Clover plugin

Posted by Wim Deblauwe <wi...@gmail.com>.
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 <br...@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 <ra...@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 <ra...@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 <wi...@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
>
>

Re: [m2] Clover plugin

Posted by Anuerin Diaz <ra...@gmail.com>.
On 11/15/05, Brett Porter <br...@gmail.com> wrote:
> 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.
>

i was getting a plugin not found error so i experimented with adding
dependencies. what is the difference between the plugin that belongs
to the "org.apache.maven.plugins" and "maven" groups? the first one is
the default of most maven plugins but i was only made aware of the
second one when google returned a search hit on the mavenbook site.

> The clover DB is also not required as that is the default.
>

yup, but my team lead wanted it specified for documentation purposes.
anyway, the stuff i post is only what i made work. i still cant figure
out why i cant call check if i attach it to a phase. it always goes
out with an error that it cant override a read-only attribute set by
clover:instrument.

<snip>

ciao!
--

"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


Re: [m2] Clover plugin

Posted by Brett Porter <br...@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 <ra...@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 <ra...@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 <wi...@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


RE: [m2] Clover plugin

Posted by Vincent Massol <vm...@pivolis.com>.

> -----Original Message-----
> From: Anuerin Diaz [mailto:ramfree17@gmail.com]
> Sent: lundi 14 novembre 2005 17:32
> To: Maven Users List
> Subject: Re: [m2] Clover plugin
> 
> 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>

This is only required in the alpha 1 version of the plugin. The version in
SVN trunk do not require you to add any dependency to your project.

[snip]

Thanks
-Vincent


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m2] Clover plugin

Posted by Anuerin Diaz <ra...@gmail.com>.
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 <ra...@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 <wi...@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


Re: [m2] Clover plugin

Posted by Anuerin Diaz <ra...@gmail.com>.
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 <wi...@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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m2] Clover plugin

Posted by Wim Deblauwe <wi...@gmail.com>.
The PMD plugin has a simular problem:
http://jira.codehaus.org/browse/MNG-1576

2005/11/15, Wim Deblauwe <wi...@gmail.com>:
>
> Done: http://jira.codehaus.org/browse/MNG-1572
>
> 2005/11/15, Vincent Massol <vmassol@pivolis.com >:
> >
> >
> >
> > > -----Original Message-----
> > > From: Wim Deblauwe [mailto: wim.deblauwe@gmail.com]
> > > Sent: mardi 15 novembre 2005 09:40
> > > To: Maven Users List
> > > Subject: Re: [m2] Clover plugin
> > >
> > > >
> > > > WRT to the locale yes it sounds like a bug. Please file a JIRA.
> > > >
> > >
> > > In what JIRA should I file it? Maven 2 JIRA?
> >
> > Yeah right now there's no separate JIRA projects for plugins. So put it
> > in
> > Maven 2 JIRA by specify the maven-clover-plugin component.
> >
> > Thanks
> > -Vincent
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>

Re: [m2] Clover plugin

Posted by Wim Deblauwe <wi...@gmail.com>.
Done: http://jira.codehaus.org/browse/MNG-1572

2005/11/15, Vincent Massol <vm...@pivolis.com>:
>
>
>
> > -----Original Message-----
> > From: Wim Deblauwe [mailto:wim.deblauwe@gmail.com]
> > Sent: mardi 15 novembre 2005 09:40
> > To: Maven Users List
> > Subject: Re: [m2] Clover plugin
> >
> > >
> > > WRT to the locale yes it sounds like a bug. Please file a JIRA.
> > >
> >
> > In what JIRA should I file it? Maven 2 JIRA?
>
> Yeah right now there's no separate JIRA projects for plugins. So put it in
> Maven 2 JIRA by specify the maven-clover-plugin component.
>
> Thanks
> -Vincent
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

RE: [m2] Clover plugin

Posted by Vincent Massol <vm...@pivolis.com>.

> -----Original Message-----
> From: Wim Deblauwe [mailto:wim.deblauwe@gmail.com]
> Sent: mardi 15 novembre 2005 09:40
> To: Maven Users List
> Subject: Re: [m2] Clover plugin
> 
> >
> > WRT to the locale yes it sounds like a bug. Please file a JIRA.
> >
> 
> In what JIRA should I file it? Maven 2 JIRA?

Yeah right now there's no separate JIRA projects for plugins. So put it in
Maven 2 JIRA by specify the maven-clover-plugin component.

Thanks
-Vincent


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m2] Clover plugin

Posted by Wim Deblauwe <wi...@gmail.com>.
>
> WRT to the locale yes it sounds like a bug. Please file a JIRA.
>

In what JIRA should I file it? Maven 2 JIRA?

regards,

wim

RE: [m2] Clover plugin

Posted by Vincent Massol <vm...@pivolis.com>.

> -----Original Message-----
> From: Vincent Massol [mailto:vmassol@pivolis.com]
> Sent: mardi 15 novembre 2005 09:08
> To: 'Maven Users List'
> Subject: RE: [m2] Clover plugin

[snip]
 
> > 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?
> 
> This sounds fine. Not sure why it cannot find the plugin. Could you run
> with
> -X and send us the part that says it cannot find it?

Just noticed Brett had answered and you've already provided the output. I
don't understand why removing the groupId would make it work though. Brett
do you have any idea?

WRT to the locale yes it sounds like a bug. Please file a JIRA.

[snip]

Thanks
-Vincent


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: [m2] Clover plugin

Posted by Vincent Massol <vm...@pivolis.com>.
Hi Wim,

> -----Original Message-----
> From: Wim Deblauwe [mailto:wim.deblauwe@gmail.com]
> Sent: lundi 14 novembre 2005 15:40
> To: Maven Users List
> Subject: [m2] Clover plugin
> 
> 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.

Actually there are more documentation than this but apparently the site has
not been republished. You can read the docs in APT format at:

http://svn.apache.org/viewcvs.cgi/maven/components/trunk/maven-plugins/maven
-clover-plugin/src/site/apt/
 
> 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?

This sounds fine. Not sure why it cannot find the plugin. Could you run with
-X and send us the part that says it cannot find it?

NOTE1: You'd need to use the latest version in svn trunk as the alpha
version that has been released had some issues that have been fixed.

NOTE2: You currently need Maven 2.0.1 for the plugin to work fine. This is
because there's a bug in Maven 2.0 core that prevents the plugin from
working and this was fixed in Maven 2.0.1. I need to find some time to try
to write a hack to circumvent the issue so that the Clover plugin can work
with Maven 2.0.

Thanks
-Vincent


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org