- 后端:整理下 pom 依赖分类

This commit is contained in:
YunaiV 2019-05-13 19:09:18 +08:00
parent 940d3e312f
commit a2cdc32dda

199
pom.xml
View File

@ -52,23 +52,36 @@
<qiniu.version>7.2.18</qiniu.version> <qiniu.version>7.2.18</qiniu.version>
<seata.version>0.5.1</seata.version> <seata.version>0.5.1</seata.version>
<!-- <seata.version>0.6.0-SNAPSHOT</seata.version>-->
<java.version>1.8</java.version> <java.version>1.8</java.version>
</properties> </properties>
<dependencyManagement> <dependencyManagement>
<dependencies> <dependencies>
<!-- <dependency>--> <!-- 脚手架 -->
<!-- <groupId>com.alibaba</groupId>--> <dependency>
<!-- <artifactId>dubbo</artifactId>--> <groupId>org.springframework.boot</groupId>
<!-- <version>${com.alibab.dubbo.version}</version>--> <artifactId>spring-boot-starter</artifactId>
<!-- </dependency>--> <version>${springboot.version}</version>
<!-- <dependency>--> </dependency>
<!-- <groupId>com.alibaba.boot</groupId>-->
<!-- <artifactId>dubbo-spring-boot-starter</artifactId>-->
<!-- <version>${dubbo-spring-boot-starter.version}</version>-->
<!-- </dependency>-->
<!-- Web 相关 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>${springboot.version}</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<!-- <scope>provided</scope>-->
<version>2.5</version>
<optional>true</optional>
</dependency>
<!-- RPC 相关 -->
<dependency> <dependency>
<groupId>org.apache.dubbo</groupId> <groupId>org.apache.dubbo</groupId>
<artifactId>dubbo</artifactId> <artifactId>dubbo</artifactId>
@ -80,72 +93,19 @@
<version>${dubbo.version}</version> <version>${dubbo.version}</version>
</dependency> </dependency>
<!-- DB 相关 -->
<dependency> <dependency>
<groupId>mysql</groupId> <groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId> <artifactId>mysql-connector-java</artifactId>
<version>${mysql-connector-java.version}</version> <version>${mysql-connector-java.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.alibaba</groupId> <groupId>com.alibaba</groupId>
<artifactId>druid-spring-boot-starter</artifactId> <artifactId>druid-spring-boot-starter</artifactId>
<version>${druid.version}</version> <version>${druid.version}</version>
</dependency> </dependency>
<dependency>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct</artifactId> <!-- use mapstruct-jdk8 for Java 8 or higher -->
<version>${org.mapstruct.version}</version>
</dependency>
<dependency>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-jdk8</artifactId>
<version>${org.mapstruct.version}</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${org.projectlombok.version}</version>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-framework</artifactId>
<version>${curator.version}</version>
<!-- <exclusions>-->
<!-- <exclusion>-->
<!-- <groupId>org.apache.zookeeper</groupId>-->
<!-- <artifactId>zookeeper</artifactId>-->
<!-- </exclusion>-->
<!-- </exclusions>-->
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-recipes</artifactId>
<version>${curator.version}</version>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.apache.zookeeper</groupId>-->
<!-- <artifactId>zookeeper</artifactId>-->
<!-- <version>${zookeeper.version}</version>-->
<!-- </dependency>-->
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
<version>${springfox-swagger.version}</version>
</dependency>
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger-ui</artifactId>
<version>${springfox-swagger.version}</version>
</dependency>
<dependency>
<groupId>com.github.xiaoymin</groupId>
<artifactId>swagger-bootstrap-ui</artifactId>
<version>${swagger-bootstrap-ui.version}</version>
</dependency>
<dependency> <dependency>
<groupId>org.mybatis</groupId> <groupId>org.mybatis</groupId>
<artifactId>mybatis</artifactId> <artifactId>mybatis</artifactId>
@ -163,10 +123,27 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.google.guava</groupId> <groupId>io.seata</groupId>
<artifactId>guava</artifactId> <artifactId>seata-spring</artifactId>
<version>${guava.version}</version> <version>${seata.version}</version>
</dependency> </dependency>
<dependency>
<groupId>io.seata</groupId>
<artifactId>seata-dubbo</artifactId>
<version>${seata.version}</version>
</dependency>
<dependency>
<groupId>io.seata</groupId>
<artifactId>seata-dubbo-alibaba</artifactId>
<version>${seata.version}</version>
</dependency>
<dependency>
<groupId>io.seata</groupId>
<artifactId>seata-discovery-zk</artifactId>
<version>${seata.version}</version>
</dependency>
<!-- Job 相关 -->
<dependency> <dependency>
<groupId>com.xuxueli</groupId> <groupId>com.xuxueli</groupId>
@ -174,73 +151,75 @@
<version>${xxl-job.version}</version> <version>${xxl-job.version}</version>
</dependency> </dependency>
<!-- Registry 和 Config 相关 -->
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-framework</artifactId>
<version>${curator.version}</version>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-recipes</artifactId>
<version>${curator.version}</version>
</dependency>
<!-- MQ 相关 -->
<dependency> <dependency>
<groupId>org.apache.rocketmq</groupId> <groupId>org.apache.rocketmq</groupId>
<artifactId>rocketmq-spring-boot-starter</artifactId> <artifactId>rocketmq-spring-boot-starter</artifactId>
<version>${rocketmq-spring-boot-starter.version}</version> <version>${rocketmq-spring-boot-starter.version}</version>
<!-- <exclusions>-->
<!-- <exclusion>-->
<!-- <artifactId>hibernate-validator</artifactId>-->
<!-- <groupId>org.hibernate.validator</groupId>-->
<!-- </exclusion>-->
<!-- </exclusions>-->
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
<version>${springboot.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>${springboot.version}</version>
<!-- <exclusions>-->
<!-- <exclusion>-->
<!-- <artifactId>hibernate-validator</artifactId>-->
<!-- <groupId>org.hibernate.validator</groupId>-->
<!-- </exclusion>-->
<!-- </exclusions>-->
</dependency> </dependency>
<!-- 云服务相关 -->
<dependency> <dependency>
<groupId>com.qiniu</groupId> <groupId>com.qiniu</groupId>
<artifactId>qiniu-java-sdk</artifactId> <artifactId>qiniu-java-sdk</artifactId>
<version>${qiniu.version}</version> <version>${qiniu.version}</version>
</dependency> </dependency>
<!-- 工具类相关 -->
<dependency> <dependency>
<groupId>javax.servlet</groupId> <groupId>org.mapstruct</groupId>
<artifactId>servlet-api</artifactId> <artifactId>mapstruct</artifactId> <!-- use mapstruct-jdk8 for Java 8 or higher -->
<!-- <scope>provided</scope>--> <version>${org.mapstruct.version}</version>
<version>2.5</version> </dependency>
<optional>true</optional> <dependency>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-jdk8</artifactId>
<version>${org.mapstruct.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.seata</groupId> <groupId>org.projectlombok</groupId>
<artifactId>seata-spring</artifactId> <artifactId>lombok</artifactId>
<version>${seata.version}</version> <version>${org.projectlombok.version}</version>
</dependency> </dependency>
<!--dependency for Apache Dubbo-->
<dependency> <dependency>
<groupId>io.seata</groupId> <groupId>io.springfox</groupId>
<artifactId>seata-dubbo</artifactId> <artifactId>springfox-swagger2</artifactId>
<version>${seata.version}</version> <version>${springfox-swagger.version}</version>
</dependency> </dependency>
<!--dependency for Alibaba Dubbo-->
<dependency> <dependency>
<groupId>io.seata</groupId> <groupId>io.springfox</groupId>
<artifactId>seata-dubbo-alibaba</artifactId> <artifactId>springfox-swagger-ui</artifactId>
<version>${seata.version}</version> <version>${springfox-swagger.version}</version>
</dependency>
<dependency>
<groupId>com.github.xiaoymin</groupId>
<artifactId>swagger-bootstrap-ui</artifactId>
<version>${swagger-bootstrap-ui.version}</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
</dependencyManagement> </dependencyManagement>
<!--<distributionManagement>--> <!--<distributionManagement>-->
<!--<snapshotRepository>--> <!--<snapshotRepository>-->
<!--<id>apache-snapshots</id>--> <!--<id>apache-snapshots</id>-->