You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
283 lines
9.5 KiB
283 lines
9.5 KiB
12 months ago
|
<?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"
|
||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||
|
<parent>
|
||
|
<artifactId>huoran</artifactId>
|
||
|
<groupId>com.huoran.parent</groupId>
|
||
|
<version>1.0-SNAPSHOT</version>
|
||
|
</parent>
|
||
|
<modelVersion>4.0.0</modelVersion>
|
||
|
|
||
|
<groupId>com.huoran.common</groupId>
|
||
|
<artifactId>common</artifactId>
|
||
|
<version>0.0.1-SNAPSHOT</version>
|
||
|
<name>common</name>
|
||
|
<description>或然项目子工程-公共微服务</description>
|
||
|
|
||
|
<properties>
|
||
|
<java.version>1.8</java.version>
|
||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||
|
<gson.version>2.8.2</gson.version>
|
||
|
<hutool-all.version>5.7.0</hutool-all.version>
|
||
|
<jwt.version>0.7.0</jwt.version>
|
||
|
<mysql-connector-java.version>8.0.16</mysql-connector-java.version>
|
||
|
</properties>
|
||
|
|
||
|
<dependencyManagement>
|
||
|
<dependencies>
|
||
|
<!--Spring Cloud-alibaba-->
|
||
|
<dependency>
|
||
|
<groupId>com.alibaba.cloud</groupId>
|
||
|
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
|
||
|
<version>2.1.0.RELEASE</version>
|
||
|
<type>pom</type>
|
||
|
<scope>import</scope>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
</dependencyManagement>
|
||
|
|
||
|
<dependencies>
|
||
|
<!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp -->
|
||
|
<dependency>
|
||
|
<groupId>com.squareup.okhttp3</groupId>
|
||
|
<artifactId>okhttp</artifactId>
|
||
|
<version>4.9.0</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- form数据验证依赖 -->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-validation</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<!--druid依赖-->
|
||
|
<dependency>
|
||
|
<groupId>com.alibaba</groupId>
|
||
|
<artifactId>druid-spring-boot-starter</artifactId>
|
||
|
<version>1.1.20</version>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- <dependency>-->
|
||
|
<!-- <groupId>org.springframework.cloud</groupId>-->
|
||
|
<!-- <artifactId>spring-cloud-starter-zipkin</artifactId>-->
|
||
|
<!-- </dependency>-->
|
||
|
<!--<!– sentinel分布式系统的流量控制–>-->
|
||
|
<!-- <dependency>-->
|
||
|
<!-- <groupId>com.alibaba.cloud</groupId>-->
|
||
|
<!-- <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>-->
|
||
|
<!-- </dependency>-->
|
||
|
|
||
|
<!-- redisson分布式锁,分布式作用功能框架 -->
|
||
|
<!-- <dependency>
|
||
|
<groupId>org.redisson</groupId>
|
||
|
<artifactId>redisson</artifactId>
|
||
|
</dependency>-->
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-cache</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<!--视频上传依赖-->
|
||
|
<dependency>
|
||
|
<groupId>com.aliyun</groupId>
|
||
|
<artifactId>aliyun-java-sdk-core</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>com.aliyun</groupId>
|
||
|
<artifactId>aliyun-sdk-vod-upload</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>com.aliyun</groupId>
|
||
|
<artifactId>aliyun-java-sdk-vod</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- JWT-->
|
||
|
<dependency>
|
||
|
<groupId>io.jsonwebtoken</groupId>
|
||
|
<artifactId>jjwt</artifactId>
|
||
|
<version>${jwt.version}</version>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-web</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-test</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<!--服务调用-->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.cloud</groupId>
|
||
|
<artifactId>spring-cloud-starter-openfeign</artifactId>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<artifactId>spring-cloud-netflix-archaius</artifactId>
|
||
|
<groupId>org.springframework.cloud</groupId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
|
||
|
<!--服务发现-->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.cloud</groupId>
|
||
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<artifactId>fastjson</artifactId>
|
||
|
<groupId>com.alibaba</groupId>
|
||
|
</exclusion>
|
||
|
<exclusion>
|
||
|
<artifactId>guava</artifactId>
|
||
|
<groupId>com.google.guava</groupId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
|
||
|
<!--服务配置-->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.cloud</groupId>
|
||
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<!--导入mysql的驱动-->
|
||
|
<dependency>
|
||
|
<groupId>mysql</groupId>
|
||
|
<artifactId>mysql-connector-java</artifactId>
|
||
|
<version>${mysql-connector-java.version}</version>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>commons-io</groupId>
|
||
|
<artifactId>commons-io</artifactId>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>commons-lang</groupId>
|
||
|
<artifactId>commons-lang</artifactId>
|
||
|
<version>2.6</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- springboot整合redis -->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- elasticsearch -->
|
||
|
<!-- <dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-data-elasticsearch</artifactId>
|
||
|
</dependency>-->
|
||
|
|
||
|
<!-- mybatis-plus-->
|
||
|
<dependency>
|
||
|
<groupId>com.baomidou</groupId>
|
||
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
||
|
</dependency>
|
||
|
<!-- https://mvnrepository.com/artifact/com.baomidou/mybatis-plus -->
|
||
|
<!-- <dependency>-->
|
||
|
<!-- <groupId>com.baomidou</groupId>-->
|
||
|
<!-- <artifactId>mybatis-plus</artifactId>-->
|
||
|
<!-- <version>3.5.3.1</version>-->
|
||
|
<!-- </dependency>-->
|
||
|
|
||
|
|
||
|
<!-- lombok -->
|
||
|
<dependency>
|
||
|
<groupId>org.projectlombok</groupId>
|
||
|
<artifactId>lombok</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<!--swagger start-->
|
||
|
<dependency>
|
||
|
<groupId>com.github.xiaoymin</groupId>
|
||
|
<artifactId>swagger-bootstrap-ui</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>io.springfox</groupId>
|
||
|
<artifactId>springfox-swagger-ui</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>io.springfox</groupId>
|
||
|
<artifactId>springfox-swagger2</artifactId>
|
||
|
<!--移除swagger-models 1.5.20 依赖,存在Swagger2异常:Illegal DefaultValue null for parameter type integer问题-->
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<groupId>io.swagger</groupId>
|
||
|
<artifactId>swagger-annotations</artifactId>
|
||
|
</exclusion>
|
||
|
<exclusion>
|
||
|
<groupId>io.swagger</groupId>
|
||
|
<artifactId>swagger-models</artifactId>
|
||
|
</exclusion>
|
||
|
<exclusion>
|
||
|
<artifactId>guava</artifactId>
|
||
|
<groupId>com.google.guava</groupId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>io.swagger</groupId>
|
||
|
<artifactId>swagger-annotations</artifactId>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>io.swagger</groupId>
|
||
|
<artifactId>swagger-models</artifactId>
|
||
|
</dependency>
|
||
|
<!--swagger end-->
|
||
|
|
||
|
<!-- json工具包 -->
|
||
|
<dependency>
|
||
|
<groupId>com.alibaba</groupId>
|
||
|
<artifactId>fastjson</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>com.aliyun</groupId>
|
||
|
<artifactId>aliyun-java-sdk-dysmsapi</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>com.aliyun.oss</groupId>
|
||
|
<artifactId>aliyun-sdk-oss</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- 发送邮箱 -->
|
||
|
<dependency>
|
||
|
<groupId>org.apache.commons</groupId>
|
||
|
<artifactId>commons-email</artifactId>
|
||
|
<version>1.3.3</version>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>cn.hutool</groupId>
|
||
|
<artifactId>hutool-all</artifactId>
|
||
|
<version>${hutool-all.version}</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- velocity 模板引擎, Mybatis Plus 代码生成器需要 -->
|
||
|
<dependency>
|
||
|
<groupId>org.apache.velocity</groupId>
|
||
|
<artifactId>velocity-engine-core</artifactId>
|
||
|
<version>${velocity.version}</version>
|
||
|
</dependency>
|
||
|
|
||
|
</dependencies>
|
||
|
|
||
|
</project>
|