|
|
|
|
<?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>org.example</groupId>
|
|
|
|
|
<artifactId>sxdx8.3</artifactId>
|
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
|
<packaging>war</packaging>
|
|
|
|
|
|
|
|
|
|
<name>sxdx8.3 Maven Webapp</name>
|
|
|
|
|
<!-- FIXME change it to the project's website -->
|
|
|
|
|
<url>http://www.example.com</url>
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
<maven.compiler.source>1.7</maven.compiler.source>
|
|
|
|
|
<maven.compiler.target>1.7</maven.compiler.target>
|
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
<!--测试-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
|
<version>4.12</version>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-webmvc</artifactId>
|
|
|
|
|
<version>4.2.4.RELEASE</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
|
<version>3.1.0</version>
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- 试图解析器使用https://mvnrepository.com/artifact/javax.servlet/jstl -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
<artifactId>jstl</artifactId>
|
|
|
|
|
<version>1.2</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/taglibs/standard -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>taglibs</groupId>
|
|
|
|
|
<artifactId>standard</artifactId>
|
|
|
|
|
<version>1.1.2</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-jdbc</artifactId>
|
|
|
|
|
<version>4.2.4.RELEASE</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.springframework/spring-tx -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-tx</artifactId>
|
|
|
|
|
<version>4.2.4.RELEASE</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.ow2.asm</groupId>
|
|
|
|
|
<artifactId>asm</artifactId>
|
|
|
|
|
<version>4.2</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.aspectj/aspectjrt -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.aspectj</groupId>
|
|
|
|
|
<artifactId>aspectjrt</artifactId>
|
|
|
|
|
<version>1.7.1</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.aspectj/aspectjweaver -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.aspectj</groupId>
|
|
|
|
|
<artifactId>aspectjweaver</artifactId>
|
|
|
|
|
<version>1.7.1</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!--mysql驱动包 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
|
<version>5.1.26</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!--mybatis核心包 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.mybatis</groupId>
|
|
|
|
|
<artifactId>mybatis</artifactId>
|
|
|
|
|
<version>3.3.0</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- mybaits与spring整合到一起的包 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.mybatis</groupId>
|
|
|
|
|
<artifactId>mybatis-spring</artifactId>
|
|
|
|
|
<version>1.2.2</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.mybatis.generator</groupId>
|
|
|
|
|
<artifactId>mybatis-generator-core</artifactId>
|
|
|
|
|
<version>1.3.2</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!--数据库连接池的jar-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
|
<artifactId>druid</artifactId>
|
|
|
|
|
<version>1.0.12</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- 日志文件管理包 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
|
<version>1.2.17</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
|
<version>1.7.12</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
|
<version>1.7.12</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!--文件上传 https://mvnrepository.com/artifact/commons-fileupload/commons-fileupload -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>commons-fileupload</groupId>
|
|
|
|
|
<artifactId>commons-fileupload</artifactId>
|
|
|
|
|
<version>1.2.2</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
|
<version>2.4</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- json:https://mvnrepository.com/artifact/com.alibaba/fastjson -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
|
|
<version>1.2.47</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- 分页工具pagehelper:https://mvnrepository.com/artifact/com.github.jsqlparser/jsqlparser -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.github.jsqlparser</groupId>
|
|
|
|
|
<artifactId>jsqlparser</artifactId>
|
|
|
|
|
<version>0.9.5</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.github.pagehelper/pagehelper -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.github.pagehelper</groupId>
|
|
|
|
|
<artifactId>pagehelper</artifactId>
|
|
|
|
|
<version>5.0.0</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- jackson转换json用 @ResponseBody默认调用jackson,将java对象转为json -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
|
<artifactId>jackson-core</artifactId>
|
|
|
|
|
<version>2.8.7</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
|
<artifactId>jackson-annotations</artifactId>
|
|
|
|
|
<version>2.8.0</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
|
<version>2.8.7</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>src/main/java</directory>
|
|
|
|
|
<includes>
|
|
|
|
|
<include>**/*.xml</include>
|
|
|
|
|
<include>**/*.properties</include>
|
|
|
|
|
</includes>
|
|
|
|
|
<filtering>false</filtering>
|
|
|
|
|
</resource>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
|
<includes>
|
|
|
|
|
<include>**/*.xml</include>
|
|
|
|
|
<include>**/*.properties</include>
|
|
|
|
|
</includes>
|
|
|
|
|
<filtering>false</filtering>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
|
|
|
|
|
|
|
|
|
<finalName>sxdx8.3</finalName>
|
|
|
|
|
<pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
|
|
<version>3.1.0</version>
|
|
|
|
|
</plugin>
|
|
|
|
|
<!-- see http://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_war_packaging -->
|
|
|
|
|
<plugin>
|
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
|
<version>3.0.2</version>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
|
<version>3.8.0</version>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
|
<version>2.22.1</version>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
|
<version>3.2.2</version>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
|
|
|
<version>2.5.2</version>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
|
|
|
<version>2.8.2</version>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.mybatis.generator</groupId>
|
|
|
|
|
<artifactId>mybatis-generator-maven-plugin</artifactId>
|
|
|
|
|
<version>1.3.2</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<!--配置文件的位置-->
|
|
|
|
|
<configurationFile>src/main/resources/mybatis-generator-config.xml</configurationFile>
|
|
|
|
|
<verbose>true</verbose>
|
|
|
|
|
<overwrite>true</overwrite>
|
|
|
|
|
</configuration>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>Generate MyBatis Artifacts</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>generate</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
</plugins>
|
|
|
|
|
</pluginManagement>
|
|
|
|
|
</build>
|
|
|
|
|
</project>
|