Hi,

Where is located checkstyle configuration? In <reporting> section or 
<plugins[Management]> section?

Regards,

Julien



----- Message d'origine ----
> De : cattox <[email protected]>
> À : [email protected]
> Envoyé le : Jeu 17 mars 2011, 11h 04min 20s
> Objet : [M3] CheckStyle configuration file
> 
> Hi all,
> 
> I've been trying to configure checkstyle while using maven  checkstyle
> plugin. The problem is my pom configuration seems to be completly  ignored  
> 
> The corresponding pom section of my pom file looks like  this:
> 
> 
> ...
> .
> org.apache.maven.plugins.
> maven-checkstyle-plugin.
> 2.6.
> .
> checkstyle-conf.xml.
> .
> 
> ...
> 
> 
> and  after running:
> 
> 
> mvn -X -e checkstyle:checkstyle
> 
> 
> 
>  the  log file shows this:
> 
> 
> ...
> [DEBUG] RuntimeInstance successfully  initialized.
> [DEBUG] Configuring  mojo
> 'org.apache.maven.plugins:maven-checkstyle-plugin:2.6:checkstyle' with  basic
> configurator -->
> [DEBUG]   (f) cacheFile =  D:\projectos\java\qre\target/checkstyle-cachefile
> [DEBUG]   (f)  configLocation = config/sun_checks.xml
> [DEBUG]   (f) consoleOutput =  false
> ...
> 
> 
> The parameter configLocation assumes the default value 
> 
> Does anyone have any idea of what I am doing  wrong??
> 
> 
> 
> --
> View this message in context: 
>http://maven.40175.n5.nabble.com/M3-CheckStyle-configuration-file-tp3868434p3868434.html
>
> Sent  from the Maven - Users mailing list archive at  Nabble.com.
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to