Can I integrate PMD and FindBugs to Continuum?

View: New views
5 Messages — Rating Filter:   Alert me  

Can I integrate PMD and FindBugs to Continuum?

by Cheng Wei Lee :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If yes, how? Any documents or wiki on the net? Thanks!

Re: Can I integrate PMD and FindBugs to Continuum?

by Wendy Smoak-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Mar 5, 2008 at 9:32 PM, Cheng Wei Lee <zhenwei.li@...> wrote:

> If yes, how? Any documents or wiki on the net? Thanks!

The answer depends on how you're building your code.

If you're using Maven 2, there are plugins for both of those tools.
You can configure it to fail the build if problems are found, and/or
use Continuum to generate and publish the project website with
reports.

--
Wendy

Re: Can I integrate PMD and FindBugs to Continuum?

by mickknutson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have seen some documents on creating Checkstyle limits that would fail a
build as in Continuum, but is there anything for PMD threshold failing?

On Wed, Mar 5, 2008 at 8:40 PM, Wendy Smoak <wsmoak@...> wrote:

> On Wed, Mar 5, 2008 at 9:32 PM, Cheng Wei Lee <zhenwei.li@...>
> wrote:
>
> > If yes, how? Any documents or wiki on the net? Thanks!
>
> The answer depends on how you're building your code.
>
> If you're using Maven 2, there are plugins for both of those tools.
> You can configure it to fail the build if problems are found, and/or
> use Continuum to generate and publish the project website with
> reports.
>
> --
> Wendy
>



--
Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/BLiNCMagazine
http://tahoe.baselogic.com
---

Re: Can I integrate PMD and FindBugs to Continuum?

by Wendy Smoak-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Mar 5, 2008 at 9:51 PM, Mick Knutson <mickknutson@...> wrote:

> I have seen some documents on creating Checkstyle limits that would fail a
>  build as in Continuum, but is there anything for PMD threshold failing?

I'm not that familiar with it, but the docs talk about failing the
build if there are errors:
http://maven.apache.org/plugins/maven-pmd-plugin/examples/violationChecking.html

--
Wendy

Re: Can I integrate PMD and FindBugs to Continuum?

by mickknutson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

But it looks like it just fails if there is a violation. I think it is never
going to be zero. We try to standardize on <50 but I don';t see anything
like that in the docs.


On Wed, Mar 5, 2008 at 8:55 PM, Wendy Smoak <wsmoak@...> wrote:

> On Wed, Mar 5, 2008 at 9:51 PM, Mick Knutson <mickknutson@...>
> wrote:
>
> > I have seen some documents on creating Checkstyle limits that would fail
> a
> >  build as in Continuum, but is there anything for PMD threshold failing?
>
> I'm not that familiar with it, but the docs talk about failing the
> build if there are errors:
>
> http://maven.apache.org/plugins/maven-pmd-plugin/examples/violationChecking.html
>
> --
> Wendy
>



--
Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/BLiNCMagazine
http://tahoe.baselogic.com
---