<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
<modelVersion>4.0.0</modelVersion>
|
<modules>
|
<module>facade-jdGiftCoupon</module>
|
<module>consumer-jdGiftCoupon</module>
|
<module>service-jdGiftCoupon</module>
|
<module>lib-common</module>
|
</modules>
|
<parent>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-parent</artifactId>
|
<version>2.3.5.RELEASE</version>
|
<relativePath/> <!-- lookup parent from repository -->
|
</parent>
|
<groupId>com.ks</groupId>
|
<artifactId>springboot_template</artifactId>
|
<version>0.0.1-SNAPSHOT</version>
|
<name>springboot_template</name>
|
<description>the springboot template with common module</description>
|
<packaging>pom</packaging>
|
|
<properties>
|
<java.version>1.8</java.version>
|
<dubbo.version>2.7.5</dubbo.version>
|
<curator.version>2.8.0</curator.version>
|
<zookeeper.version>3.4.6</zookeeper.version>
|
<mongo.driver.version>3.12.0</mongo.driver.version>
|
</properties>
|
|
<dependencies>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-web</artifactId>
|
</dependency>
|
|
<!--安全框架 -->
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-security</artifactId>
|
</dependency>
|
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-aop</artifactId>
|
</dependency>
|
|
<!-- 验证框架 -->
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-validation</artifactId>
|
</dependency>
|
|
|
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-test</artifactId>
|
<scope>test</scope>
|
<exclusions>
|
<exclusion>
|
<groupId>org.junit.vintage</groupId>
|
<artifactId>junit-vintage-engine</artifactId>
|
</exclusion>
|
</exclusions>
|
</dependency>
|
|
<!-- Dubbo start -->
|
<dependency>
|
<groupId>org.apache.dubbo</groupId>
|
<artifactId>dubbo-spring-boot-starter</artifactId>
|
<version>${dubbo.version}</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.apache.dubbo</groupId>
|
<artifactId>dubbo</artifactId>
|
<version>${dubbo.version}</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.apache.zookeeper</groupId>
|
<artifactId>zookeeper</artifactId>
|
<version>${zookeeper.version}</version>
|
<exclusions>
|
<exclusion>
|
<groupId>org.slf4j</groupId>
|
<artifactId>slf4j-log4j12</artifactId>
|
</exclusion>
|
<exclusion>
|
<groupId>log4j</groupId>
|
<artifactId>log4j</artifactId>
|
</exclusion>
|
<exclusion>
|
<groupId>io.netty</groupId>
|
<artifactId>netty</artifactId>
|
</exclusion>
|
</exclusions>
|
</dependency>
|
|
<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>
|
|
<dependency>
|
<groupId>com.101tec</groupId>
|
<artifactId>zkclient</artifactId>
|
<version>0.10</version>
|
</dependency>
|
<!-- Dubbo end -->
|
|
<!--<dependency>-->
|
<!--<groupId>io.netty</groupId>-->
|
<!--<artifactId>netty</artifactId>-->
|
<!--<exclusions>-->
|
<!--<exclusion>-->
|
<!--<groupId>*</groupId>-->
|
<!--<artifactId>*</artifactId>-->
|
<!--</exclusion>-->
|
<!--</exclusions>-->
|
<!--</dependency>-->
|
|
<!-- Mongodb -->
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-data-mongodb</artifactId>
|
</dependency>
|
|
<dependency>
|
<groupId>org.mongodb</groupId>
|
<artifactId>mongo-java-driver</artifactId>
|
<version>${mongo.driver.version}</version>
|
</dependency>
|
|
<!-- Redis -->
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
</dependency>
|
|
|
</dependencies>
|
|
<build>
|
<plugins>
|
<plugin>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
</plugin>
|
</plugins>
|
</build>
|
|
</project>
|