[KYUUBI #2478][FOLLOWUP][1.5] Fix junit dependency

### _Why are the changes needed?_

Branch 1.5 is broken now, fix junit dependency.

### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

- [ ] Add screenshots for manual tests if appropriate

- [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request

Closes #3038 from pan3793/junit-1.5.

Closes #2478

f0062020 [Cheng Pan] [KYUUBI #2478][FOLLOWUP] Fix junit dependency

Authored-by: Cheng Pan <chengpan@apache.org>
Signed-off-by: Cheng Pan <chengpan@apache.org>
diff --git a/kyuubi-hive-jdbc/pom.xml b/kyuubi-hive-jdbc/pom.xml
index 85a5c90..5314a8b 100644
--- a/kyuubi-hive-jdbc/pom.xml
+++ b/kyuubi-hive-jdbc/pom.xml
@@ -33,7 +33,6 @@
 
     <properties>
         <!-- only used in kyuubi-hive-jdbc module -->
-        <junit.version>4.13.1</junit.version>
         <mockito-all.version>1.9.5</mockito-all.version>
     </properties>
 
@@ -221,7 +220,6 @@
         <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
-            <version>${junit.version}</version>
             <scope>test</scope>
         </dependency>
 
diff --git a/pom.xml b/pom.xml
index 2e6482f..90ffd2d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -124,6 +124,7 @@
         <jersey.version>2.34</jersey.version>
         <jetty.version>9.4.41.v20210516</jetty.version>
         <jline.version>0.9.94</jline.version>
+        <junit.version>4.13.1</junit.version>
         <kubernetes-client.version>5.12.1</kubernetes-client.version>
         <ldapsdk.version>5.1.4</ldapsdk.version>
         <log4j.version>2.17.2</log4j.version>
@@ -883,6 +884,12 @@
             </dependency>
 
             <dependency>
+                <groupId>junit</groupId>
+                <artifactId>junit</artifactId>
+                <version>${junit.version}</version>
+            </dependency>
+
+            <dependency>
                 <groupId>org.apache.hadoop</groupId>
                 <artifactId>hadoop-minikdc</artifactId>
                 <version>${hadoop.version}</version>