2019-02-03 22:17:07 +08:00
|
|
|
<?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">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
<modules>
|
|
|
|
<module>miaosha-common</module>
|
|
|
|
<module>miaosha-service</module>
|
|
|
|
<module>miaosha-web</module>
|
|
|
|
</modules>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
|
<version>2.1.2.RELEASE</version>
|
|
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
|
|
</parent>
|
|
|
|
<groupId>com.geekq</groupId>
|
|
|
|
<artifactId>miaosha</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<name>miaosha</name>
|
|
|
|
<description>Demo project for Spring Boot</description>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
<org.mybatis.version>1.3.2</org.mybatis.version>
|
|
|
|
<com.alibaba.druid>1.1.10</com.alibaba.druid>
|
|
|
|
<thymeleaf-layout-dialect.version>2.1.1</thymeleaf-layout-dialect.version>
|
2019-02-15 19:47:15 +08:00
|
|
|
<com.dubbo>1.0.0</com.dubbo>
|
|
|
|
<com.zk.version>3.4.6</com.zk.version>
|
|
|
|
<com.zk.client>0.1</com.zk.client>
|
|
|
|
<curator-framework.version>4.0.1</curator-framework.version>
|
|
|
|
<dubbo.starter.version>0.2.0</dubbo.starter.version>
|
2019-02-03 22:17:07 +08:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.geekq</groupId>
|
|
|
|
<artifactId>miaosha-common</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|
|
|
<version>${org.mybatis.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
<artifactId>druid</artifactId>
|
|
|
|
<version>${com.alibaba.druid}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
|
|
|
<version>2.1.1.RELEASE</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>redis.clients</groupId>
|
|
|
|
<artifactId>jedis</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.nekohtml</groupId>
|
|
|
|
<artifactId>nekohtml</artifactId>
|
|
|
|
<version>1.9.22</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-amqp</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-codec</groupId>
|
|
|
|
<artifactId>commons-codec</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
<version>3.6</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>joda-time</groupId>
|
|
|
|
<artifactId>joda-time</artifactId>
|
|
|
|
<version>2.3</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
|
<version>1.2.38</version>
|
|
|
|
</dependency>
|
2019-02-15 19:47:15 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba.boot</groupId>
|
|
|
|
<artifactId>dubbo-spring-boot-starter</artifactId>
|
|
|
|
<version>${dubbo.starter.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.curator</groupId>
|
|
|
|
<artifactId>curator-framework</artifactId>
|
|
|
|
<version>${curator-framework.version}</version>
|
|
|
|
</dependency>
|
2019-02-03 22:17:07 +08:00
|
|
|
|
2019-02-15 19:47:15 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.zookeeper</groupId>
|
|
|
|
<artifactId>zookeeper</artifactId>
|
|
|
|
<version>${com.zk.version}</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.sgroschupf</groupId>
|
|
|
|
<artifactId>zkclient</artifactId>
|
|
|
|
<version>${com.zk.client}</version>
|
|
|
|
</dependency>
|
2019-02-03 22:17:07 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
2019-02-15 19:47:15 +08:00
|
|
|
<version>1.18.2</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.sgroschupf</groupId>
|
|
|
|
<artifactId>zkclient</artifactId>
|
|
|
|
<version>${com.zk.client}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.geekq.api</groupId>
|
|
|
|
<artifactId>miaosha-order-api</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
2019-02-03 22:17:07 +08:00
|
|
|
</dependency>
|
2019-02-15 19:47:15 +08:00
|
|
|
|
2019-02-03 22:17:07 +08:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/java</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.properties</include>
|
|
|
|
<include>**/*.xml</include>
|
|
|
|
</includes>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<!--<includes>-->
|
|
|
|
<!--<include>**/*.properties</include>-->
|
|
|
|
<!--<include>**/*.xml</include>-->
|
|
|
|
<!--<include>**/*.ini</include>-->
|
|
|
|
<!--</includes>-->
|
|
|
|
<filtering>false</filtering>
|
|
|
|
</resource>
|
|
|
|
<resource> <!--配置文件路径 -->
|
|
|
|
<directory>src/main/resources</directory> <!--这里对应项目存放配置文件的目录--> <!--开启filtering功能 -->
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<includes>
|
|
|
|
<!--<include>application-${activatedProperties}.properties</include>-->
|
|
|
|
<include>application.properties</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</build>
|
|
|
|
</project>
|