You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Radim Kolar <hs...@filez.com> on 2012/07/22 21:06:07 UTC

pluginManagement for reporting plugins

Its possible to manage version of reporting plugins? I can get version 
management work for build plugins, but not for reporting.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: pluginManagement for reporting plugins

Posted by Hervé BOUTEMY <he...@free.fr>.
the pluginManagement section is used for reports only when run with Maven 3, 
but not supported by Maven 2

Notice this has nothing to do with the new configuration format: this new 
format doesn't add any feature, it's only an implementation detail made 
visible to users, and it's even more limited that previous format because 
inheritence isn't available. So it's really not for users, only for internal 
injection of reports into the site plugin.

Regards,

Hervé

Le dimanche 22 juillet 2012 22:08:22 Anders Hammar a écrit :
> No, it's not possible to manage the version of reporting plugins in
> the reporting section through pluginManagement.
> 
> However, if you're using Maven 3 and maven-site-plugin 3.x, you can
> take advantage of the new version resolution:
> http://maven.apache.org/plugins/maven-site-plugin/maven-3.html#Version_Resol
> ution The text doesn't say, but this *might* require that you use the new
> configuration format:
> http://maven.apache.org/plugins/maven-site-plugin/maven-3.html#New_Configura
> tion_Maven_3_only_no_reports_configuration_inheritance
> 
> /Anders
> 
> On Sun, Jul 22, 2012 at 9:06 PM, Radim Kolar <hs...@filez.com> wrote:
> > Its possible to manage version of reporting plugins? I can get version
> > management work for build plugins, but not for reporting.
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: pluginManagement for reporting plugins

Posted by Anders Hammar <an...@hammar.net>.
No, it's not possible to manage the version of reporting plugins in
the reporting section through pluginManagement.

However, if you're using Maven 3 and maven-site-plugin 3.x, you can
take advantage of the new version resolution:
http://maven.apache.org/plugins/maven-site-plugin/maven-3.html#Version_Resolution
The text doesn't say, but this *might* require that you use the new
configuration format:
http://maven.apache.org/plugins/maven-site-plugin/maven-3.html#New_Configuration_Maven_3_only_no_reports_configuration_inheritance

/Anders

On Sun, Jul 22, 2012 at 9:06 PM, Radim Kolar <hs...@filez.com> wrote:
> Its possible to manage version of reporting plugins? I can get version
> management work for build plugins, but not for reporting.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org