diff --git a/common/pom.xml b/common/pom.xml index 3619516..b5d1982 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -9,6 +9,7 @@ common + 1.0-SNAPSHOT org.projectlombok diff --git a/server/pom.xml b/server/pom.xml index e37d28c..da31d9a 100644 --- a/server/pom.xml +++ b/server/pom.xml @@ -10,6 +10,7 @@ server + jar 8 @@ -52,4 +53,26 @@ + + + + org.springframework.boot + spring-boot-maven-plugin + 2.6.0 + + net.carbon.ServerApplication + app + + + + repackage + + repackage + + + + + + + \ No newline at end of file diff --git a/server/src/main/resources/application.yml b/server/src/main/resources/application.yml index 2306418..2b8f03b 100644 --- a/server/src/main/resources/application.yml +++ b/server/src/main/resources/application.yml @@ -4,7 +4,7 @@ server: spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://106.52.88.120:3306/demo?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai + url: jdbc:mysql://localhost:3306/demo?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai username: root password: 59ae8683c59fead903132a8d440bd7d9fd4936529d1d6f45f9d41111d7537bdd