Re: how do i disable the sunconvention check with checkstyle?

2006-10-16 Thread Rolf Strijdhorst

Hi Martin,

the suggestion about the pluginmanagement does not work for me. But I
managed it to work correctly due to the rest of your suggestions. So many
thanks

Rolf

On 10/11/06, Zeltner Martin <[EMAIL PROTECTED]> wrote:


Hello Rolf

You have to place the  element directly inside the
 element. Further pay attention that your plugin element is
defined inside "build/pluginManagement/plugins", else (if it is defined
inside "build/plugins") checkstyle will be executed on phase "verify"
(directly before phase "install") one more time. Due to issue
http://jira.codehaus.org/browse/MNG-1931 config made in pluginManagement
will not be directly reused in element . You have to copy
your configuration for site generation! At best you use 
(checkstyle.config.location and so only) to config the checkstyle-plugin
without adding a  section. For an example have a look at
http://svn.sourceforge.net/viewvc/el4j/trunk/el4j/pom.xml?view=markup

Cheers,
Martin



> -Original Message-
> From: Rolf Strijdhorst [mailto:[EMAIL PROTECTED]
> Sent: Dienstag, 10. Oktober 2006 16:21
> To: Maven Users List
> Subject: how do i disable the sunconvention check with checkstyle?
>
> Hi I have a custom configuration.
> But both the sun conventions are checked as well as my own.
> I don't need the sun conventions
>
> btw the build needs to fail on violations so I added the check goal.
> here is the part of the config:
>
>
> 
> org.apache.maven.plugins
> maven-checkstyle-plugin
> 
> 
> basisregistratie styles release 1
> process-sources
> 
> 
> br_styles_release1.xml
> 
> 
> suppressions.xml
> 
> true
> 
> 
> check
> 
> 
> 
>
> thanx
> Rolf
>

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




Re: how do i disable the sunconvention check with checkstyle?

2006-10-11 Thread Rolf Strijdhorst

thanx,
Monday I will be in the office again and will do it as you mentioned.

Rolf

On 10/11/06, Zeltner Martin <[EMAIL PROTECTED]> wrote:


Hello Rolf

You have to place the  element directly inside the
 element. Further pay attention that your plugin element is
defined inside "build/pluginManagement/plugins", else (if it is defined
inside "build/plugins") checkstyle will be executed on phase "verify"
(directly before phase "install") one more time. Due to issue
http://jira.codehaus.org/browse/MNG-1931 config made in pluginManagement
will not be directly reused in element . You have to copy
your configuration for site generation! At best you use 
(checkstyle.config.location and so only) to config the checkstyle-plugin
without adding a  section. For an example have a look at
http://svn.sourceforge.net/viewvc/el4j/trunk/el4j/pom.xml?view=markup

Cheers,
Martin



> -Original Message-
> From: Rolf Strijdhorst [mailto:[EMAIL PROTECTED]
> Sent: Dienstag, 10. Oktober 2006 16:21
> To: Maven Users List
> Subject: how do i disable the sunconvention check with checkstyle?
>
> Hi I have a custom configuration.
> But both the sun conventions are checked as well as my own.
> I don't need the sun conventions
>
> btw the build needs to fail on violations so I added the check goal.
> here is the part of the config:
>
>
> 
> org.apache.maven.plugins
> maven-checkstyle-plugin
> 
> 
> basisregistratie styles release 1
> process-sources
> 
> 
> br_styles_release1.xml
> 
> 
> suppressions.xml
> 
> true
> 
> 
> check
> 
> 
> 
>
> thanx
> Rolf
>

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




RE: how do i disable the sunconvention check with checkstyle?

2006-10-10 Thread Zeltner Martin
Hello Rolf

You have to place the  element directly inside the
 element. Further pay attention that your plugin element is
defined inside "build/pluginManagement/plugins", else (if it is defined
inside "build/plugins") checkstyle will be executed on phase "verify"
(directly before phase "install") one more time. Due to issue
http://jira.codehaus.org/browse/MNG-1931 config made in pluginManagement
will not be directly reused in element . You have to copy
your configuration for site generation! At best you use 
(checkstyle.config.location and so only) to config the checkstyle-plugin
without adding a  section. For an example have a look at
http://svn.sourceforge.net/viewvc/el4j/trunk/el4j/pom.xml?view=markup

Cheers,
Martin



> -Original Message-
> From: Rolf Strijdhorst [mailto:[EMAIL PROTECTED] 
> Sent: Dienstag, 10. Oktober 2006 16:21
> To: Maven Users List
> Subject: how do i disable the sunconvention check with checkstyle?
> 
> Hi I have a custom configuration.
> But both the sun conventions are checked as well as my own.
> I don't need the sun conventions
> 
> btw the build needs to fail on violations so I added the check goal.
> here is the part of the config:
> 
> 
> 
> org.apache.maven.plugins
> maven-checkstyle-plugin
> 
> 
> basisregistratie styles release 1
> process-sources
> 
> 
> br_styles_release1.xml
> 
> 
> suppressions.xml
> 
> true
> 
> 
> check
> 
> 
> 
> 
> thanx
> Rolf
> 

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



Re: how do i disable the sunconvention check with checkstyle?

2006-10-10 Thread Dennis Lundberg

Rolf Strijdhorst wrote:

Hi I have a custom configuration.
But both the sun conventions are checked as well as my own.
I don't need the sun conventions

btw the build needs to fail on violations so I added the check goal.
here is the part of the config:


   
   org.apache.maven.plugins
   maven-checkstyle-plugin
   
   
   basisregistratie styles release 1
   process-sources
   
   
   br_styles_release1.xml
   
   
   suppressions.xml
   
   true
   
   
   check
   
   
   

thanx
Rolf



Did you try the standard configuration [1] for this first?


  ...
  

  
org.apache.maven.plugins
maven-checkstyle-plugin

  br_styles_release1.xml
  suppressions.xml

  

  
  ...



[1]http://maven.apache.org/plugins/maven-checkstyle-plugin/customize.html

--
Dennis Lundberg

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



how do i disable the sunconvention check with checkstyle?

2006-10-10 Thread Rolf Strijdhorst

Hi I have a custom configuration.
But both the sun conventions are checked as well as my own.
I don't need the sun conventions

btw the build needs to fail on violations so I added the check goal.
here is the part of the config:


   
   org.apache.maven.plugins
   maven-checkstyle-plugin
   
   
   basisregistratie styles release 1
   process-sources
   
   
   br_styles_release1.xml
   
   
   suppressions.xml
   
   true
   
   
   check
   
   
   

thanx
Rolf