You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2022/04/18 07:27:24 UTC

[iotdb] 01/01: [To rel/0.13] change Junit mvn scope from compile to test for reducing lib size

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

haonan pushed a commit to branch Junit13
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 9b3f31e6f9b366b45dbcd4053a8a28637a71c782
Author: HTHou <hh...@outlook.com>
AuthorDate: Mon Apr 18 15:27:08 2022 +0800

    [To rel/0.13] change Junit mvn scope from compile to test for reducing lib size
---
 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