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 <[EMAIL PROTECTED]>:
>
> 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 <[EMAIL PROTECTED]>:
> >
> > 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 <[EMAIL PROTECTED]> 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 < [EMAIL PROTECTED]> 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 < [EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

Reply via email to