I can now see that I was using the wrong -DgroupId argument but it does not
work for me. I am not a maven expert (yet;-). 

I do:

maven -DartifactId=maven-findbugs-plugin -Dversion=1.0-SNAPSHOT
-DgroupId=maven-plugins plugin:download

Which gives me:

__  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT

plugin:download:
    [echo] repo is 'http://maven-plugins.sf.net'
    [echo] Plugin downloaded, removing other versions
    [delete] Deleting 11 files from C:\Documents and
Settings\ggregory\.maven\plugins
    [delete] Deleted 5 directories from C:\Documents and
Settings\ggregory\.maven\plugins
BUILD SUCCESSFUL
Total time: 4 seconds
Finished at: Mon Feb 16 21:38:57 PST 2004

Then, when I run the reports the maven site:generate goal I get:

__  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT

Attempting to download findbugs-0.6.5.jar.
WARNING: Failed to download findbugs-0.6.5.jar.
Attempting to download findbugs-ant-0.6.5.jar.
WARNING: Failed to download findbugs-ant-0.6.5.jar.
Attempting to download findbugs-coreplugin-0.6.5.jar.
WARNING: Failed to download findbugs-coreplugin-0.6.5.jar.
Attempting to download findbugs-bcel-0.6.5.jar.
WARNING: Failed to download findbugs-bcel-0.6.5.jar.
Attempting to download dom4j-1.4.jar.
WARNING: Failed to download dom4j-1.4.jar.

BUILD FAILED
File...... file:/C:/Documents and
Settings/ggregory/.maven/plugins/maven-xdoc-plugin-1.4/
Element... attainGoal
Line...... 575
Column.... 48
The build cannot continue because of the following unsatisfied dependencies:

findbugs-0.6.5.jar (try downloading from
http://www.cs.umd.edu/~pugh/java/bugs/)
findbugs-ant-0.6.5.jar (try downloading from
http://www.cs.umd.edu/~pugh/java/bugs/)
findbugs-coreplugin-0.6.5.jar (try downloading from
http://www.cs.umd.edu/~pugh/java/bugs/)
findbugs-bcel-0.6.5.jar (try downloading from
http://www.cs.umd.edu/~pugh/java/bugs/)
dom4j-1.4.jar (no download url specified)

Total time: 5 seconds
Finished at: Mon Feb 16 21:36:35 PST 2004

Gary

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 16, 2004 20:18
> To: Jakarta Commons Developers List
> Subject: RE: [lang] Using FindBugs Maven plugin?
> 
> Gary Gregory <[EMAIL PROTECTED]> wrote on 17/02/2004 01:57:49 PM:
> 
> > Dion,
> >
> > Could you please post to this list when you do fix this? We'd like to
> use
> > the Maven plug-in with [lang] at least.
> 
> I've posted to the maven-plugins list about the docs fix, made the
> documentation changes and have redeployed the site.
> 
> 
> Is there something other than the docs that needs fixing?
> --
> dIon Gillard, Multitask Consulting

Reply via email to