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

ningjiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-samples.git

commit db13c0f4febc97a59f58194f148d42bd7c08dfcc
Author: alec.zheng <[email protected]>
AuthorDate: Tue Jul 30 16:50:11 2019 +0800

    change mysql to postgresql & add License && upgrade the 
spring-boot-maven-plugin version
---
 houserush/README.md               |  2 +-
 houserush/customer-manage/pom.xml |  4 ++--
 houserush/doc/pom.xml             | 22 +++++++++++++++++++---
 houserush/house-order/pom.xml     |  4 ++--
 houserush/login/pom.xml           |  4 ++--
 houserush/pom.xml                 |  8 ++++----
 houserush/realestate/pom.xml      |  4 ++--
 7 files changed, 32 insertions(+), 16 deletions(-)

diff --git a/houserush/README.md b/houserush/README.md
index 57b81ee..9e514ba 100644
--- a/houserush/README.md
+++ b/houserush/README.md
@@ -17,4 +17,4 @@ Real estate developers use this system to make a deal with 
their customer online
 
 4. check & change the src/main/resources/microservice.yaml and 
src/main/resources/application.yaml configuration file.
 
-5. run each microservice process by mvn spring-boot:run. 
\ No newline at end of file
+5. run each microservice process <code>by mvn spring-boot:run. </code>
\ No newline at end of file
diff --git a/houserush/customer-manage/pom.xml 
b/houserush/customer-manage/pom.xml
index bab8767..fae8da0 100644
--- a/houserush/customer-manage/pom.xml
+++ b/houserush/customer-manage/pom.xml
@@ -59,8 +59,8 @@
       <artifactId>handler-tracing-zipkin</artifactId>
     </dependency>
     <dependency>
-      <groupId>mysql</groupId>
-      <artifactId>mysql-connector-java</artifactId>
+      <groupId>org.postgresql</groupId>
+      <artifactId>postgresql</artifactId>
     </dependency>
   </dependencies>
 
diff --git a/houserush/doc/pom.xml b/houserush/doc/pom.xml
index c3b6486..45ede77 100644
--- a/houserush/doc/pom.xml
+++ b/houserush/doc/pom.xml
@@ -1,6 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0";
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<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";>
   <parent>
     <artifactId>houserush</artifactId>
@@ -12,4 +28,4 @@
 
   <artifactId>houserush-doc</artifactId>
   <name>Java Chassis::Samples::Practice::HouseRush-Doc</name>
-</project>
\ No newline at end of file
+</project>
diff --git a/houserush/house-order/pom.xml b/houserush/house-order/pom.xml
index 0864e00..9da545d 100644
--- a/houserush/house-order/pom.xml
+++ b/houserush/house-order/pom.xml
@@ -38,8 +38,8 @@
       <artifactId>spring-boot-starter-data-jpa</artifactId>
     </dependency>
     <dependency>
-      <groupId>mysql</groupId>
-      <artifactId>mysql-connector-java</artifactId>
+      <groupId>org.postgresql</groupId>
+      <artifactId>postgresql</artifactId>
     </dependency>
     <dependency>
       <groupId>org.apache.servicecomb</groupId>
diff --git a/houserush/login/pom.xml b/houserush/login/pom.xml
index 917993d..a1965ab 100644
--- a/houserush/login/pom.xml
+++ b/houserush/login/pom.xml
@@ -58,8 +58,8 @@
       <artifactId>handler-tracing-zipkin</artifactId>
     </dependency>
     <dependency>
-      <groupId>mysql</groupId>
-      <artifactId>mysql-connector-java</artifactId>
+      <groupId>org.postgresql</groupId>
+      <artifactId>postgresql</artifactId>
     </dependency>
   </dependencies>
 
diff --git a/houserush/pom.xml b/houserush/pom.xml
index eeb3987..e9462ee 100644
--- a/houserush/pom.xml
+++ b/houserush/pom.xml
@@ -69,9 +69,9 @@
         <scope>import</scope>
       </dependency>
       <dependency>
-        <groupId>mysql</groupId>
-        <artifactId>mysql-connector-java</artifactId>
-        <version>5.1.47</version>
+        <groupId>org.postgresql</groupId>
+        <artifactId>postgresql</artifactId>
+        <version>42.2.6</version>
       </dependency>
       <dependency>
         <groupId>org.springframework.boot</groupId>
@@ -105,7 +105,7 @@
         <plugin>
           <groupId>org.springframework.boot</groupId>
           <artifactId>spring-boot-maven-plugin</artifactId>
-          <version>2.0.1.RELEASE</version>
+          <version>2.1.6.RELEASE</version>
         </plugin>
       </plugins>
     </pluginManagement>
diff --git a/houserush/realestate/pom.xml b/houserush/realestate/pom.xml
index c4f659d..df586d8 100644
--- a/houserush/realestate/pom.xml
+++ b/houserush/realestate/pom.xml
@@ -38,8 +38,8 @@
       <artifactId>spring-boot-starter-data-jpa</artifactId>
     </dependency>
     <dependency>
-      <groupId>mysql</groupId>
-      <artifactId>mysql-connector-java</artifactId>
+      <groupId>org.postgresql</groupId>
+      <artifactId>postgresql</artifactId>
     </dependency>
     <dependency>
       <groupId>org.apache.servicecomb</groupId>

Reply via email to