You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2019/09/27 04:47:21 UTC
[incubator-iotdb] branch master updated: Reduce project version
declaration (#432)
This is an automated email from the ASF dual-hosted git repository.
qiaojialin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new 72660c3 Reduce project version declaration (#432)
72660c3 is described below
commit 72660c397a7e2fc1d02df5f79ccdcd761f2ca499
Author: Xiangdong Huang <hx...@qq.com>
AuthorDate: Fri Sep 27 12:47:17 2019 +0800
Reduce project version declaration (#432)
* reduce project version declaration (which can make releasing easily)
---
client/pom.xml | 2 +-
distribution/pom.xml | 4 ++--
example/jdbc/pom.xml | 2 +-
example/kafka/pom.xml | 2 +-
example/rocketmq/pom.xml | 2 +-
example/session/pom.xml | 2 +-
example/tsfile/pom.xml | 3 +--
grafana/pom.xml | 2 +-
jdbc/pom.xml | 4 ++--
pom.xml | 13 ++++++++++++-
server/pom.xml | 6 +++---
session/pom.xml | 8 ++++----
spark-iotdb-connector/pom.xml | 5 ++---
spark-tsfile/pom.xml | 2 +-
14 files changed, 33 insertions(+), 24 deletions(-)
diff --git a/client/pom.xml b/client/pom.xml
index ef1ea30..480b599 100644
--- a/client/pom.xml
+++ b/client/pom.xml
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-jdbc</artifactId>
- <version>0.9.0-SNAPSHOT</version>
+ <version>${project.version}</version>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
diff --git a/distribution/pom.xml b/distribution/pom.xml
index 8b737a2..b9055ab 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -87,13 +87,13 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-server</artifactId>
- <version>0.9.0-SNAPSHOT</version>
+ <version>${project.version}</version>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-client</artifactId>
- <version>0.9.0-SNAPSHOT</version>
+ <version>${project.version}</version>
<type>zip</type>
</dependency>
</dependencies>
diff --git a/example/jdbc/pom.xml b/example/jdbc/pom.xml
index 4f01935..25d5c11 100644
--- a/example/jdbc/pom.xml
+++ b/example/jdbc/pom.xml
@@ -37,7 +37,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-jdbc</artifactId>
- <version>0.9.0-SNAPSHOT</version>
+ <version>${project.version}</version>
</dependency>
</dependencies>
</project>
diff --git a/example/kafka/pom.xml b/example/kafka/pom.xml
index a332987..11d41bf 100644
--- a/example/kafka/pom.xml
+++ b/example/kafka/pom.xml
@@ -39,7 +39,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-jdbc</artifactId>
- <version>0.9.0-SNAPSHOT</version>
+ <version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.kafka</groupId>
diff --git a/example/rocketmq/pom.xml b/example/rocketmq/pom.xml
index 0117b30..da58964 100644
--- a/example/rocketmq/pom.xml
+++ b/example/rocketmq/pom.xml
@@ -34,7 +34,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-jdbc</artifactId>
- <version>0.9.0-SNAPSHOT</version>
+ <version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.rocketmq</groupId>
diff --git a/example/session/pom.xml b/example/session/pom.xml
index 8b1b215..9ad0199 100644
--- a/example/session/pom.xml
+++ b/example/session/pom.xml
@@ -37,7 +37,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-session</artifactId>
- <version>0.9.0-SNAPSHOT</version>
+ <version>${project.version}</version>
</dependency>
</dependencies>
</project>
diff --git a/example/tsfile/pom.xml b/example/tsfile/pom.xml
index 7a99f01..ad34cf5 100644
--- a/example/tsfile/pom.xml
+++ b/example/tsfile/pom.xml
@@ -28,13 +28,12 @@
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tsfile-example</artifactId>
- <version>0.9.0-SNAPSHOT</version>
<name>tsfile-example</name>
<dependencies>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>tsfile</artifactId>
- <version>0.9.0-SNAPSHOT</version>
+ <version>${project.version}</version>
</dependency>
</dependencies>
</project>
diff --git a/grafana/pom.xml b/grafana/pom.xml
index fd1a712..b2e1eda 100644
--- a/grafana/pom.xml
+++ b/grafana/pom.xml
@@ -61,7 +61,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-jdbc</artifactId>
- <version>0.9.0-SNAPSHOT</version>
+ <version>${project.version}</version>
<exclusions>
<exclusion>
<groupId>javax.servlet</groupId>
diff --git a/jdbc/pom.xml b/jdbc/pom.xml
index 4b971d8..8f83a10 100644
--- a/jdbc/pom.xml
+++ b/jdbc/pom.xml
@@ -39,12 +39,12 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>tsfile</artifactId>
- <version>0.9.0-SNAPSHOT</version>
+ <version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>service-rpc</artifactId>
- <version>0.9.0-SNAPSHOT</version>
+ <version>${project.version}</version>
</dependency>
</dependencies>
<build>
diff --git a/pom.xml b/pom.xml
index 897bc72..5c0047b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -58,7 +58,7 @@
<!-- <module>hadoop</module> -->
<module>distribution</module>
</modules>
- <!-- Properties Management -->
+<!-- Properties Management -->
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
@@ -394,6 +394,17 @@
<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>
diff --git a/server/pom.xml b/server/pom.xml
index 9055d28..608617c 100644
--- a/server/pom.xml
+++ b/server/pom.xml
@@ -38,17 +38,17 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>service-rpc</artifactId>
- <version>0.9.0-SNAPSHOT</version>
+ <version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>tsfile</artifactId>
- <version>0.9.0-SNAPSHOT</version>
+ <version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-jdbc</artifactId>
- <version>0.9.0-SNAPSHOT</version>
+ <version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
diff --git a/session/pom.xml b/session/pom.xml
index 406167b..0bb58f8 100644
--- a/session/pom.xml
+++ b/session/pom.xml
@@ -69,23 +69,23 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>service-rpc</artifactId>
- <version>0.9.0-SNAPSHOT</version>
+ <version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>tsfile</artifactId>
- <version>0.9.0-SNAPSHOT</version>
+ <version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-server</artifactId>
- <version>0.9.0-SNAPSHOT</version>
+ <version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-jdbc</artifactId>
- <version>0.9.0-SNAPSHOT</version>
+ <version>${project.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git a/spark-iotdb-connector/pom.xml b/spark-iotdb-connector/pom.xml
index a18120d..3dbb0f3 100644
--- a/spark-iotdb-connector/pom.xml
+++ b/spark-iotdb-connector/pom.xml
@@ -28,7 +28,6 @@
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>spark-iotdb-connector</artifactId>
- <version>0.9.0-SNAPSHOT</version>
<packaging>jar</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -49,12 +48,12 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-jdbc</artifactId>
- <version>0.9.0-SNAPSHOT</version>
+ <version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-server</artifactId>
- <version>0.9.0-SNAPSHOT</version>
+ <version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
diff --git a/spark-tsfile/pom.xml b/spark-tsfile/pom.xml
index 1a922bd..6668375 100644
--- a/spark-tsfile/pom.xml
+++ b/spark-tsfile/pom.xml
@@ -34,7 +34,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>tsfile</artifactId>
- <version>0.9.0-SNAPSHOT</version>
+ <version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>