You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by lt...@apache.org on 2019/02/27 14:47:17 UTC

[incubator-iotdb] branch add_examples updated: unify dependencies in sub-project

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

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


The following commit(s) were added to refs/heads/add_examples by this push:
     new c688e70  unify dependencies in sub-project
c688e70 is described below

commit c688e705a082352d9d5acbc6fad46550eaf81a94
Author: lta <li...@163.com>
AuthorDate: Wed Feb 27 22:46:57 2019 +0800

    unify dependencies in sub-project
---
 example/kafka/pom.xml    | 11 ++++-------
 example/pom.xml          | 13 -------------
 example/rocketmq/pom.xml |  6 ------
 3 files changed, 4 insertions(+), 26 deletions(-)

diff --git a/example/kafka/pom.xml b/example/kafka/pom.xml
index f503c6a..04c899d 100644
--- a/example/kafka/pom.xml
+++ b/example/kafka/pom.xml
@@ -36,13 +36,10 @@
     <name>IoTDB-Kafka Examples</name>
     <packaging>jar</packaging>
     <dependencies>
-        <!-- you need to add the following dependency if you remove the parent pom.
-    <dependency>
-      <groupId>org.apache.iotdb</groupId>
-      <artifactId>iotdb-jdbc</artifactId>
-      <version>0.8.0-SNAPSHOT</version>
-    </dependency>
-    -->
+        <dependency>
+            <groupId>org.apache.iotdb</groupId>
+            <artifactId>iotdb-jdbc</artifactId>
+        </dependency>
         <dependency>
             <groupId>org.apache.kafka</groupId>
             <artifactId>kafka_2.10</artifactId>
diff --git a/example/pom.xml b/example/pom.xml
index bcb094b..70c9a90 100644
--- a/example/pom.xml
+++ b/example/pom.xml
@@ -30,12 +30,6 @@
     <packaging>pom</packaging>
     <artifactId>iotdb-examples</artifactId>
     <name>IoTDB Examples</name>
-    <!-- Properties Management -->
-    <!--
-        if we claim dependencies in dependencyManagement, then we do not claim
-        their version in sub-project's pom, but we have to claim themselves again
-        in sub-projects
-    -->
     <dependencyManagement>
         <dependencies>
             <dependency>
@@ -45,13 +39,6 @@
             </dependency>
         </dependencies>
     </dependencyManagement>
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.iotdb</groupId>
-            <artifactId>iotdb-jdbc</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-    </dependencies>
     <modules>
         <module>kafka</module>
         <module>rocketmq</module>
diff --git a/example/rocketmq/pom.xml b/example/rocketmq/pom.xml
index 75f4dc2..aa4d75a 100644
--- a/example/rocketmq/pom.xml
+++ b/example/rocketmq/pom.xml
@@ -21,11 +21,6 @@
 -->
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <modelVersion>4.0.0</modelVersion>
-    <!-- you need to add the following content if you remove the parent pom.
-  <groupId>org.apache.iotdb</groupId>
-  <artifactId>rocketmq</artifactId>
-  <version>0.8.0-SNAPSHOT</version>
-  -->
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-examples</artifactId>
@@ -39,7 +34,6 @@
         <dependency>
             <groupId>org.apache.iotdb</groupId>
             <artifactId>iotdb-jdbc</artifactId>
-            <version>0.8.0-SNAPSHOT</version>
             <exclusions>
                 <exclusion>
                     <groupId>io.netty</groupId>