You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Sreenivas Mangasandra <sr...@intland.com> on 2005/07/06 09:55:40 UTC

[M1] Findbugs plugin problem.

Hallo,

 

Has anybody worked with findbugs plugin. Can we generate reports to show
bugs in our projects. I tried to use the

findbugs plugin in the reports tag, but my build Failed.

 

<report>maven-findbugs-plugin</reports>

 

BUILD FAILED

File...... C:\Dokumente und
Einstellungen\Sreenivas\.maven\cache\maven-xdoc-plugin-1.8\plugin.jelly

Element... attainGoal

Line...... 687

Column.... 48

No goal [maven-findbugs-plugin:register]

 

I use maven 1.0.2 and jdk1.4.2.

 

 

With Best regards / Mit freundlichen Grüßen 

Sreenivas Mangasandra,

Intland Software GmbH, Wankel Str. 3,

D-70563 Stuttgart, Germany.

Tel.: +49 711 722 1834

 


Re: AW: AW: AW: [M1] Findbugs plugin problem.

Posted by Jeff Jensen <je...@upstairstechnology.com>.
OK, so we have to find out if it is registering correctly, or even trying
(installed correctly?).  It is not even generating the link and empty page.

What does the log show?

 - error messages?
 - findbugs plugin registering, running any goals?

How did you download the plugin, using Jamie's notes below or mine?  You may
want to include my suggestion in your project.xml file for now so it is
repeatable/prevents typos.  Maven will fail if Findbugs is not installed as
that approach makes it a dependency of the build.

Look carefully for any error messages and share them here.



Quoting Sreenivas Mangasandra <sr...@intland.com>:

>
> Hi Jeff,
>
> It does not generate any html / xml file for the findbugs report.
> I did try maven with n without "maven.findbugs.detail" option.
> And also with low / high / medium (default) values.
> There is also no link on the report page.
>
> Sreenivas
>
> -----Ursprüngliche Nachricht-----
> Von: Jeff Jensen [mailto:jeffjensen@upstairstechnology.com]
> Gesendet: Mittwoch, 6. Juli 2005 17:26
> An: Maven Users List
> Betreff: Re: AW: AW: [M1] Findbugs plugin problem.
>
> Does it generate the HTML page, but it is just empty (no errors found), or
> is
> the file entirely missing?
>
> If the file exists, are you sure your deliberate errors are "high"?  I
> suggest
> trying medium and low as well to eliminate that as a cause.
>
> Is the FB link on the Project Reports page?
>
>
> Quoting Sreenivas Mangasandra <sr...@intland.com>:
>
> >
> > Yeah!, sorry it was a type mistake in my email. But I use "high" as a
> value
> > in my properties file for the "maven.findbugs.detail". But it does not
> > give me any reports.
> >
> > Could anybody please check this about the findbugs plugin. Thanks.
> >
> >
> > Sreenivas.
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Jeff Jensen [mailto:jeffjensen@upstairstechnology.com]
> > Gesendet: Mittwoch, 6. Juli 2005 16:53
> > An: Maven Users List
> > Betreff: Re: AW: [M1] Findbugs plugin problem.
> >
> > Not to sound mean, but you really need to start reading the documentation
> > more
> > carefully.  The answer to your current problem is on this page:
> > http://maven-plugins.sourceforge.net/maven-findbugs-plugin/properties.html
> >
> > Note the second entry, maven.findbugs.detail:
> >   "Specifies whether "low", "medium", or "high" priority bugs should be
> > listed.
> > Defaults to "medium"."
> >
> > true is not a valid option.
> >
> >
> > Quoting Sreenivas Mangasandra <sr...@intland.com>:
> >
> > > Hallo,
> > >
> > > Well I downloaded the findbugs plugin and it is stored in the maven's
> > plugin
> > > directory ("C:\maven1.0.2\plugins\maven-findbugs-plugin-0.9.1.jar").
> > >
> > > When I include it in the project.properties file as shown below,
> > >
> > > #findbugs plugin.
> > > maven.findbugs.enable = true
> > >
> > > # Detail information to be shown or not.
> > > maven.findbugs.detail = true (corrected to high)
> > >
> > >
> > > I should get some result like-
> > >
> >
> http://maven-plugins.sourceforge.net/maven-findbugs-plugin/sample-findbugs-r
> > > eport.html
> > >
> > > ** But I don’t see any result of findbugs though I deliberately have
> some
> > >
> > >    syntax errors in my project code. Could anyone explain or has anybody
> > >    faced the same problem.
> > >
> > > What I use is:
> > >
> > > Maven: version 1.0.2
> > > JDK  : 1.4.2_8
> > > O.S  : Windows XP
> > >
> > >
> > > Sreenivas.
> > >
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Jamie Bisotti [mailto:jbisotti@gmail.com]
> > > Gesendet: Mittwoch, 6. Juli 2005 15:05
> > > An: Maven Users List
> > > Betreff: Re: [M1] Findbugs plugin problem.
> > >
> > > The FindBugs plugin is not part of the 1.0.2 distribution; you have to
> > > install it separately.  Did you do that?  If not, do the following:
> > >
> > > maven plugin:download
> > >
> > > When prompted for the 'artifactId', enter "maven-findbugs-plugin"
> > > When prompted for the 'groupId', enter "maven-plugins"
> > > When prompted for the 'version', enter "0.9.1"
> > >
> > >
> > > On 7/6/05, Sreenivas Mangasandra <sr...@intland.com>
> > wrote:
> > > > Hallo,
> > > >
> > > >
> > > >
> > > > Has anybody worked with findbugs plugin. Can we generate reports to
> show
> > > > bugs in our projects. I tried to use the
> > > >
> > > > findbugs plugin in the reports tag, but my build Failed.
> > > >
> > > >
> > > >
> > > > <report>maven-findbugs-plugin</reports>
> > > >
> > > >
> > > >
> > > > BUILD FAILED
> > > >
> > > > File...... C:\Dokumente und
> > > >
> Einstellungen\Sreenivas\.maven\cache\maven-xdoc-plugin-1.8\plugin.jelly
> > > >
> > > > Element... attainGoal
> > > >
> > > > Line...... 687
> > > >
> > > > Column.... 48
> > > >
> > > > No goal [maven-findbugs-plugin:register]
> > > >
> > > >
> > > >
> > > > I use maven 1.0.2 and jdk1.4.2.
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > With Best regards / Mit freundlichen Grüßen
> > > >
> > > > Sreenivas Mangasandra,
> > > >
> > > > Intland Software GmbH, Wankel Str. 3,
> > > >
> > > > D-70563 Stuttgart, Germany.
> > > >
> > > > Tel.: +49 711 722 1834
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Jamie Bisotti
> > > Software Engineer
> > > Lexmark International, Inc.
> > >
> > > ---------------------------------------------------------------------
> > > 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
> > >
> > >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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
> >
> >
>
>
>
>
> ---------------------------------------------------------------------
> 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
>
>




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


AW: AW: AW: [M1] Findbugs plugin problem.

Posted by Sreenivas Mangasandra <sr...@intland.com>.
Hi Jeff,

It does not generate any html / xml file for the findbugs report. 
I did try maven with n without "maven.findbugs.detail" option.
And also with low / high / medium (default) values.
There is also no link on the report page.

Sreenivas

-----Ursprüngliche Nachricht-----
Von: Jeff Jensen [mailto:jeffjensen@upstairstechnology.com] 
Gesendet: Mittwoch, 6. Juli 2005 17:26
An: Maven Users List
Betreff: Re: AW: AW: [M1] Findbugs plugin problem.

Does it generate the HTML page, but it is just empty (no errors found), or
is
the file entirely missing?

If the file exists, are you sure your deliberate errors are "high"?  I
suggest
trying medium and low as well to eliminate that as a cause.

Is the FB link on the Project Reports page?


Quoting Sreenivas Mangasandra <sr...@intland.com>:

>
> Yeah!, sorry it was a type mistake in my email. But I use "high" as a
value
> in my properties file for the "maven.findbugs.detail". But it does not
> give me any reports.
>
> Could anybody please check this about the findbugs plugin. Thanks.
>
>
> Sreenivas.
>
>
> -----Ursprüngliche Nachricht-----
> Von: Jeff Jensen [mailto:jeffjensen@upstairstechnology.com]
> Gesendet: Mittwoch, 6. Juli 2005 16:53
> An: Maven Users List
> Betreff: Re: AW: [M1] Findbugs plugin problem.
>
> Not to sound mean, but you really need to start reading the documentation
> more
> carefully.  The answer to your current problem is on this page:
> http://maven-plugins.sourceforge.net/maven-findbugs-plugin/properties.html
>
> Note the second entry, maven.findbugs.detail:
>   "Specifies whether "low", "medium", or "high" priority bugs should be
> listed.
> Defaults to "medium"."
>
> true is not a valid option.
>
>
> Quoting Sreenivas Mangasandra <sr...@intland.com>:
>
> > Hallo,
> >
> > Well I downloaded the findbugs plugin and it is stored in the maven's
> plugin
> > directory ("C:\maven1.0.2\plugins\maven-findbugs-plugin-0.9.1.jar").
> >
> > When I include it in the project.properties file as shown below,
> >
> > #findbugs plugin.
> > maven.findbugs.enable = true
> >
> > # Detail information to be shown or not.
> > maven.findbugs.detail = true (corrected to high)
> >
> >
> > I should get some result like-
> >
>
http://maven-plugins.sourceforge.net/maven-findbugs-plugin/sample-findbugs-r
> > eport.html
> >
> > ** But I don’t see any result of findbugs though I deliberately have
some
> >
> >    syntax errors in my project code. Could anyone explain or has anybody
> >    faced the same problem.
> >
> > What I use is:
> >
> > Maven: version 1.0.2
> > JDK  : 1.4.2_8
> > O.S  : Windows XP
> >
> >
> > Sreenivas.
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Jamie Bisotti [mailto:jbisotti@gmail.com]
> > Gesendet: Mittwoch, 6. Juli 2005 15:05
> > An: Maven Users List
> > Betreff: Re: [M1] Findbugs plugin problem.
> >
> > The FindBugs plugin is not part of the 1.0.2 distribution; you have to
> > install it separately.  Did you do that?  If not, do the following:
> >
> > maven plugin:download
> >
> > When prompted for the 'artifactId', enter "maven-findbugs-plugin"
> > When prompted for the 'groupId', enter "maven-plugins"
> > When prompted for the 'version', enter "0.9.1"
> >
> >
> > On 7/6/05, Sreenivas Mangasandra <sr...@intland.com>
> wrote:
> > > Hallo,
> > >
> > >
> > >
> > > Has anybody worked with findbugs plugin. Can we generate reports to
show
> > > bugs in our projects. I tried to use the
> > >
> > > findbugs plugin in the reports tag, but my build Failed.
> > >
> > >
> > >
> > > <report>maven-findbugs-plugin</reports>
> > >
> > >
> > >
> > > BUILD FAILED
> > >
> > > File...... C:\Dokumente und
> > >
Einstellungen\Sreenivas\.maven\cache\maven-xdoc-plugin-1.8\plugin.jelly
> > >
> > > Element... attainGoal
> > >
> > > Line...... 687
> > >
> > > Column.... 48
> > >
> > > No goal [maven-findbugs-plugin:register]
> > >
> > >
> > >
> > > I use maven 1.0.2 and jdk1.4.2.
> > >
> > >
> > >
> > >
> > >
> > > With Best regards / Mit freundlichen Grüßen
> > >
> > > Sreenivas Mangasandra,
> > >
> > > Intland Software GmbH, Wankel Str. 3,
> > >
> > > D-70563 Stuttgart, Germany.
> > >
> > > Tel.: +49 711 722 1834
> > >
> > >
> > >
> > >
> > >
> >
> >
> > --
> > Jamie Bisotti
> > Software Engineer
> > Lexmark International, Inc.
> >
> > ---------------------------------------------------------------------
> > 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
> >
> >
>
>
>
>
> ---------------------------------------------------------------------
> 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
>
>




---------------------------------------------------------------------
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: AW: AW: [M1] Findbugs plugin problem.

Posted by Jeff Jensen <je...@upstairstechnology.com>.
Does it generate the HTML page, but it is just empty (no errors found), or is
the file entirely missing?

If the file exists, are you sure your deliberate errors are "high"?  I suggest
trying medium and low as well to eliminate that as a cause.

Is the FB link on the Project Reports page?


Quoting Sreenivas Mangasandra <sr...@intland.com>:

>
> Yeah!, sorry it was a type mistake in my email. But I use "high" as a value
> in my properties file for the "maven.findbugs.detail". But it does not
> give me any reports.
>
> Could anybody please check this about the findbugs plugin. Thanks.
>
>
> Sreenivas.
>
>
> -----Ursprüngliche Nachricht-----
> Von: Jeff Jensen [mailto:jeffjensen@upstairstechnology.com]
> Gesendet: Mittwoch, 6. Juli 2005 16:53
> An: Maven Users List
> Betreff: Re: AW: [M1] Findbugs plugin problem.
>
> Not to sound mean, but you really need to start reading the documentation
> more
> carefully.  The answer to your current problem is on this page:
> http://maven-plugins.sourceforge.net/maven-findbugs-plugin/properties.html
>
> Note the second entry, maven.findbugs.detail:
>   "Specifies whether "low", "medium", or "high" priority bugs should be
> listed.
> Defaults to "medium"."
>
> true is not a valid option.
>
>
> Quoting Sreenivas Mangasandra <sr...@intland.com>:
>
> > Hallo,
> >
> > Well I downloaded the findbugs plugin and it is stored in the maven's
> plugin
> > directory ("C:\maven1.0.2\plugins\maven-findbugs-plugin-0.9.1.jar").
> >
> > When I include it in the project.properties file as shown below,
> >
> > #findbugs plugin.
> > maven.findbugs.enable = true
> >
> > # Detail information to be shown or not.
> > maven.findbugs.detail = true (corrected to high)
> >
> >
> > I should get some result like-
> >
> http://maven-plugins.sourceforge.net/maven-findbugs-plugin/sample-findbugs-r
> > eport.html
> >
> > ** But I don’t see any result of findbugs though I deliberately have some
> >
> >    syntax errors in my project code. Could anyone explain or has anybody
> >    faced the same problem.
> >
> > What I use is:
> >
> > Maven: version 1.0.2
> > JDK  : 1.4.2_8
> > O.S  : Windows XP
> >
> >
> > Sreenivas.
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Jamie Bisotti [mailto:jbisotti@gmail.com]
> > Gesendet: Mittwoch, 6. Juli 2005 15:05
> > An: Maven Users List
> > Betreff: Re: [M1] Findbugs plugin problem.
> >
> > The FindBugs plugin is not part of the 1.0.2 distribution; you have to
> > install it separately.  Did you do that?  If not, do the following:
> >
> > maven plugin:download
> >
> > When prompted for the 'artifactId', enter "maven-findbugs-plugin"
> > When prompted for the 'groupId', enter "maven-plugins"
> > When prompted for the 'version', enter "0.9.1"
> >
> >
> > On 7/6/05, Sreenivas Mangasandra <sr...@intland.com>
> wrote:
> > > Hallo,
> > >
> > >
> > >
> > > Has anybody worked with findbugs plugin. Can we generate reports to show
> > > bugs in our projects. I tried to use the
> > >
> > > findbugs plugin in the reports tag, but my build Failed.
> > >
> > >
> > >
> > > <report>maven-findbugs-plugin</reports>
> > >
> > >
> > >
> > > BUILD FAILED
> > >
> > > File...... C:\Dokumente und
> > > Einstellungen\Sreenivas\.maven\cache\maven-xdoc-plugin-1.8\plugin.jelly
> > >
> > > Element... attainGoal
> > >
> > > Line...... 687
> > >
> > > Column.... 48
> > >
> > > No goal [maven-findbugs-plugin:register]
> > >
> > >
> > >
> > > I use maven 1.0.2 and jdk1.4.2.
> > >
> > >
> > >
> > >
> > >
> > > With Best regards / Mit freundlichen Grüßen
> > >
> > > Sreenivas Mangasandra,
> > >
> > > Intland Software GmbH, Wankel Str. 3,
> > >
> > > D-70563 Stuttgart, Germany.
> > >
> > > Tel.: +49 711 722 1834
> > >
> > >
> > >
> > >
> > >
> >
> >
> > --
> > Jamie Bisotti
> > Software Engineer
> > Lexmark International, Inc.
> >
> > ---------------------------------------------------------------------
> > 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
> >
> >
>
>
>
>
> ---------------------------------------------------------------------
> 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
>
>




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


AW: AW: [M1] Findbugs plugin problem.

Posted by Sreenivas Mangasandra <sr...@intland.com>.
Yeah!, sorry it was a type mistake in my email. But I use "high" as a value
in my properties file for the "maven.findbugs.detail". But it does not 
give me any reports. 

Could anybody please check this about the findbugs plugin. Thanks.


Sreenivas.


-----Ursprüngliche Nachricht-----
Von: Jeff Jensen [mailto:jeffjensen@upstairstechnology.com] 
Gesendet: Mittwoch, 6. Juli 2005 16:53
An: Maven Users List
Betreff: Re: AW: [M1] Findbugs plugin problem.

Not to sound mean, but you really need to start reading the documentation
more
carefully.  The answer to your current problem is on this page:
http://maven-plugins.sourceforge.net/maven-findbugs-plugin/properties.html

Note the second entry, maven.findbugs.detail:
  "Specifies whether "low", "medium", or "high" priority bugs should be
listed.
Defaults to "medium"."

true is not a valid option.


Quoting Sreenivas Mangasandra <sr...@intland.com>:

> Hallo,
>
> Well I downloaded the findbugs plugin and it is stored in the maven's
plugin
> directory ("C:\maven1.0.2\plugins\maven-findbugs-plugin-0.9.1.jar").
>
> When I include it in the project.properties file as shown below,
>
> #findbugs plugin.
> maven.findbugs.enable = true
>
> # Detail information to be shown or not.
> maven.findbugs.detail = true (corrected to high)
>
>
> I should get some result like-
>
http://maven-plugins.sourceforge.net/maven-findbugs-plugin/sample-findbugs-r
> eport.html
>
> ** But I don’t see any result of findbugs though I deliberately have some
>
>    syntax errors in my project code. Could anyone explain or has anybody
>    faced the same problem.
>
> What I use is:
>
> Maven: version 1.0.2
> JDK  : 1.4.2_8
> O.S  : Windows XP
>
>
> Sreenivas.
>
>
> -----Ursprüngliche Nachricht-----
> Von: Jamie Bisotti [mailto:jbisotti@gmail.com]
> Gesendet: Mittwoch, 6. Juli 2005 15:05
> An: Maven Users List
> Betreff: Re: [M1] Findbugs plugin problem.
>
> The FindBugs plugin is not part of the 1.0.2 distribution; you have to
> install it separately.  Did you do that?  If not, do the following:
>
> maven plugin:download
>
> When prompted for the 'artifactId', enter "maven-findbugs-plugin"
> When prompted for the 'groupId', enter "maven-plugins"
> When prompted for the 'version', enter "0.9.1"
>
>
> On 7/6/05, Sreenivas Mangasandra <sr...@intland.com>
wrote:
> > Hallo,
> >
> >
> >
> > Has anybody worked with findbugs plugin. Can we generate reports to show
> > bugs in our projects. I tried to use the
> >
> > findbugs plugin in the reports tag, but my build Failed.
> >
> >
> >
> > <report>maven-findbugs-plugin</reports>
> >
> >
> >
> > BUILD FAILED
> >
> > File...... C:\Dokumente und
> > Einstellungen\Sreenivas\.maven\cache\maven-xdoc-plugin-1.8\plugin.jelly
> >
> > Element... attainGoal
> >
> > Line...... 687
> >
> > Column.... 48
> >
> > No goal [maven-findbugs-plugin:register]
> >
> >
> >
> > I use maven 1.0.2 and jdk1.4.2.
> >
> >
> >
> >
> >
> > With Best regards / Mit freundlichen Grüßen
> >
> > Sreenivas Mangasandra,
> >
> > Intland Software GmbH, Wankel Str. 3,
> >
> > D-70563 Stuttgart, Germany.
> >
> > Tel.: +49 711 722 1834
> >
> >
> >
> >
> >
>
>
> --
> Jamie Bisotti
> Software Engineer
> Lexmark International, Inc.
>
> ---------------------------------------------------------------------
> 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
>
>




---------------------------------------------------------------------
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: AW: [M1] Findbugs plugin problem.

Posted by Jeff Jensen <je...@upstairstechnology.com>.
Not to sound mean, but you really need to start reading the documentation more
carefully.  The answer to your current problem is on this page:
http://maven-plugins.sourceforge.net/maven-findbugs-plugin/properties.html

Note the second entry, maven.findbugs.detail:
  "Specifies whether "low", "medium", or "high" priority bugs should be listed.
Defaults to "medium"."

true is not a valid option.


Quoting Sreenivas Mangasandra <sr...@intland.com>:

> Hallo,
>
> Well I downloaded the findbugs plugin and it is stored in the maven's plugin
> directory ("C:\maven1.0.2\plugins\maven-findbugs-plugin-0.9.1.jar").
>
> When I include it in the project.properties file as shown below,
>
> #findbugs plugin.
> maven.findbugs.enable = true
>
> # Detail information to be shown or not.
> maven.findbugs.detail = true
>
>
> I should get some result like-
> http://maven-plugins.sourceforge.net/maven-findbugs-plugin/sample-findbugs-r
> eport.html
>
> ** But I don’t see any result of findbugs though I deliberately have some
>
>    syntax errors in my project code. Could anyone explain or has anybody
>    faced the same problem.
>
> What I use is:
>
> Maven: version 1.0.2
> JDK  : 1.4.2_8
> O.S  : Windows XP
>
>
> Sreenivas.
>
>
> -----Ursprüngliche Nachricht-----
> Von: Jamie Bisotti [mailto:jbisotti@gmail.com]
> Gesendet: Mittwoch, 6. Juli 2005 15:05
> An: Maven Users List
> Betreff: Re: [M1] Findbugs plugin problem.
>
> The FindBugs plugin is not part of the 1.0.2 distribution; you have to
> install it separately.  Did you do that?  If not, do the following:
>
> maven plugin:download
>
> When prompted for the 'artifactId', enter "maven-findbugs-plugin"
> When prompted for the 'groupId', enter "maven-plugins"
> When prompted for the 'version', enter "0.9.1"
>
>
> On 7/6/05, Sreenivas Mangasandra <sr...@intland.com> wrote:
> > Hallo,
> >
> >
> >
> > Has anybody worked with findbugs plugin. Can we generate reports to show
> > bugs in our projects. I tried to use the
> >
> > findbugs plugin in the reports tag, but my build Failed.
> >
> >
> >
> > <report>maven-findbugs-plugin</reports>
> >
> >
> >
> > BUILD FAILED
> >
> > File...... C:\Dokumente und
> > Einstellungen\Sreenivas\.maven\cache\maven-xdoc-plugin-1.8\plugin.jelly
> >
> > Element... attainGoal
> >
> > Line...... 687
> >
> > Column.... 48
> >
> > No goal [maven-findbugs-plugin:register]
> >
> >
> >
> > I use maven 1.0.2 and jdk1.4.2.
> >
> >
> >
> >
> >
> > With Best regards / Mit freundlichen Grüßen
> >
> > Sreenivas Mangasandra,
> >
> > Intland Software GmbH, Wankel Str. 3,
> >
> > D-70563 Stuttgart, Germany.
> >
> > Tel.: +49 711 722 1834
> >
> >
> >
> >
> >
>
>
> --
> Jamie Bisotti
> Software Engineer
> Lexmark International, Inc.
>
> ---------------------------------------------------------------------
> 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
>
>




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


AW: [M1] Findbugs plugin problem.

Posted by Sreenivas Mangasandra <sr...@intland.com>.
Hallo,

Well I downloaded the findbugs plugin and it is stored in the maven's plugin
directory ("C:\maven1.0.2\plugins\maven-findbugs-plugin-0.9.1.jar").

When I include it in the project.properties file as shown below, 

#findbugs plugin.
maven.findbugs.enable = true

# Detail information to be shown or not.
maven.findbugs.detail = true


I should get some result like- 
http://maven-plugins.sourceforge.net/maven-findbugs-plugin/sample-findbugs-r
eport.html

** But I don’t see any result of findbugs though I deliberately have some

   syntax errors in my project code. Could anyone explain or has anybody 
   faced the same problem.   

What I use is:

Maven: version 1.0.2
JDK  : 1.4.2_8
O.S  : Windows XP


Sreenivas.


-----Ursprüngliche Nachricht-----
Von: Jamie Bisotti [mailto:jbisotti@gmail.com] 
Gesendet: Mittwoch, 6. Juli 2005 15:05
An: Maven Users List
Betreff: Re: [M1] Findbugs plugin problem.

The FindBugs plugin is not part of the 1.0.2 distribution; you have to
install it separately.  Did you do that?  If not, do the following:

maven plugin:download

When prompted for the 'artifactId', enter "maven-findbugs-plugin"
When prompted for the 'groupId', enter "maven-plugins"
When prompted for the 'version', enter "0.9.1"


On 7/6/05, Sreenivas Mangasandra <sr...@intland.com> wrote:
> Hallo,
> 
> 
> 
> Has anybody worked with findbugs plugin. Can we generate reports to show
> bugs in our projects. I tried to use the
> 
> findbugs plugin in the reports tag, but my build Failed.
> 
> 
> 
> <report>maven-findbugs-plugin</reports>
> 
> 
> 
> BUILD FAILED
> 
> File...... C:\Dokumente und
> Einstellungen\Sreenivas\.maven\cache\maven-xdoc-plugin-1.8\plugin.jelly
> 
> Element... attainGoal
> 
> Line...... 687
> 
> Column.... 48
> 
> No goal [maven-findbugs-plugin:register]
> 
> 
> 
> I use maven 1.0.2 and jdk1.4.2.
> 
> 
> 
> 
> 
> With Best regards / Mit freundlichen Grüßen
> 
> Sreenivas Mangasandra,
> 
> Intland Software GmbH, Wankel Str. 3,
> 
> D-70563 Stuttgart, Germany.
> 
> Tel.: +49 711 722 1834
> 
> 
> 
> 
> 


-- 
Jamie Bisotti
Software Engineer
Lexmark International, Inc.

---------------------------------------------------------------------
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: [M1] Findbugs plugin problem.

Posted by Jamie Bisotti <jb...@gmail.com>.
The FindBugs plugin is not part of the 1.0.2 distribution; you have to
install it separately.  Did you do that?  If not, do the following:

maven plugin:download

When prompted for the 'artifactId', enter "maven-findbugs-plugin"
When prompted for the 'groupId', enter "maven-plugins"
When prompted for the 'version', enter "0.9.1"


On 7/6/05, Sreenivas Mangasandra <sr...@intland.com> wrote:
> Hallo,
> 
> 
> 
> Has anybody worked with findbugs plugin. Can we generate reports to show
> bugs in our projects. I tried to use the
> 
> findbugs plugin in the reports tag, but my build Failed.
> 
> 
> 
> <report>maven-findbugs-plugin</reports>
> 
> 
> 
> BUILD FAILED
> 
> File...... C:\Dokumente und
> Einstellungen\Sreenivas\.maven\cache\maven-xdoc-plugin-1.8\plugin.jelly
> 
> Element... attainGoal
> 
> Line...... 687
> 
> Column.... 48
> 
> No goal [maven-findbugs-plugin:register]
> 
> 
> 
> I use maven 1.0.2 and jdk1.4.2.
> 
> 
> 
> 
> 
> With Best regards / Mit freundlichen Grüßen
> 
> Sreenivas Mangasandra,
> 
> Intland Software GmbH, Wankel Str. 3,
> 
> D-70563 Stuttgart, Germany.
> 
> Tel.: +49 711 722 1834
> 
> 
> 
> 
> 


-- 
Jamie Bisotti
Software Engineer
Lexmark International, Inc.

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


RE: [M1] Findbugs plugin problem.

Posted by Jeff Jensen <je...@upstairstechnology.com>.
Findbugs does not ship with Maven.

Go to the findbugs plugin page docs, click the downloads link:
http://maven-plugins.sourceforge.net/maven-findbugs-plugin/downloads.html

Click on the release notes of the version you want.  It describes how to
download & install.

A second method, not documented in the findbugs release notes (but you can
do for any plugin that is setup to do so), is to add this to your
project.xml file:

        <dependency>
            <groupId>maven-plugins</groupId>
            <artifactId>maven-findbugs-plugin</artifactId>
            <version>0.9.1</version>
            <type>plugin</type>
        </dependency>

This makes the download automatic for anyone using the project.xml file.


-----Original Message-----
From: Sreenivas Mangasandra [mailto:sreenivas.mangasandra@intland.com] 
Sent: Wednesday, July 06, 2005 2:56 AM
To: 'Maven Users List'
Subject: [M1] Findbugs plugin problem.

Hallo,

 

Has anybody worked with findbugs plugin. Can we generate reports to show
bugs in our projects. I tried to use the

findbugs plugin in the reports tag, but my build Failed.

 

<report>maven-findbugs-plugin</reports>

 

BUILD FAILED

File...... C:\Dokumente und
Einstellungen\Sreenivas\.maven\cache\maven-xdoc-plugin-1.8\plugin.jelly

Element... attainGoal

Line...... 687

Column.... 48

No goal [maven-findbugs-plugin:register]

 

I use maven 1.0.2 and jdk1.4.2.

 

 

With Best regards / Mit freundlichen Grüßen 

Sreenivas Mangasandra,

Intland Software GmbH, Wankel Str. 3,

D-70563 Stuttgart, Germany.

Tel.: +49 711 722 1834

 



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