|
|
<?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>
|
|
|
|
|
|
<groupId>com.example</groupId>
|
|
|
<artifactId>demo</artifactId>
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
<name>demo</name>
|
|
|
<description>Demo project for Spring Boot</description>
|
|
|
|
|
|
<parent>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
<version>2.1.0.RELEASE</version>
|
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
|
</parent>
|
|
|
|
|
|
<properties>
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
<java.version>1.8</java.version>
|
|
|
</properties>
|
|
|
|
|
|
<dependencies>
|
|
|
<!-- Spring Boot JPA -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- tomcat的支持.-->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
<scope>test</scope>
|
|
|
</dependency>
|
|
|
|
|
|
<!--json依赖-->
|
|
|
<dependency>
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
<version>1.2.37</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- JSONObject对象依赖的jar包 -->
|
|
|
<dependency>
|
|
|
<groupId>commons-beanutils</groupId>
|
|
|
<artifactId>commons-beanutils</artifactId>
|
|
|
<version>1.9.3</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>commons-collections</groupId>
|
|
|
<artifactId>commons-collections</artifactId>
|
|
|
<version>3.2.1</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>commons-lang</groupId>
|
|
|
<artifactId>commons-lang</artifactId>
|
|
|
<version>2.6</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>commons-logging</groupId>
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
<version>1.1.1</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>net.sf.ezmorph</groupId>
|
|
|
<artifactId>ezmorph</artifactId>
|
|
|
<version>1.0.6</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>net.sf.json-lib</groupId>
|
|
|
<artifactId>json-lib</artifactId>
|
|
|
<version>2.2.3</version>
|
|
|
<classifier>jdk15</classifier><!-- 指定jdk版本 -->
|
|
|
</dependency>
|
|
|
<!-- Json依赖架包下载 -->
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
<artifactId>lombok</artifactId>
|
|
|
<version>1.18.2</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- mysql -->
|
|
|
<dependency>
|
|
|
<groupId>mysql</groupId>
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
<version>8.0.13</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- mybatis -->
|
|
|
<dependency>
|
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|
|
<version>1.1.1</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
|
<optional>true</optional> <!-- 这个需要为 true 热部署才有效 -->
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
<optional>true</optional>
|
|
|
</dependency>
|
|
|
<!-- servlet依赖. -->
|
|
|
<!--<dependency>-->
|
|
|
<!--<groupId>javax.servlet</groupId>-->
|
|
|
<!--<artifactId>javax.servlet-api</artifactId>-->
|
|
|
<!--<scope>provided</scope>-->
|
|
|
<!--</dependency>-->
|
|
|
<!--<dependency>-->
|
|
|
<!--<groupId>javax.servlet</groupId>-->
|
|
|
<!--<artifactId>jstl</artifactId>-->
|
|
|
<!--</dependency>-->
|
|
|
<dependency>
|
|
|
<groupId>org.apache.tomcat.embed</groupId>
|
|
|
<artifactId>tomcat-embed-jasper</artifactId>
|
|
|
<scope>provided</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
<!--<version>RELEASE</version>-->
|
|
|
<scope>compile</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.session</groupId>
|
|
|
<artifactId>spring-session</artifactId>
|
|
|
<!--<version>RELEASE</version>-->
|
|
|
</dependency>
|
|
|
|
|
|
<!--XStream包的依赖(java对象到xml的处理,扩展xstream,使其支持CDATA块)-->
|
|
|
<dependency>
|
|
|
<groupId>com.thoughtworks.xstream</groupId>
|
|
|
<artifactId>xstream</artifactId>
|
|
|
<version>1.4.9</version>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
|
<plugins>
|
|
|
<plugin>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
</build>
|
|
|
|
|
|
|
|
|
</project>
|