FYI it is a change in Maven 3.

Here are a few informations I found:

In [1]: "Configuration in the reporting section also applies if plugin goals 
are  
invoked individually.  The converse is not true-- if you configure the  plugin 
inside <build>, that configuration will NOT apply to  <reporting>."

In [2]: "[...] plugin configuration in the <reporting> section no longer 
affects 
plugins in the <build> section of the POM. Users that employed this style of 
configuration  will need to copy the desired configuration parameters for a 
plugin from  the <reporting> section to the <build> section."

Maybe [1] should be updated?


[1] http://docs.codehaus.org/display/MAVENUSER/Reporting+Plugins
[2] 
https://cwiki.apache.org/MAVEN/maven-3x-compatibility-notes.html#Maven3.xCompatibilityNotes-SiteandReporting




----- Message d'origine ----
> De : Olivier Lamy <[email protected]>
> À : Maven Users List <[email protected]>
> Cc : cattox <[email protected]>
> Envoyé le : Jeu 17 mars 2011, 12h 13min 05s
> Objet : Re: [M3] CheckStyle configuration file
> 
> correct.
> 
> 2011/3/17 cattox <[email protected]>:
> > I think I  might have discovered the logic of it.
> >
> > By configuring it in the  plugins section I'm configuring the
> > checkstyle:checkstyle cmd.
> >  By configuring it in the reporting section I'm configuring the site  cmd.
> >
> > Is that right?
> >
> > --
> > View this message  in context: 
>http://maven.40175.n5.nabble.com/M3-CheckStyle-configuration-file-tp3868434p3871359.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]
> >
> >
> 
> 
> 
> -- 
> Olivier Lamy
> http://twitter.com/olamy
> http://www.linkedin.com/in/olamy
> 
> ---------------------------------------------------------------------
> 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