From d388e2788b7ef088d7cd40f901b0acdcec460bc3 Mon Sep 17 00:00:00 2001 From: wzy <wzy19931122ai@163.com> Date: Thu, 01 Apr 2021 00:19:23 +0800 Subject: [PATCH] modify --- zq-erp/pom.xml | 57 +++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 49 insertions(+), 8 deletions(-) diff --git a/zq-erp/pom.xml b/zq-erp/pom.xml index e03a4ed..56f7f9d 100644 --- a/zq-erp/pom.xml +++ b/zq-erp/pom.xml @@ -239,8 +239,8 @@ <!-- https://mvnrepository.com/artifact/com.alibaba/druid --> <dependency> <groupId>com.alibaba</groupId> - <artifactId>druid</artifactId> - <version>1.1.10</version> + <artifactId>druid-spring-boot-starter</artifactId> + <version>1.1.21</version> </dependency> <dependency> <groupId>org.springframework.boot</groupId> @@ -364,7 +364,32 @@ <version>2.9.2</version> </dependency> <!-- swagger2 end --> - </dependencies> + + <!-- https://mvnrepository.com/artifact/org.mapstruct/mapstruct --> + <dependency> + <groupId>org.mapstruct</groupId> + <artifactId>mapstruct</artifactId> + <version>1.3.0.Final</version> + </dependency> + + <dependency> + <groupId>com.baomidou</groupId> + <artifactId>dynamic-datasource-spring-boot-starter</artifactId> + <version>3.0.0</version> + </dependency> + + <dependency> + <groupId>com.baomidou</groupId> + <artifactId>mybatis-plus-boot-starter</artifactId> + <version>3.3.0</version> + </dependency> + <dependency> + <groupId>cn.hutool</groupId> + <artifactId>hutool-all</artifactId> + <version>5.3.1</version> + </dependency> + + </dependencies> <build> <resources> <resource> @@ -378,13 +403,12 @@ <exclude>config/xcx/*</exclude> <!-- - - <exclude>config/config.json</exclude> - <exclude>config/application.properties</exclude> - <exclude>config/system.properties</exclude> - + <exclude>config/config.json</exclude> + <exclude>config/application.properties</exclude> + <exclude>config/system.properties</exclude> --> + <exclude>**/*.woff</exclude> <exclude>**/*.woff2</exclude> <exclude>**/*.ttf</exclude> @@ -417,6 +441,23 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> + <version>3.5.1</version> + <configuration> + <source>1.8</source> + <target>1.8</target> + <annotationProcessorPaths> + <path> + <groupId>org.mapstruct</groupId> + <artifactId>mapstruct-processor</artifactId> + <version>1.3.0.Final</version> + </path> + <path> + <groupId>org.projectlombok</groupId> + <artifactId>lombok</artifactId> + <version>1.18.12</version> + </path> + </annotationProcessorPaths> + </configuration> </plugin> <!-- 热部署插件 --> -- Gitblit v1.9.1