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 2022/04/18 09:21:30 UTC

[iotdb] branch rel/0.13 updated: [To rel/0.13] change Junit mvn scope from compile to test for reducing lib size (#5579)

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

qiaojialin pushed a commit to branch rel/0.13
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/rel/0.13 by this push:
     new 731bc04fab [To rel/0.13] change Junit mvn scope from compile to test for reducing lib size (#5579)
731bc04fab is described below

commit 731bc04fab69e9028200454f5edda2c0506be014
Author: Haonan <hh...@outlook.com>
AuthorDate: Mon Apr 18 17:21:23 2022 +0800

    [To rel/0.13] change Junit mvn scope from compile to test for reducing lib size (#5579)
---
 server/pom.xml                                                           | 1 +
 .../{main => test}/java/org/apache/iotdb/db/utils/EnvironmentUtils.java  | 0
 .../{main => test}/java/org/apache/iotdb/db/utils/SchemaTestUtils.java   | 0
 3 files changed, 1 insertion(+)

diff --git a/server/pom.xml b/server/pom.xml
index 48b7828c35..0dfccd31ec 100644
--- a/server/pom.xml
+++ b/server/pom.xml
@@ -218,6 +218,7 @@
         <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
+            <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>org.apache.iotdb</groupId>
diff --git a/server/src/main/java/org/apache/iotdb/db/utils/EnvironmentUtils.java b/server/src/test/java/org/apache/iotdb/db/utils/EnvironmentUtils.java
similarity index 100%
rename from server/src/main/java/org/apache/iotdb/db/utils/EnvironmentUtils.java
rename to server/src/test/java/org/apache/iotdb/db/utils/EnvironmentUtils.java
diff --git a/server/src/main/java/org/apache/iotdb/db/utils/SchemaTestUtils.java b/server/src/test/java/org/apache/iotdb/db/utils/SchemaTestUtils.java
similarity index 100%
rename from server/src/main/java/org/apache/iotdb/db/utils/SchemaTestUtils.java
rename to server/src/test/java/org/apache/iotdb/db/utils/SchemaTestUtils.java