You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2018/01/15 23:16:37 UTC

[maven-plugin-tools] branch master updated: [MPLUGIN-325] deprecated updateRegistry goal

This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-plugin-tools.git


The following commit(s) were added to refs/heads/master by this push:
     new e784592  [MPLUGIN-325] deprecated updateRegistry goal
e784592 is described below

commit e7845922b260b69213fe407e0469140b83f224f5
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Tue Jan 16 00:16:36 2018 +0100

    [MPLUGIN-325] deprecated updateRegistry goal
---
 .../plugin/plugin/UpdatePluginRegistryMojo.java    |  2 +-
 maven-plugin-plugin/src/site/apt/usage.apt         | 22 ----------------------
 2 files changed, 1 insertion(+), 23 deletions(-)

diff --git a/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/UpdatePluginRegistryMojo.java b/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/UpdatePluginRegistryMojo.java
index ac09e4f..b2caadf 100644
--- a/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/UpdatePluginRegistryMojo.java
+++ b/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/UpdatePluginRegistryMojo.java
@@ -46,8 +46,8 @@ import java.util.Date;
 /**
  * Update the user plugin registry (if it's in use) to reflect the version we're installing.
  *
- * @version $Id$
  * @since 2.0
+ * @deprecated plugin registry has been removed from Maven 3, this goal will be removed in next release
  */
 @Mojo( name = "updateRegistry", defaultPhase = LifecyclePhase.INSTALL, threadSafe = true )
 public class UpdatePluginRegistryMojo
diff --git a/maven-plugin-plugin/src/site/apt/usage.apt b/maven-plugin-plugin/src/site/apt/usage.apt
index 10d0d98..0e42415 100644
--- a/maven-plugin-plugin/src/site/apt/usage.apt
+++ b/maven-plugin-plugin/src/site/apt/usage.apt
@@ -67,28 +67,6 @@ mvn plugin:report
 
   If you add the plugin to the <<<reporting>>> section of your pom, you'll get the full report as html with <<<mvn site>>>.
 
-* The <<<plugin:updateRegistry>>> Goal
-
-  The <<<plugin:updateRegistry>>> goal is bound to the <<<install>>> phase of the build life cycle. This goal updates the
-  plugin registry to reflect the changes in the version of the plugin you're installing in your local repository.
-
-  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.
-
-  You can also explicitly execute the <<<plugin:updateRegistry>>> goal by executing
-
-+-----+
-mvn plugin:updateRegistry
-+-----+
-
-  from the command line.
-
 * The <<<plugin:addPluginArtifactMetadata>>> Goal
 
   The <<<plugin:addPluginArtifactMetadata>>> goal, on the other hand, is bound to the <<<package>>> phase of the build life cycle.

-- 
To stop receiving notification emails like this one, please contact
['"commits@maven.apache.org" <co...@maven.apache.org>'].