[ https://issues.apache.org/jira/browse/MPLUGIN-325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16180415#comment-16180415 ]
Andreas Sewe commented on MPLUGIN-325: -------------------------------------- I would go as far to say that the wording is outright misleading. {quote} So when you execute mvn install you will see that the version of the plugin in the plugin-registry.xml is changed to the same version of the plugin that you have just installed. {quote} This is *not* what happens. Also, the wording suggests that {{plugin:updateRegistry}} and {{plugin:addPluginArtifactMetadata}} phase bindings are more similar than they actually are: {quote} The plugin:addPluginArtifactMetadata goal, on the other hand, is bound to the package phase of the build life cycle. {quote} The “on the other hand” seems to suggest that {{plugin:updateRegistry}} is – like {{plugin:addPluginArtifactMetadata}} – bound by the {{maven-plugin}} packaging to a phase, only that it is {{install}} rather than {{package}}. But this is not the case. > Documentation incorrectly claims plugin:updateRegistry is bound to install > phase > -------------------------------------------------------------------------------- > > Key: MPLUGIN-325 > URL: https://issues.apache.org/jira/browse/MPLUGIN-325 > Project: Maven Plugin Tools > Issue Type: Bug > Components: Plugin Plugin > Affects Versions: 3.5 > Environment: Apache Maven 3.5.0 > (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T21:39:06+02:00) > Reporter: Andreas Sewe > Priority: Minor > > The documentation > [claims|https://maven.apache.org/components/plugin-tools/maven-plugin-plugin/usage.html#The_plugin:updateRegistry_Goal] > that > {quote} > The plugin:updateRegistry goal is bound to the install phase of the build > life cycle. > {quote} > But this seems not be be the case, as a {{mvn install}} does not execute it. > It is not listed [here as a default plugin > binding|https://maven.apache.org/ref/3.5.0/maven-core/default-bindings.html#Plugin_bindings_for_maven-plugin_packaging] > either. -- This message was sent by Atlassian JIRA (v6.4.14#64029)