You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2020/07/31 08:14:43 UTC

[shardingsphere-elasticjob-ui] branch master updated: update POMs

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

zhangyonglun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere-elasticjob-ui.git


The following commit(s) were added to refs/heads/master by this push:
     new 1473627  update POMs
1473627 is described below

commit 1473627f6e3c9ad5e2e8bdb5c4af597d4a9af32b
Author: Zhang Yonglun <zh...@apache.org>
AuthorDate: Fri Jul 31 16:14:28 2020 +0800

    update POMs
---
 pom.xml                                            | 33 ++++++++++++++++++++++
 shardingsphere-elasticjob-cloud-ui/pom.xml         | 14 +--------
 .../pom.xml                                        |  1 +
 shardingsphere-elasticjob-lite-ui/pom.xml          | 13 +--------
 .../pom.xml                                        |  1 +
 5 files changed, 37 insertions(+), 25 deletions(-)

diff --git a/pom.xml b/pom.xml
index 03c4b29..99d51dc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -44,6 +44,9 @@
         <os-maven-plugin.version>1.5.0.Final</os-maven-plugin.version>
         <takari-maven-plugin.version>0.6.1</takari-maven-plugin.version>
         <openjpa.version>3.1.2</openjpa.version>
+        <junit.version>4.12</junit.version>
+        <hamcrest.version>1.3</hamcrest.version>
+        <mockito.version>2.7.21</mockito.version>
         <maven.deploy.skip>true</maven.deploy.skip>
     </properties>
     
@@ -61,6 +64,36 @@
                 <artifactId>openjpa</artifactId>
                 <version>${openjpa.version}</version>
             </dependency>
+            <dependency>
+                <groupId>junit</groupId>
+                <artifactId>junit</artifactId>
+                <version>${junit.version}</version>
+                <scope>test</scope>
+            </dependency>
+            <dependency>
+                <groupId>org.hamcrest</groupId>
+                <artifactId>hamcrest-library</artifactId>
+                <version>${hamcrest.version}</version>
+                <scope>test</scope>
+            </dependency>
+            <dependency>
+                <groupId>org.mockito</groupId>
+                <artifactId>mockito-core</artifactId>
+                <version>${mockito.version}</version>
+                <scope>test</scope>
+                <exclusions>
+                    <exclusion>
+                        <groupId>org.hamcrest</groupId>
+                        <artifactId>hamcrest-core</artifactId>
+                    </exclusion>
+                </exclusions>
+            </dependency>
+            <dependency>
+                <groupId>org.mockito</groupId>
+                <artifactId>mockito-inline</artifactId>
+                <version>${mockito.version}</version>
+                <scope>test</scope>
+            </dependency>
         </dependencies>
     </dependencyManagement>
     
diff --git a/shardingsphere-elasticjob-cloud-ui/pom.xml b/shardingsphere-elasticjob-cloud-ui/pom.xml
index ce13a81..7f616d6 100644
--- a/shardingsphere-elasticjob-cloud-ui/pom.xml
+++ b/shardingsphere-elasticjob-cloud-ui/pom.xml
@@ -23,7 +23,6 @@
         <artifactId>shardingsphere-elasticjob-ui</artifactId>
         <version>3.0.0-alpha-SNAPSHOT</version>
     </parent>
-    <groupId>org.apache.shardingsphere</groupId>
     <artifactId>shardingsphere-elasticjob-cloud-ui</artifactId>
     <version>3.0.0-alpha-SNAPSHOT</version>
     <packaging>pom</packaging>
@@ -33,18 +32,7 @@
         <module>shardingsphere-elasticjob-cloud-ui-frontend</module>
         <module>shardingsphere-elasticjob-cloud-ui-backend</module>
     </modules>
-    
-    <properties>
-        <java.version>1.8</java.version>
-        <spring-boot.version>1.5.21.RELEASE</spring-boot.version>
-        <apache-rat-plugin.version>0.12</apache-rat-plugin.version>
-        <maven-compiler-plugin.version>3.3</maven-compiler-plugin.version>
-        <frontend-maven-plugin.version>1.6</frontend-maven-plugin.version>
-        <os-maven-plugin.version>1.5.0.Final</os-maven-plugin.version>
-        <takari-maven-plugin.version>0.6.1</takari-maven-plugin.version>
-        <maven.deploy.skip>true</maven.deploy.skip>
-    </properties>
-    
+
     <dependencyManagement>
         <dependencies>
             <dependency>
diff --git a/shardingsphere-elasticjob-cloud-ui/shardingsphere-elasticjob-cloud-ui-backend/pom.xml b/shardingsphere-elasticjob-cloud-ui/shardingsphere-elasticjob-cloud-ui-backend/pom.xml
index 968fef4..bd48ec6 100644
--- a/shardingsphere-elasticjob-cloud-ui/shardingsphere-elasticjob-cloud-ui-backend/pom.xml
+++ b/shardingsphere-elasticjob-cloud-ui/shardingsphere-elasticjob-cloud-ui-backend/pom.xml
@@ -73,6 +73,7 @@
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-test</artifactId>
+            <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>org.springframework</groupId>
diff --git a/shardingsphere-elasticjob-lite-ui/pom.xml b/shardingsphere-elasticjob-lite-ui/pom.xml
index 4050455..7f10119 100644
--- a/shardingsphere-elasticjob-lite-ui/pom.xml
+++ b/shardingsphere-elasticjob-lite-ui/pom.xml
@@ -32,18 +32,7 @@
         <module>shardingsphere-elasticjob-lite-ui-frontend</module>
         <module>shardingsphere-elasticjob-lite-ui-backend</module>
     </modules>
-    
-    <properties>
-        <java.version>1.8</java.version>
-        <spring-boot.version>1.5.21.RELEASE</spring-boot.version>
-        <apache-rat-plugin.version>0.12</apache-rat-plugin.version>
-        <maven-compiler-plugin.version>3.3</maven-compiler-plugin.version>
-        <frontend-maven-plugin.version>1.6</frontend-maven-plugin.version>
-        <os-maven-plugin.version>1.5.0.Final</os-maven-plugin.version>
-        <takari-maven-plugin.version>0.6.1</takari-maven-plugin.version>
-        <maven.deploy.skip>true</maven.deploy.skip>
-    </properties>
-    
+
     <dependencyManagement>
         <dependencies>
             <dependency>
diff --git a/shardingsphere-elasticjob-lite-ui/shardingsphere-elasticjob-lite-ui-backend/pom.xml b/shardingsphere-elasticjob-lite-ui/shardingsphere-elasticjob-lite-ui-backend/pom.xml
index 6372df7..ce89a6b 100644
--- a/shardingsphere-elasticjob-lite-ui/shardingsphere-elasticjob-lite-ui-backend/pom.xml
+++ b/shardingsphere-elasticjob-lite-ui/shardingsphere-elasticjob-lite-ui-backend/pom.xml
@@ -73,6 +73,7 @@
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-test</artifactId>
+            <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>org.springframework</groupId>