|
|
<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>top.beansprout</groupId>
|
|
|
<artifactId>health</artifactId>
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
<packaging>war</packaging>
|
|
|
<name>health-manager</name>
|
|
|
<description>个人健康信息管理系统</description>
|
|
|
|
|
|
<properties>
|
|
|
<project.build.sourceEcoding>UTF-8</project.build.sourceEcoding>
|
|
|
<java.version>1.8</java.version>
|
|
|
<spring.version>5.1.8.RELEASE</spring.version>
|
|
|
<jackson.version>2.10.3</jackson.version>
|
|
|
</properties>
|
|
|
|
|
|
<dependencies>
|
|
|
<!-- spring核心包 -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework</groupId>
|
|
|
<artifactId>spring-core</artifactId>
|
|
|
<version>${spring.version}</version>
|
|
|
</dependency>
|
|
|
<!--在基础IOC功能上提供扩展服务,此外还提供许多企业级服务的支持,有邮件服务、任务调度、JNDI定位,EJB集成、远程访问、缓存以及多种视图层框架的支持 -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework</groupId>
|
|
|
<artifactId>spring-context</artifactId>
|
|
|
<version>${spring.version}</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 声明式和编程式事务管理 -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework</groupId>
|
|
|
<artifactId>spring-tx</artifactId>
|
|
|
<version>${spring.version}</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!--包含SpringMVC框架相关的所有类 -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework</groupId>
|
|
|
<artifactId>spring-webmvc</artifactId>
|
|
|
<version>${spring.version}</version>
|
|
|
</dependency>
|
|
|
<!-- 包含Web应用开发时,用到Spring框架时所需的核心类,包括自动载入WebApplicationContext特性的类、文件上传的支持类、Filter类和大量工具辅助类 -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework</groupId>
|
|
|
<artifactId>spring-web</artifactId>
|
|
|
<version>${spring.version}</version>
|
|
|
</dependency>
|
|
|
<!--Spring context的扩展支持,用于MVC方面 -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework</groupId>
|
|
|
<artifactId>spring-context-support</artifactId>
|
|
|
<version>${spring.version}</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- Spring提供的对AspectJ框架的整合 -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework</groupId>
|
|
|
<artifactId>spring-aspects</artifactId>
|
|
|
<version>${spring.version}</version>
|
|
|
</dependency>
|
|
|
<!-- Spring的面向切面编程,提供AOP(面向切面编程)的实现 -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework</groupId>
|
|
|
<artifactId>spring-aop</artifactId>
|
|
|
<version>${spring.version}</version>
|
|
|
</dependency>
|
|
|
<!-- AOP联盟依赖 -->
|
|
|
<dependency>
|
|
|
<groupId>aopalliance</groupId>
|
|
|
<artifactId>aopalliance</artifactId>
|
|
|
<version>1.0</version>
|
|
|
</dependency>
|
|
|
<!-- 下面两个提供对 AspectJ 的支持,是 spring-aspects 所需要依赖的 -->
|
|
|
<dependency>
|
|
|
<groupId>org.aspectj</groupId>
|
|
|
<artifactId>aspectjrt</artifactId>
|
|
|
<version>1.6.8</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.aspectj</groupId>
|
|
|
<artifactId>aspectjweaver</artifactId>
|
|
|
<version>1.6.8</version>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.springframework</groupId>
|
|
|
<artifactId>spring-test</artifactId>
|
|
|
<version>${spring.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
<version>4.0.1</version>
|
|
|
<scope>provided</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>javax.servlet.jsp</groupId>
|
|
|
<artifactId>jsp-api</artifactId>
|
|
|
<version>2.2</version>
|
|
|
<scope>provided</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>javax.servlet.jsp.jstl</groupId>
|
|
|
<artifactId>jstl-api</artifactId>
|
|
|
<version>1.2</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.glassfish.web</groupId>
|
|
|
<artifactId>jstl-impl</artifactId>
|
|
|
<version>1.2</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!--整合第三方的orm实现,如hibernate,ibatis,jdo以及spring 的jpa实现 -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework</groupId>
|
|
|
<artifactId>spring-orm</artifactId>
|
|
|
<version>${spring.version}</version>
|
|
|
</dependency>
|
|
|
<!--对JDBC 的简单封装 -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework</groupId>
|
|
|
<artifactId>spring-jdbc</artifactId>
|
|
|
<version>${spring.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>mysql</groupId>
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
<version>8.0.16</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
<artifactId>druid</artifactId>
|
|
|
<version>1.1.21</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.mybatis</groupId>
|
|
|
<artifactId>mybatis</artifactId>
|
|
|
<version>3.5.3</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.mybatis</groupId>
|
|
|
<artifactId>mybatis-spring</artifactId>
|
|
|
<version>2.0.4</version>
|
|
|
</dependency>
|
|
|
<!-- mybatis分页插件依赖 -->
|
|
|
<dependency>
|
|
|
<groupId>com.github.pagehelper</groupId>
|
|
|
<artifactId>pagehelper</artifactId>
|
|
|
<version>5.1.0</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 实体类简化工具 -->
|
|
|
<dependency>
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
<artifactId>lombok</artifactId>
|
|
|
<version>1.18.8</version>
|
|
|
<scope>provider</scope>
|
|
|
</dependency>
|
|
|
<!-- 日志包 -->
|
|
|
<dependency>
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
<version>1.7.30</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
|
|
<version>1.7.30</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
<artifactId>jul-to-slf4j</artifactId>
|
|
|
<version>1.7.30</version>
|
|
|
</dependency>
|
|
|
<!-- lombok依赖项 -->
|
|
|
<dependency>
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
<version>1.7.30</version>
|
|
|
</dependency>
|
|
|
<!-- json工具,效率比fastjson高 -->
|
|
|
<dependency>
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
<artifactId>jackson-core</artifactId>
|
|
|
<version>${jackson.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
<version>${jackson.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
<artifactId>jackson-annotations</artifactId>
|
|
|
<version>${jackson.version}</version>
|
|
|
</dependency>
|
|
|
<!-- 工具集 -->
|
|
|
<dependency>
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
<version>3.7</version>
|
|
|
</dependency>
|
|
|
<!-- springmvc参数校验 -->
|
|
|
<dependency>
|
|
|
<groupId>org.hibernate.validator</groupId>
|
|
|
<artifactId>hibernate-validator</artifactId>
|
|
|
<version>6.0.7.Final</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>commons-io</groupId>
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
<version>2.6</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>commons-fileupload</groupId>
|
|
|
<artifactId>commons-fileupload</artifactId>
|
|
|
<version>1.4</version>
|
|
|
</dependency>
|
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
|
<plugins>
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
<configuration>
|
|
|
<source>${java.version}</source>
|
|
|
<target>${java.version}</target>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
</build>
|
|
|
|
|
|
</project> |