More one phase for the execution's plugin
Hi Why is it not possible to put the execution's plugin in more on phase ? You must declare two executions of a plugin with the same configuration. For example, you must define the plugin like this : project build plugins plugin groupIdorg.example./groupId artifactIdexample-plugin/artifactId executions execution phaseprocess-test-resources/phase goals goalexecute/goal /goals /execution execution phasepre-integration-test/phase goals goalexecute/goal /goals /execution executions /plugin /plugins /build /project Why you can't define like this : project build plugins plugin groupIdorg.example./groupId artifactIdexample-plugin/artifactId executions execution phases phaseprocess-test-resources/phase phasepre-integration-test/phase phases goals goalexecute/goal /goals /execution executions /plugin /plugins /build /project I didn't see any issue about this subject. Thank you for your help. Thomas Champagne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: More one phase for the execution's plugin
Thomas Champagne schrieb: Hi Why is it not possible to put the execution's plugin in more on phase ? Because it is weird and no-one would want to do it? Why on earth would you want to run exactly the same execution of a plugin multiple times? Regards, Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: More one phase for the execution's plugin
Thomas Champagne wrote: Hi Why is it not possible to put the execution's plugin in more on phase ? You must declare two executions of a plugin with the same configuration. Because you may want to have different configurations per execution? While I see the point in your example I'm pretty sure that different configurations are the default and your case might only be a corner case. -dirk -- A: Maybe because some people are too annoyed by top-posting. Q: Why do I not get an answer to my question(s)? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: More one phase for the execution's plugin
I use the sql maven plugin to deploy a database for the test and integration-test phases. I have a lot of scripts and sql commands to execute and so this configuration is pretty big. And currently, I have duplicated this big part for this two phases. Do you think I must only deploy the database for one phase ? Thomas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: More one phase for the execution's plugin
In order to share your configurations plugins, have a look to the pluginManagment cf. http://blogs.sonatype.com/brian/2008/05/26/1211857049779.html HTH, Rémy
Re: More one phase for the execution's plugin
In addition to that, there is a configuration section outside the executions section. If you have only these two invocations, this is also an option. Stefan Rémy Sanlaville wrote: In order to share your configurations plugins, have a look to the pluginManagment cf. http://blogs.sonatype.com/brian/2008/05/26/1211857049779.html HTH, Rémy -- best regards, Stefan Seidel software developer VUB Printmedia GmbH Chopinstraße 4 D-04103 Leipzig Germany tel.+49 (341) 9 60 50 07 fax.+49 (341) 9 60 50 92 mail. [EMAIL PROTECTED] web.www.vub.de HRB Köln 24015 UStID DE 122 649 251 GF Dr. Achim Preuss Neudorf, Dr. Christian Preuss Neudorf - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]