I looked into this.. I found the xml file in checkstyle plugin directory in
.plugins.  since this is created automatically, I am reluctant to modify
this file.  Upgrading to a newer version of checkstyle plugin could
overwrite it.  Or upgrading maven, I often delete my .plugins file.  Now if
I can put the checkstyle.xml in another directory that would be nice but I
don't see a way to do that.  I only see a thing about checkstyle properties
and I don't think that is referring to the XML files.  I spent a bit of time
trying it out but couldn't get anywhere with it, so I assumed I was missing
something simple.  Now I think everyone just uses the defaults. ;)

A few more plugin properties would be really cool, like:

checkstyle.suppressions.file=${basedir}/checkstyle_suppressions.xml

Michael

> -----Message d'origine-----
> De : Vincent Massol [mailto:[EMAIL PROTECTED]
> Envoye : lundi 3 mai 2004 11:15
> A : 'Maven Users List'
> Objet : RE: How to set suppressions for checkstyle plugin
>
>
> Hi Michael,
>
> You have complete power over the checkstyle.xml file. So you can provide
> your own. I think that the suppressions/filter stuff are defined inside
> this file so you should be able to control them. Why don't you try it
> and tell us how it goes? If required, we can improve the plugin to
> support whatever's needed.
>
> Thanks
> -Vincent
>
> > -----Original Message-----
> > From: Michael Mattox [mailto:[EMAIL PROTECTED]
> > Sent: 03 May 2004 10:54
> > To: Maven Users List
> > Subject: How to set suppressions for checkstyle plugin
> >
> > I'm using the checkstyle plugin and I'd like to suppress some of the
> > things
> > it checks.  The docs for the plugin talk about a checkstyle properties
> but
> > nothing about supressions.  The checkstyle docs talk about a
> > suppressions.xml but I'm not sure how to configure the maven plugin to
> use
> > the suppressions.xml document.  Any ideas?
> >
> > Regards,
> > Michael Mattox
> >
> >
> >
> >
> > --
> > This E-mail is confidential.  It may also be legally privileged.  If
> you
> > are
> > not the addressee you may not copy, forward, disclose or use any part
> of
> > it.
> > If you have received this message in error, please delete it and all
> > copies
> > from your system and notify the sender immediately by return E-mail.
> > Internet communications cannot be guaranteed to be timely, secure,
> error
> > or
> > virus-free.  The sender does not accept liability for any errors or
> > omissions.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


--
This E-mail is confidential.  It may also be legally privileged.  If you are
not the addressee you may not copy, forward, disclose or use any part of it.
If you have received this message in error, please delete it and all copies
from your system and notify the sender immediately by return E-mail.
Internet communications cannot be guaranteed to be timely, secure, error or
virus-free.  The sender does not accept liability for any errors or omissions.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to