Re: plugin execution inheritance
In this particular case, we don't have the same POM for inhertance/aggregation. I don't have any experience in writing Maven plugins, but could I write a lpugin that calls these 3 plugins sonia Stephen Connolly-2 wrote: remember that inheritance does not have to follow aggregation (just that life is easier when it does) On 27 April 2010 20:58, solo1970 sonia.lodoviche...@ericsson.com wrote: Hello, We had created a POM which had the execution of 3 plugins in the PluginManagement section and all the POMs needing this plugin execution, was inheriting from it. We are restructuring code and now we cannot inherit from that POM anymore because we don't have a common parent. Can I import a pluginManagement section, just like the import in dependencies??? Is there any other way to achieve this??? I hope it's clear Sonia -- View this message in context: http://old.nabble.com/plugin-execution-inheritance-tp28381340p28381340.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- View this message in context: http://old.nabble.com/plugin-execution-inheritance-tp28381340p28387757.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: plugin execution inheritance
I don't have any experience in writing Maven plugins, but could I write a plugin that calls these 3 plugins sonia Anders Hammar wrote: No, you cannot import a pluginManagement section. And I cannot think of any other solution for you than to specify the same configuration for each project (unless you can change to inherit from a common parent somewhere in the inheritance chain). /Anders On Tue, Apr 27, 2010 at 21:58, solo1970 sonia.lodoviche...@ericsson.comwrote: Hello, We had created a POM which had the execution of 3 plugins in the PluginManagement section and all the POMs needing this plugin execution, was inheriting from it. We are restructuring code and now we cannot inherit from that POM anymore because we don't have a common parent. Can I import a pluginManagement section, just like the import in dependencies??? Is there any other way to achieve this??? I hope it's clear Sonia -- View this message in context: http://old.nabble.com/plugin-execution-inheritance-tp28381340p28381340.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- View this message in context: http://old.nabble.com/plugin-execution-inheritance-tp28381340p28387758.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: plugin execution inheritance
No, you cannot import a pluginManagement section. And I cannot think of any other solution for you than to specify the same configuration for each project (unless you can change to inherit from a common parent somewhere in the inheritance chain). /Anders On Tue, Apr 27, 2010 at 21:58, solo1970 sonia.lodoviche...@ericsson.comwrote: Hello, We had created a POM which had the execution of 3 plugins in the PluginManagement section and all the POMs needing this plugin execution, was inheriting from it. We are restructuring code and now we cannot inherit from that POM anymore because we don't have a common parent. Can I import a pluginManagement section, just like the import in dependencies??? Is there any other way to achieve this??? I hope it's clear Sonia -- View this message in context: http://old.nabble.com/plugin-execution-inheritance-tp28381340p28381340.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: plugin execution inheritance
remember that inheritance does not have to follow aggregation (just that life is easier when it does) On 27 April 2010 20:58, solo1970 sonia.lodoviche...@ericsson.com wrote: Hello, We had created a POM which had the execution of 3 plugins in the PluginManagement section and all the POMs needing this plugin execution, was inheriting from it. We are restructuring code and now we cannot inherit from that POM anymore because we don't have a common parent. Can I import a pluginManagement section, just like the import in dependencies??? Is there any other way to achieve this??? I hope it's clear Sonia -- View this message in context: http://old.nabble.com/plugin-execution-inheritance-tp28381340p28381340.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org