<?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>
|
<parent>
|
<artifactId>springboot_template</artifactId>
|
<groupId>com.ks</groupId>
|
<version>0.0.1-SNAPSHOT</version>
|
</parent>
|
|
|
<groupId>com.ks</groupId>
|
<artifactId>jd_giftcoupon</artifactId>
|
<version>0.0.1-SNAPSHOT</version>
|
<name>service-jdGiftCoupon</name>
|
<description>京东礼金服务</description>
|
|
<packaging>war</packaging>
|
|
<properties>
|
<java.version>1.8</java.version>
|
<druid.version>1.1.10</druid.version>
|
<mybatis.version>2.0.1</mybatis.version>
|
</properties>
|
|
<dependencies>
|
<dependency>
|
<groupId>com.ks</groupId>
|
<artifactId>facade-jdGiftCoupon</artifactId>
|
<version>0.0.1-SNAPSHOT</version>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter</artifactId>
|
</dependency>
|
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter</artifactId>
|
</dependency>
|
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-web</artifactId>
|
<exclusions>
|
<exclusion>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
</exclusion>
|
</exclusions>
|
</dependency>
|
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
<!--打包的时候可以不用包进去,别的设施会提供。事实上该依赖理论上可以参与编译,测试,运行等周期。
|
相当于compile,但是打包阶段做了exclude操作-->
|
<scope>provided</scope>
|
</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>
|
|
|
<!-- Mybatis -->
|
<dependency>
|
<groupId>mysql</groupId>
|
<artifactId>mysql-connector-java</artifactId>
|
</dependency>
|
|
<dependency>
|
<groupId>com.alibaba</groupId>
|
<artifactId>druid-spring-boot-starter</artifactId>
|
<version>${druid.version}</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.mybatis.spring.boot</groupId>
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
<version>${mybatis.version}</version>
|
</dependency>
|
|
|
|
|
<!--全局排除log4j -->
|
<dependency>
|
<groupId>org.slf4j</groupId>
|
<artifactId>slf4j-log4j12</artifactId>
|
<exclusions>
|
<exclusion>
|
<groupId>*</groupId>
|
<artifactId>*</artifactId>
|
</exclusion>
|
</exclusions>
|
</dependency>
|
|
<!--<dependency>-->
|
<!--<groupId>log4j</groupId>-->
|
<!--<artifactId>log4j</artifactId>-->
|
<!--<exclusions>-->
|
<!--<exclusion>-->
|
<!--<groupId>*</groupId>-->
|
<!--<artifactId>*</artifactId>-->
|
<!--</exclusion>-->
|
<!--</exclusions>-->
|
<!--</dependency>-->
|
|
|
</dependencies>
|
|
<build>
|
<finalName>service-jd-giftcoupon</finalName>
|
<plugins>
|
<plugin>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
</plugin>
|
</plugins>
|
</build>
|
|
</project>
|