miaosha/miaosha-v2/pom.xml
2021-12-09 21:57:25 +08:00

188 lines
6.8 KiB
XML

<?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>
<parent>
<groupId>com.geekq</groupId>
<artifactId>miaosha-parent</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>
<version>${revision}</version>
<name>${project.artifactId}</name>
<packaging>pom</packaging>
<groupId>com.geekq.v2</groupId>
<artifactId>miaosha-v2</artifactId>
<modules>
<module>miaosha-common</module>
<module>miaosha-service</module>
<module>miaosha-web</module>
</modules>
<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>
<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>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.geekq.v2</groupId>
<artifactId>miaosha-common</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.geekq.v2</groupId>
<artifactId>miaosha-service</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.geekq.api</groupId>
<artifactId>miaosha-order-api</artifactId>
<version>${revision}</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</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>
</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>
</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>
</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>
<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>
<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>${revision}</version>
</dependency>
</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>