Here's an example:

<plugin>
...
<configuration>
 <!--this applies to every execution of the plugin, whether it's from
the command line, default lifecycle or executions bound in the pom -->
</configuration>
<execution>
  <configuration>
     <!--applies to this execution only -->
  </configuration>
</execution>
<execution>
  <configuration>
     <!--applies to this execution only -->
  </configuration>
</execution>
<execution>
  <configuration>
     <!--applies to this execution only -->
  </configuration>
</execution>
</plugin>

On Fri, Nov 27, 2009 at 5:37 PM, wujek.srujek <[email protected]> wrote:
>
> Hi. I have a question on plugin config. Suppose there is a plugin, like
> maven-ear-plugin, that has more than 1 goal. When I add a configuration
> section, can I specify elements that configure both of these goals?
> I know that I can also add executions and further execution elements, where
> I can configure specific goals and even phases they execute in. There I can
> specify only elements that configure this specific goal, otherwise there
> will be an error, right?
> Can you more experienced maven users confirm this? I read some information
> on it but there seems not to be any clear structured info on this topic.
>
> Regards.
> --
> View this message in context: 
> http://old.nabble.com/Maven-plugin-configuration-tp26545395p26545395.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