|
|
@@ -0,0 +1,154 @@
|
|
|
+<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.zheng</groupId>
|
|
|
+ <artifactId>common</artifactId>
|
|
|
+ <version>1.0.0</version>
|
|
|
+ <packaging>jar</packaging>
|
|
|
+
|
|
|
+ <name>common</name>
|
|
|
+ <url>http://www.zhangshuzheng.cn</url>
|
|
|
+
|
|
|
+ <properties>
|
|
|
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
+ <spring.version>4.1.7.RELEASE</spring.version>
|
|
|
+ <mybatis.version>3.2.7</mybatis.version>
|
|
|
+ <mybatis-spring.version>1.2.3</mybatis-spring.version>
|
|
|
+ </properties>
|
|
|
+
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>junit</groupId>
|
|
|
+ <artifactId>junit</artifactId>
|
|
|
+ <version>4.12</version>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+ <!-- spring -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-context</artifactId>
|
|
|
+ <version>${spring.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-webmvc</artifactId>
|
|
|
+ <version>${spring.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-jdbc</artifactId>
|
|
|
+ <version>${spring.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-test</artifactId>
|
|
|
+ <version>${spring.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- mybatis -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.mybatis</groupId>
|
|
|
+ <artifactId>mybatis</artifactId>
|
|
|
+ <version>${mybatis.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.mybatis</groupId>
|
|
|
+ <artifactId>mybatis-spring</artifactId>
|
|
|
+ <version>${mybatis-spring.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.github.pagehelper</groupId>
|
|
|
+ <artifactId>pagehelper</artifactId>
|
|
|
+ <version>4.1.6</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- 数据库 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>commons-dbcp</groupId>
|
|
|
+ <artifactId>commons-dbcp</artifactId>
|
|
|
+ <version>1.4</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>mysql</groupId>
|
|
|
+ <artifactId>mysql-connector-java</artifactId>
|
|
|
+ <version>5.1.34</version>
|
|
|
+ <scope>runtime</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.alibaba</groupId>
|
|
|
+ <artifactId>druid</artifactId>
|
|
|
+ <version>1.0.14</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- 日志 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.slf4j</groupId>
|
|
|
+ <artifactId>slf4j-log4j12</artifactId>
|
|
|
+ <version>1.7.12</version>
|
|
|
+ <exclusions>
|
|
|
+ <exclusion>
|
|
|
+ <artifactId>slf4j-api</artifactId>
|
|
|
+ <groupId>org.slf4j</groupId>
|
|
|
+ </exclusion>
|
|
|
+ </exclusions>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.slf4j</groupId>
|
|
|
+ <artifactId>slf4j-api</artifactId>
|
|
|
+ <version>1.7.12</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- 上传 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>commons-fileupload</groupId>
|
|
|
+ <artifactId>commons-fileupload</artifactId>
|
|
|
+ <version>1.3.1</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- 常用工具包 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>commons-beanutils</groupId>
|
|
|
+ <artifactId>commons-beanutils</artifactId>
|
|
|
+ <version>1.9.3</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>commons-lang</groupId>
|
|
|
+ <artifactId>commons-lang</artifactId>
|
|
|
+ <version>2.6</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>commons-codec</groupId>
|
|
|
+ <artifactId>commons-codec</artifactId>
|
|
|
+ <version>1.10</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.fasterxml.jackson.core</groupId>
|
|
|
+ <artifactId>jackson-databind</artifactId>
|
|
|
+ <version>2.5.4</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- Hibernate Validator -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>javax.persistence</groupId>
|
|
|
+ <artifactId>persistence-api</artifactId>
|
|
|
+ <version>1.0.2</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>javax.validation</groupId>
|
|
|
+ <artifactId>validation-api</artifactId>
|
|
|
+ <version>1.1.0.Final</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.hibernate</groupId>
|
|
|
+ <artifactId>hibernate-validator</artifactId>
|
|
|
+ <version>5.2.2.Final</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- servlet -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>javax.servlet</groupId>
|
|
|
+ <artifactId>servlet-api</artifactId>
|
|
|
+ <version>2.5</version>
|
|
|
+ <scope>provided</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>javax.servlet</groupId>
|
|
|
+ <artifactId>jstl</artifactId>
|
|
|
+ <version>1.2</version>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+</project>
|