RE: How to set suppressions for checkstyle plugin

2004-05-05 Thread Michael MATTOX

> I am not too sure about this one, but can farly remember that I
> once had a
> similar problem. Have a look in your maven plugin directory for the
> checkstyle plugin. There you will find the checkstyle settings for sun and
> turbine in the proper format (they do not use the full classpath
> to the checks
> (com.puppycrawl.tools.checkstyle). Just use one of these two as
> template to
> start with and it might work.

Your suggestion worked.  instead of using the normal checkstyle xml file I
used the one in the plugin dir.  Works great now.

Thanks
Michael




Our name has changed, please update your address book to the following format for the 
latest identities received "[EMAIL PROTECTED]".

This message contains information that may be privileged or confidential and is the 
property of the Capgemini Group. It is intended only for the person to whom it is 
addressed. If you are not the intended recipient,  you are not authorized to read, 
print, retain, copy, disseminate,  distribute, or use this message or any part 
thereof. If you receive this  message in error, please notify the sender immediately 
and delete all  copies of this message.


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



RE: How to set suppressions for checkstyle plugin

2004-05-05 Thread Michael Mattox
> I am not too sure about this one, but can farly remember that I
> once had a
> similar problem. Have a look in your maven plugin directory for the
> checkstyle plugin. There you will find the checkstyle settings for sun and
> turbine in the proper format (they do not use the full classpath
> to the checks
> (com.puppycrawl.tools.checkstyle). Just use one of these two as
> template to
> start with and it might work.

Your suggestion worked.  instead of using the normal checkstyle xml file I
used the one in the plugin dir.  Works great now.

Thanks
Michael


--
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]



Re: How to set suppressions for checkstyle plugin

2004-05-04 Thread Jörg Hohwiller
Hi there,

On Tuesday 04 May 2004 09:59, Michael Mattox wrote:
> > No, no. You don't get me. You must use the maven.checkstyle.properties
> > property and provide your own CS configuration. This is the way to use
> > CS.
>
> Ok, I got Maven to use my checkstyle.xml (I just copied SUN's for now but I
> will modify it later).  now I understand more about modifying the XML file
> to customize the checks.  However, when I run checkstyle with maven I get
> the following error.  I searched the archives and only found one message
> (see below) which doesn't explain it:
>
> D:\projects\MDSP\maven\sources\cs-common>maven -e checkstyle:report
>  __  __
>
> |  \/  |__ _Apache__ ___
> |
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc2
>
> build:start:
>
> checkstyle:init:
>
> checkstyle:report:
> checkstyle:run:
> [echo] Using D:\projects\MDSP\maven\sources\cs-common/checkstyle.xml
> for checkstyle ...
>
> BUILD FAILED
> Unable to create a Checker: cannot initialize module TreeWalker - Unable to
> instantiate MethodParamPad
> at
> com.puppycrawl.tools.checkstyle.CheckStyleTask.createChecker(CheckStyleTask
>. java:319)
> at
> [cut]
I am not too sure about this one, but can farly remember that I once had a 
similar problem. Have a look in your maven plugin directory for the
checkstyle plugin. There you will find the checkstyle settings for sun and
turbine in the proper format (they do not use the full classpath to the checks 
(com.puppycrawl.tools.checkstyle). Just use one of these two as template to 
start with and it might work.

Take care
  Jörg


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



RE: How to set suppressions for checkstyle plugin

2004-05-04 Thread Vincent Massol
Dunno. It's working fine in RC3 for the plugins (which are themselves
Maven projects executing the checkstyle report). Sorry, I don't have the
time to debug for you now. Maybe others will know.

Thanks
-Vincent

> -Original Message-
> From: Michael Mattox [mailto:[EMAIL PROTECTED]
> Sent: 04 May 2004 10:00
> To: Vincent Massol; 'Maven Users List'
> Subject: RE: How to set suppressions for checkstyle plugin
> 
> > No, no. You don't get me. You must use the
maven.checkstyle.properties
> > property and provide your own CS configuration. This is the way to
use
> > CS.
> 
> Ok, I got Maven to use my checkstyle.xml (I just copied SUN's for now
but
> I
> will modify it later).  now I understand more about modifying the XML
file
> to customize the checks.  However, when I run checkstyle with maven I
get
> the following error.  I searched the archives and only found one
message
> (see below) which doesn't explain it:
> 
> D:\projects\MDSP\maven\sources\cs-common>maven -e checkstyle:report
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc2
> 
> build:start:
> 
> checkstyle:init:
> 
> checkstyle:report:
> checkstyle:run:
> [echo] Using
D:\projects\MDSP\maven\sources\cs-common/checkstyle.xml
> for
> checkstyle ...
> 
> BUILD FAILED
> Unable to create a Checker: cannot initialize module TreeWalker -
Unable
> to
> instantiate MethodParamPad
> at
>
com.puppycrawl.tools.checkstyle.CheckStyleTask.createChecker(CheckStyleT
as
> k.
> java:319)
> at
>
com.puppycrawl.tools.checkstyle.CheckStyleTask.execute(CheckStyleTask.ja
va
> :2
> 59)
> at org.apache.tools.ant.Task.perform(Task.java:341)
> at
org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:232)
> at
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
> at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
> at
>
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.j
av
> a:
> 78)
> at
>
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAc
ti
> on
> (MavenGoalTag.java:99)
> at com.werken.werkz.Goal.fire(Goal.java:639)
> at com.werken.werkz.Goal.attain(Goal.java:575)
> at
com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
> at
>
org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGo
al
> Ta
> g.java:126)
> at
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
> at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
> at
> org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
> at
org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
> at
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
> at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
> at
>
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.j
av
> a:
> 78)
> at
>
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAc
ti
> on
> (MavenGoalTag.java:99)
> at com.werken.werkz.Goal.fire(Goal.java:639)
> at com.werken.werkz.Goal.attain(Goal.java:575)
> at
com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
> at
>
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:531
)
> at
> org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
> at org.apache.maven.cli.App.doMain(App.java:466)
> at org.apache.maven.cli.App.main(App.java:1117)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:
> 39
> )
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Im
> pl
> .java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
> Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException:
cannot
> initialize module TreeWalker - Unable to instantiate MethodPara
> at
> com.puppycrawl.tools.checkstyle.Checker.setupChild(Checker.java:214)
> at
>
com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(AutomaticBea
n.
> ja
> va:203)
> at
>
com.puppycrawl.tools.checkstyle.CheckStyleTask.createChecker(CheckStyleT
as
> k.
> java:310)
> ... 32 more
> Cau

RE: How to set suppressions for checkstyle plugin

2004-05-04 Thread Michael Mattox
> No, no. You don't get me. You must use the maven.checkstyle.properties
> property and provide your own CS configuration. This is the way to use
> CS.

Ok, I got Maven to use my checkstyle.xml (I just copied SUN's for now but I
will modify it later).  now I understand more about modifying the XML file
to customize the checks.  However, when I run checkstyle with maven I get
the following error.  I searched the archives and only found one message
(see below) which doesn't explain it:

D:\projects\MDSP\maven\sources\cs-common>maven -e checkstyle:report
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc2

build:start:

checkstyle:init:

checkstyle:report:
checkstyle:run:
[echo] Using D:\projects\MDSP\maven\sources\cs-common/checkstyle.xml for
checkstyle ...

BUILD FAILED
Unable to create a Checker: cannot initialize module TreeWalker - Unable to
instantiate MethodParamPad
at
com.puppycrawl.tools.checkstyle.CheckStyleTask.createChecker(CheckStyleTask.
java:319)
at
com.puppycrawl.tools.checkstyle.CheckStyleTask.execute(CheckStyleTask.java:2
59)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:232)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:
78)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction
(MavenGoalTag.java:99)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
at
org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTa
g.java:126)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:
78)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction
(MavenGoalTag.java:99)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:531)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
at org.apache.maven.cli.App.doMain(App.java:466)
at org.apache.maven.cli.App.main(App.java:1117)
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:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException: cannot
initialize module TreeWalker - Unable to instantiate MethodPara
at
com.puppycrawl.tools.checkstyle.Checker.setupChild(Checker.java:214)
at
com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(AutomaticBean.ja
va:203)
at
com.puppycrawl.tools.checkstyle.CheckStyleTask.createChecker(CheckStyleTask.
java:310)
... 32 more
Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException: Unable
to instantiate MethodParamPad
at
com.puppycrawl.tools.checkstyle.PackageObjectFactory.createModule(PackageObj
ectFactory.java:157)
at
com.puppycrawl.tools.checkstyle.TreeWalker.setupChild(TreeWalker.java:188)
at
com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(AutomaticBean.ja
va:203)
at
com.puppycrawl.tools.checkstyle.Checker.setupChild(Checker.java:193)
... 34 more
Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException: Unable
to instantiate MethodParamPadCheck
at
com.puppycrawl.tools.checkstyle.PackageObjectFactory.doMakeObject(PackageObj
ectFactory.java:101)
at
com.puppycrawl.tools.checkstyle.PackageObjectFactory.createModule(PackageObj
ectFactory.java:154)
... 37 more
--- Nested Exception ---
com.puppycrawl.tools.checkstyle.api.CheckstyleException: cannot initialize
module TreeWalker - Unable to instantiate MethodParamPad
at
com.puppycrawl.tools.checkstyle.Checker.setupChild(Checker.java:

RE: How to set suppressions for checkstyle plugin

2004-05-03 Thread Vincent Massol


> -Original Message-
> From: Michael Mattox [mailto:[EMAIL PROTECTED]
> Sent: 03 May 2004 13:32
> To: Vincent Massol; 'Maven Users List'
> Subject: RE: How to set suppressions for checkstyle plugin
> 
> 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.  

No, no. You don't get me. You must use the maven.checkstyle.properties
property and provide your own CS configuration. This is the way to use
CS.

> 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.  

It is! It is badly named as it was named like this when CS was still
using properties file for its configuration... :-)

> 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. ;)

Usually people always use the maven.checkstyle.properties property
because everyone wants to tune the checks to his/her own liking! :-)

> 
> A few more plugin properties would be really cool, like:
> 
> checkstyle.suppressions.file=${basedir}/checkstyle_suppressions.xml

That's possible too. Could you please open a JIRA issue and provide a
patch?

Thanks
-Vincent

> 
> 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]



RE: How to set suppressions for checkstyle plugin

2004-05-03 Thread dion_gillard
See http://maven.apache.org/reference/plugins/checkstyle/properties.html

On that page, check out the entry for maven.checkstyle.properties.

Copy one of the ones found in the plugin and then set that property in 
your project.properties,
e.g.

maven.checkstyle.properties=${basedir}/mycheckstyle.xml

HTH,
--
dIon Gillard, Multitask Consulting



"Michael Mattox" <[EMAIL PROTECTED]> wrote on 03/05/2004 
09:32:18 PM:

> 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]
> 


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



RE: How to set suppressions for checkstyle plugin

2004-05-03 Thread Michael Mattox
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]



RE: How to set suppressions for checkstyle plugin

2004-05-03 Thread Vincent Massol
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]



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



How to set suppressions for checkstyle plugin

2004-05-03 Thread Michael Mattox
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]