POM: Add release management plugins.
Change-Id: I7fbd489f83c8e9b3e0586688f5517da0ebb565ac
diff --git a/pom.xml b/pom.xml
index 4553bd0..3e261a0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -51,12 +51,14 @@
<compiler-plugin.version>3.8.1</compiler-plugin.version>
<failsafe-plugin.version>${surefire-plugin.version}</failsafe-plugin.version>
<jar-plugin.version>3.2.0</jar-plugin.version>
+ <maven-scm-plugin.version>1.12.0</maven-scm-plugin.version>
<maven-gpg-plugin.version>1.5</maven-gpg-plugin.version>
<maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version>
<maven-source-plugin.version>2.2.1</maven-source-plugin.version>
<nexus-staging-plugin.version>1.6.8</nexus-staging-plugin.version>
<spotless-plugin.version>2.17.6</spotless-plugin.version>
<surefire-plugin.version>3.0.0-M5</surefire-plugin.version>
+ <versions-plugin.version>2.8.1</versions-plugin.version>
<apiguardian.version>1.1.2</apiguardian.version>
<errorprone.version>2.10.0</errorprone.version>
@@ -177,6 +179,22 @@
<version>${jar-plugin.version}</version>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>versions-maven-plugin</artifactId>
+ <version>${versions-plugin.version}</version>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-scm-plugin</artifactId>
+ <version>${maven-scm-plugin.version}</version>
+ <configuration>
+ <tag>v${project.version}</tag>
+ <connectionType>developerConnection</connectionType>
+ </configuration>
+ </plugin>
+
</plugins>
</pluginManagement>