You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hx...@apache.org on 2019/09/27 05:24:55 UTC

[incubator-iotdb] 02/02: add a plugin to automatically change the child module version to its'parent by 'mvn -N versions:update-child-modules'

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

hxd pushed a commit to branch rel/0.8
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git

commit 3b5818fc933d3678b01ff47c8b49dbfdf32c835f
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Fri Sep 27 11:32:26 2019 +0800

    add a plugin to automatically change the child module version to its'parent by 'mvn -N  versions:update-child-modules'
---
 pom.xml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/pom.xml b/pom.xml
index c876a30..6cd13de 100644
--- a/pom.xml
+++ b/pom.xml
@@ -392,6 +392,16 @@
     <build>
         <pluginManagement>
             <plugins>
+                <!-- using `mvn -N versions:update-child-modules` can update the version
+                of child modules to what their parent claims -->
+                <plugin>
+                    <groupId>org.codehaus.mojo</groupId>
+                    <artifactId>versions-maven-plugin</artifactId>
+                    <version>2.3</version>
+                    <configuration>
+                        <generateBackupPoms>false</generateBackupPoms>
+                    </configuration>
+                </plugin>
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-javadoc-plugin</artifactId>