diff --git a/content/apt/guides/mini/guide-configuring-plugins.apt b/content/apt/guides/mini/guide-configuring-plugins.apt index 7d3d718db9..1369451b4d 100644 --- a/content/apt/guides/mini/guide-configuring-plugins.apt +++ b/content/apt/guides/mini/guide-configuring-plugins.apt @@ -570,13 +570,21 @@ public class MyBindedQueryMojo Now, <<>> default phase which is package has been overrided by install phase. - - <> Configurations inside the <<<\>>> tag differ from those that are outside - <<<\>>> in that they cannot be used from a direct command line - invocation. Instead they are only applied when the lifecycle phase they are - bound to are invoked. Alternatively, if you move a configuration section - outside of the executions section, it will apply globally to all invocations + + <> Configurations inside the <<<\>>> tag used to differ from those that are outside + <<<\>>> in that they could not be used from a direct command line + invocation because they were only applied when the lifecycle phase they were + bound to was invoked. So you had to move a configuration section + outside of the executions section to apply it globally to all invocations of the plugin. + Since Maven 3.3.1 this is not the case anymore as you can specify on the command-line + the execution-id for direct plugin goal invocation. Hence if you want to + run the above plugin and it's specific execution1's configuration from the + command-line, you can execute: + ++----+ +mvn myqyeryplugin:queryMojo@execution1 ++----+ ** {Using the <<<\>>> Tag}