208 lines
7.7 KiB
XML
208 lines
7.7 KiB
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
|||
|
<project
|
|||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
|
|||
|
xmlns="http://maven.apache.org/POM/4.0.0"
|
|||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|||
|
<!-- <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId>
|
|||
|
<version>2.1.5.RELEASE</version> </parent> -->
|
|||
|
|
|||
|
<parent>
|
|||
|
<groupId>cn.health.service</groupId>
|
|||
|
<artifactId>health-parent</artifactId>
|
|||
|
<version>1.0.2</version>
|
|||
|
</parent>
|
|||
|
<modelVersion>4.0.0</modelVersion>
|
|||
|
<!-- <groupId>cn.health.service</groupId> -->
|
|||
|
<artifactId>health_service</artifactId>
|
|||
|
<description>health card</description>
|
|||
|
<packaging>jar</packaging>
|
|||
|
|
|||
|
<properties>
|
|||
|
<java.version>1.8</java.version>
|
|||
|
<!-- <health.version>1.0.2</health.version> -->
|
|||
|
</properties>
|
|||
|
|
|||
|
|
|||
|
<dependencies>
|
|||
|
<!-- spring boot web 容器 -->
|
|||
|
<!-- SpringBoot的依赖配置 -->
|
|||
|
<!-- <dependency>
|
|||
|
<groupId>org.springframework.boot</groupId>
|
|||
|
<artifactId>spring-boot-dependencies</artifactId>
|
|||
|
<version>2.2.12.RELEASE</version>
|
|||
|
<type>pom</type>
|
|||
|
<scope>import</scope>
|
|||
|
</dependency> -->
|
|||
|
<dependency>
|
|||
|
<groupId>org.springframework.boot</groupId>
|
|||
|
<artifactId>spring-boot-starter-web</artifactId>
|
|||
|
<!-- <version>2.2.13.RELEASE</version> -->
|
|||
|
<exclusions>
|
|||
|
<exclusion>
|
|||
|
<groupId>ch.qos.logback</groupId>
|
|||
|
<artifactId>logback-classic</artifactId>
|
|||
|
</exclusion>
|
|||
|
<!-- <exclusion> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-tomcat</artifactId>
|
|||
|
</exclusion> -->
|
|||
|
</exclusions>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- 发布时使用,去掉内置tomcat -->
|
|||
|
<!-- <dependency>-->
|
|||
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
|||
|
<!-- <artifactId>spring-boot-starter-tomcat</artifactId>-->
|
|||
|
<!-- <scope>provided</scope>-->
|
|||
|
<!-- </dependency>-->
|
|||
|
|
|||
|
<!-- <dependency>-->
|
|||
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
|||
|
<!-- <artifactId>spring-boot-starter-test</artifactId>-->
|
|||
|
<!-- <scope>test</scope>-->
|
|||
|
<!-- </dependency>-->
|
|||
|
<!-- spring security 安全认证 -->
|
|||
|
<dependency>
|
|||
|
<groupId>log4j</groupId>
|
|||
|
<artifactId>log4j</artifactId>
|
|||
|
</dependency>
|
|||
|
<dependency>
|
|||
|
<groupId>org.slf4j</groupId>
|
|||
|
<artifactId>slf4j-api</artifactId>
|
|||
|
<version>${slf4j.version}</version>
|
|||
|
</dependency>
|
|||
|
<dependency>
|
|||
|
<groupId>org.slf4j</groupId>
|
|||
|
<artifactId>slf4j-log4j12</artifactId>
|
|||
|
<version>${slf4j.version}</version>
|
|||
|
</dependency>
|
|||
|
<!-- servlet包 -->
|
|||
|
<!-- <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId>
|
|||
|
<scope>provided</scope> </dependency> -->
|
|||
|
<!--Swagger2依赖 -->
|
|||
|
<dependency>
|
|||
|
<groupId>io.springfox</groupId>
|
|||
|
<artifactId>springfox-swagger2</artifactId>
|
|||
|
</dependency>
|
|||
|
<!-- knife4j ui swagger 增强 -->
|
|||
|
<dependency>
|
|||
|
<groupId>com.github.xiaoymin</groupId>
|
|||
|
<artifactId>knife4j-spring-ui</artifactId>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<dependency>
|
|||
|
<groupId>org.springframework.boot</groupId>
|
|||
|
<artifactId>spring-boot-test</artifactId>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<dependency>
|
|||
|
<groupId>org.springframework.boot</groupId>
|
|||
|
<artifactId>spring-boot-starter-test</artifactId>
|
|||
|
<scope>test</scope>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- Mysql驱动包 -->
|
|||
|
<dependency>
|
|||
|
<groupId>mysql</groupId>
|
|||
|
<artifactId>mysql-connector-java</artifactId>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- mybatis分页插件 -->
|
|||
|
<dependency>
|
|||
|
<groupId>com.github.pagehelper</groupId>
|
|||
|
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
|||
|
<!-- <version>1.3.0</version> -->
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-configuration-processor</artifactId>
|
|||
|
<optional>true</optional> </dependency> -->
|
|||
|
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-dbcp2 -->
|
|||
|
|
|||
|
<!-- <dependency> <groupId>org.springframework</groupId> <artifactId>spring-aspects</artifactId>
|
|||
|
</dependency> -->
|
|||
|
<!-- <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcprov-jdk16</artifactId>
|
|||
|
</dependency> -->
|
|||
|
<!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpcore -->
|
|||
|
|
|||
|
<dependency>
|
|||
|
<groupId>org.apache.httpcomponents</groupId>
|
|||
|
<artifactId>httpclient</artifactId>
|
|||
|
<!-- <version>4.3.2</version> -->
|
|||
|
</dependency>
|
|||
|
<dependency>
|
|||
|
<groupId>org.apache.httpcomponents</groupId>
|
|||
|
<artifactId>httpcore</artifactId>
|
|||
|
<!-- <version>4.3.2</version> -->
|
|||
|
</dependency>
|
|||
|
<!-- https://mvnrepository.com/artifact/dom4j/dom4j -->
|
|||
|
<!-- <dependency> <groupId>dom4j</groupId> <artifactId>dom4j</artifactId>
|
|||
|
</dependency> -->
|
|||
|
|
|||
|
<dependency>
|
|||
|
<groupId>com.google.code.gson</groupId>
|
|||
|
<artifactId>gson</artifactId>
|
|||
|
</dependency>
|
|||
|
|
|||
|
|
|||
|
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-war-plugin -->
|
|||
|
<!-- <dependency> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId>
|
|||
|
<version>3.2.2</version> </dependency> -->
|
|||
|
|
|||
|
<!-- framework核心模块 -->
|
|||
|
<dependency>
|
|||
|
<groupId>cn.health.service</groupId>
|
|||
|
<artifactId>health_framework</artifactId>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<dependency>
|
|||
|
<groupId>com.itextpdf</groupId>
|
|||
|
<artifactId>itextpdf</artifactId>
|
|||
|
<version>5.4.3</version>
|
|||
|
</dependency>
|
|||
|
<dependency>
|
|||
|
<groupId>com.itextpdf</groupId>
|
|||
|
<artifactId>itext-asian</artifactId>
|
|||
|
<version>5.2.0</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- <dependency>-->
|
|||
|
<!-- <groupId>org.codehaus.xfire</groupId>-->
|
|||
|
<!-- <artifactId>bcprov-jdk15</artifactId>-->
|
|||
|
<!-- </dependency>-->
|
|||
|
<dependency>
|
|||
|
<groupId>junit</groupId>
|
|||
|
<artifactId>junit</artifactId>
|
|||
|
</dependency>
|
|||
|
|
|||
|
</dependencies>
|
|||
|
|
|||
|
<build>
|
|||
|
<plugins>
|
|||
|
<plugin>
|
|||
|
<groupId>org.springframework.boot</groupId>
|
|||
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|||
|
<version>2.1.1.RELEASE</version>
|
|||
|
<configuration>
|
|||
|
<fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
|
|||
|
</configuration>
|
|||
|
<executions>
|
|||
|
<execution>
|
|||
|
<goals>
|
|||
|
<goal>repackage</goal>
|
|||
|
</goals>
|
|||
|
</execution>
|
|||
|
</executions>
|
|||
|
</plugin>
|
|||
|
<plugin>
|
|||
|
<groupId>org.apache.maven.plugins</groupId>
|
|||
|
<artifactId>maven-war-plugin</artifactId>
|
|||
|
<version>3.1.0</version>
|
|||
|
<configuration>
|
|||
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
|||
|
<warName>${project.artifactId}</warName>
|
|||
|
</configuration>
|
|||
|
</plugin>
|
|||
|
</plugins>
|
|||
|
<finalName>${project.artifactId}</finalName>
|
|||
|
</build>
|
|||
|
|
|||
|
</project>
|