From 208b6439eb8e63b6485240a8b466ebdcfd08c57a Mon Sep 17 00:00:00 2001 From: songhuangfeng123 <shf18767906695@163.com> Date: 星期一, 05 九月 2022 11:27:23 +0800 Subject: [PATCH] 应急统计 --- pom.xml | 113 +++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 106 insertions(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index 2476c05..5dd6e01 100644 --- a/pom.xml +++ b/pom.xml @@ -9,11 +9,21 @@ <packaging>pom</packaging> <version>1.0-SNAPSHOT</version> + <parent> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-parent</artifactId> + <version>2.7.1</version> + </parent> + <modules> <module>goal-manage/goal-manage-service</module> <module>goal-manage/goal-manage-rpc-provider</module> <module>emergency/emergency-service</module> <module>emergency/emergency-rpc-provider</module> + <module>equipment/equipment-service</module> + <module>equipment/equipment-rpc-provider</module> + <module>incident-manage/incident-manage-service</module> + <module>incident-manage/incident-manage-rpc-provider</module> <module>safePlatfrom-out-web</module> </modules> @@ -30,13 +40,13 @@ <mybatisPlusStarter.version>3.5.1</mybatisPlusStarter.version> <guava.version>31.1-jre</guava.version> <account.rpc.model.version>1.0-SNAPSHOT</account.rpc.model.version> + <mybatis.plus.version>3.5.2</mybatis.plus.version> + <poi.version>4.1.2</poi.version> + <com.alibaba.cloud.version>2.2.8.RELEASE</com.alibaba.cloud.version> + <jta.starter.version>2.7.1</jta.starter.version> + <commons.utils.version>1.9.4</commons.utils.version> + <redission.version>3.17.4</redission.version> </properties> - - <parent> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-parent</artifactId> - <version>2.6.7</version> - </parent> <dependencyManagement> <dependencies> @@ -44,6 +54,11 @@ <groupId>org.apache.dubbo</groupId> <artifactId>dubbo-spring-boot-starter</artifactId> <version>${dubbo.version}</version> + </dependency> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-jta-atomikos</artifactId> + <version>${jta.starter.version}</version> </dependency> <dependency> <groupId>org.springframework.boot</groupId> @@ -84,6 +99,53 @@ <version>1.0-SNAPSHOT</version> </dependency> + <dependency> + <groupId>com.baomidou</groupId> + <artifactId>mybatis-plus-boot-starter</artifactId> + <version>${mybatis.plus.version}</version> + </dependency> + <dependency> + <groupId>com.baomidou</groupId> + <artifactId>mybatis-plus</artifactId> + <version>${mybatis.plus.version}</version> + </dependency> + <dependency> + <groupId>com.baomidou</groupId> + <artifactId>mybatis-plus-extension</artifactId> + <version>${mybatis.plus.version}</version> + </dependency> + <!-- https://mvnrepository.com/artifact/org.apache.poi/poi --> + <dependency> + <groupId>org.apache.poi</groupId> + <artifactId>poi</artifactId> + <version>${poi.version}</version> + </dependency> + <!-- https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml --> + <dependency> + <groupId>org.apache.poi</groupId> + <artifactId>poi-ooxml</artifactId> + <version>${poi.version}</version> + </dependency> + + <dependency> + <groupId>com.alibaba.cloud</groupId> + <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId> + <version>${com.alibaba.cloud.version}</version> + </dependency> + + + <dependency> + <groupId>commons-beanutils</groupId> + <artifactId>commons-beanutils</artifactId> + <version>${commons.utils.version}</version> + </dependency> + + <dependency> + <groupId>org.redisson</groupId> + <artifactId>redisson-spring-boot-starter</artifactId> + <version>${redission.version}</version> + </dependency> + </dependencies> </dependencyManagement> @@ -113,6 +175,10 @@ </dependency> <dependency> <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-jta-atomikos</artifactId> + </dependency> + <dependency> + <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> </dependency> <dependency> @@ -128,6 +194,23 @@ <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <version>${mybatisPlusStarter.version}</version> + </dependency> + + <dependency> + <groupId>org.apache.poi</groupId> + <artifactId>poi</artifactId> + <version>${poi.version}</version> + </dependency> + + + <!-- redis连接 --> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-data-redis</artifactId> + </dependency> + <dependency> + <groupId>org.redisson</groupId> + <artifactId>redisson-spring-boot-starter</artifactId> </dependency> <dependency> <groupId>org.aspectj</groupId> @@ -163,6 +246,10 @@ <artifactId>dubbo-registry-nacos</artifactId> </dependency> <dependency> + <groupId>commons-beanutils</groupId> + <artifactId>commons-beanutils</artifactId> + </dependency> + <dependency> <groupId>io.minio</groupId> <artifactId>minio</artifactId> </dependency> @@ -181,6 +268,11 @@ <build> <plugins> + <!-- 修改打包插件 + 修改打包方式jar为pom后 + 默认打包方式为spring-boot-maven-plugin + 等到后期打包的时候他会一直提示你,你引入的依赖不存在 + --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> @@ -190,8 +282,15 @@ <target>1.8</target> </configuration> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <skipTests>true</skipTests> <!--默认关掉单元测试 --> + </configuration> + </plugin> </plugins> </build> -</project> \ No newline at end of file +</project> -- Gitblit v1.9.2