diff --git a/pom.xml b/pom.xml index c880708..42f8bcd 100644 --- a/pom.xml +++ b/pom.xml @@ -94,18 +94,23 @@ + - org.apache.maven.plugins - maven-compiler-plugin - 3.8.1 + org.springframework.boot + spring-boot-maven-plugin + 3.3.4 + + + + repackage + + + - 17 - 17 - - -parameters - + + org.mapstruct mapstruct-processor @@ -124,6 +129,20 @@ + + + org.apache.maven.plugins + maven-compiler-plugin + + 17 + 17 + UTF-8 + + -parameters + + + + \ No newline at end of file diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml new file mode 100644 index 0000000..65b0e09 --- /dev/null +++ b/src/main/resources/application-test.yml @@ -0,0 +1,20 @@ +# Spring配置 +spring: + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://10.7.127.190:3306/metis?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 + username: root + password: yyz@2024 + data: + redis: + host: 10.7.127.190 + port: 6379 + password: yyz@2024 + database: 13 + timeout: 10s + lettuce: + pool: + min-idle: 0 + max-idle: 8 + max-active: 8 + max-wait: -1ms \ No newline at end of file