|
|
|
|
|
<?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.emr</groupId>
|
|
|
|
|
|
<artifactId>emr_record</artifactId>
|
|
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
|
|
<packaging>war</packaging>
|
|
|
|
|
|
|
|
|
|
|
|
<name>emr_record Maven Webapp</name>
|
|
|
|
|
|
<url>http://www.example.com</url>
|
|
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
|
<!-- 编译时的编码 -->
|
|
|
|
|
|
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
|
|
|
|
|
|
<!-- 跳过 必须依赖正式版本的检查 -->
|
|
|
|
|
|
<skipRequireRelease>true</skipRequireRelease>
|
|
|
|
|
|
<!-- begin 其它第三方开源版本定义 -->
|
|
|
|
|
|
<jdk.version>1.8</jdk.version>
|
|
|
|
|
|
<spring.version>5.0.2.RELEASE</spring.version>
|
|
|
|
|
|
<mybatis.spring.version>1.3.2</mybatis.spring.version>
|
|
|
|
|
|
<mybatis.version>3.5.7</mybatis.version>
|
|
|
|
|
|
<mssql.version>7.4.1.jre8</mssql.version>
|
|
|
|
|
|
<druid.version>1.1.22</druid.version>
|
|
|
|
|
|
<shiro.version>1.2.5</shiro.version>
|
|
|
|
|
|
<log4j2.version>2.15.0</log4j2.version>
|
|
|
|
|
|
<junit.version>4.12</junit.version>
|
|
|
|
|
|
<servlet.version>2.4</servlet.version>
|
|
|
|
|
|
<jstl.version>1.2</jstl.version>
|
|
|
|
|
|
<httpclient.version>4.3.5</httpclient.version>
|
|
|
|
|
|
<javax-servlet-api.version>4.0.1</javax-servlet-api.version>
|
|
|
|
|
|
<commons-lang3.version>3.3.2</commons-lang3.version>
|
|
|
|
|
|
<pagehelper.version>5.1.10</pagehelper.version>
|
|
|
|
|
|
<alibabaJson.version>1.2.4</alibabaJson.version>
|
|
|
|
|
|
<jackson.version>2.9.4</jackson.version>
|
|
|
|
|
|
<commons-fileupload.version>1.3.1</commons-fileupload.version>
|
|
|
|
|
|
<pdfbox.version>2.0.16</pdfbox.version>
|
|
|
|
|
|
<lowagie.version>2.1.7</lowagie.version>
|
|
|
|
|
|
<cxf.version>3.1.8</cxf.version>
|
|
|
|
|
|
<poi.version>3.9</poi.version>
|
|
|
|
|
|
<lombok.version>1.16.8</lombok.version>
|
|
|
|
|
|
<itextpdf.version>5.5.7</itextpdf.version>
|
|
|
|
|
|
<jai.version>1.1.3</jai.version>
|
|
|
|
|
|
<hibernate-validator.version>6.1.5.Final</hibernate-validator.version>
|
|
|
|
|
|
</properties>
|
|
|
|
|
|
<!-- maven依赖 -->
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
<!-- Spring -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
|
<artifactId>spring-context-support</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-aspects</artifactId>
|
|
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
|
<artifactId>spring-test</artifactId>
|
|
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- Mybatis -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.mybatis</groupId>
|
|
|
|
|
|
<artifactId>mybatis-spring</artifactId>
|
|
|
|
|
|
<version>${mybatis.spring.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.mybatis</groupId>
|
|
|
|
|
|
<artifactId>mybatis</artifactId>
|
|
|
|
|
|
<version>${mybatis.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- sql-server -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.microsoft.sqlserver</groupId>
|
|
|
|
|
|
<artifactId>mssql-jdbc</artifactId>
|
|
|
|
|
|
<version>${mssql.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 连接池 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
|
|
<artifactId>druid</artifactId>
|
|
|
|
|
|
<version>${druid.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 引入pageHelper分页插件 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.github.pagehelper</groupId>
|
|
|
|
|
|
<artifactId>pagehelper</artifactId>
|
|
|
|
|
|
<version>${pagehelper.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.itextpdf</groupId>
|
|
|
|
|
|
<artifactId>itext7-core</artifactId>
|
|
|
|
|
|
<version>7.2.5</version>
|
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Jackson Json处理工具包 -->
|
|
|
|
|
|
<!--alibabaJson-->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
|
|
|
<version>${alibabaJson.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!--fasterJson-->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
|
|
<version>${jackson.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- Apache工具组件 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
|
|
<version>${commons-lang3.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- httpclient -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
|
|
|
<version>${httpclient.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 单元测试 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
|
|
<version>${junit.version}</version>
|
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
|
<artifactId>jstl</artifactId>
|
|
|
|
|
|
<version>${jstl.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
|
|
<version>${javax-servlet-api.version}</version>
|
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 文件上传组件 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>commons-fileupload</groupId>
|
|
|
|
|
|
<artifactId>commons-fileupload</artifactId>
|
|
|
|
|
|
<version>${commons-fileupload.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- SECURITY begin :进行用户认证以及授予权限的时候,通过各种各样的拦截器来控制权限的访问,从而实现安全 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.apache.shiro</groupId>
|
|
|
|
|
|
<artifactId>shiro-spring</artifactId>
|
|
|
|
|
|
<version>${shiro.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 日志处理 -->
|
|
|
|
|
|
<!-- Web项目需添加 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
|
|
<artifactId>log4j-web</artifactId>
|
|
|
|
|
|
<version>${log4j2.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!--用于与slf4j保持桥接-->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
|
|
<artifactId>log4j-slf4j-impl</artifactId>
|
|
|
|
|
|
<version>${log4j2.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!--apache poi-->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
|
|
<artifactId>poi-ooxml</artifactId>
|
|
|
|
|
|
<version>${poi.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!--pdf处理类-->
|
|
|
|
|
|
<!--图片转pdf-->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.lowagie</groupId>
|
|
|
|
|
|
<artifactId>itext</artifactId>
|
|
|
|
|
|
<version>${lowagie.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.eclipse.birt.runtime.3_7_1</groupId>
|
|
|
|
|
|
<artifactId>com.lowagie.text</artifactId>
|
|
|
|
|
|
<version>${lowagie.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.itextpdf</groupId>
|
|
|
|
|
|
<artifactId>itextpdf</artifactId>
|
|
|
|
|
|
<version>${itextpdf.version}</version>
|
|
|
|
|
|
<scope>compile</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.apache.pdfbox/pdfbox -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.apache.pdfbox</groupId>
|
|
|
|
|
|
<artifactId>pdfbox</artifactId>
|
|
|
|
|
|
<version>${pdfbox.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!--webService-->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.apache.cxf</groupId>
|
|
|
|
|
|
<artifactId>cxf-rt-transports-http</artifactId>
|
|
|
|
|
|
<version>${cxf.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.apache.cxf</groupId>
|
|
|
|
|
|
<artifactId>cxf-rt-frontend-jaxws</artifactId>
|
|
|
|
|
|
<version>${cxf.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!--lombok-->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
|
|
<version>${lombok.version}</version>
|
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.hibernate.validator/hibernate-validator -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.hibernate.validator</groupId>
|
|
|
|
|
|
<artifactId>hibernate-validator</artifactId>
|
|
|
|
|
|
<version>${hibernate-validator.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.twelvemonkeys.imageio</groupId>
|
|
|
|
|
|
<artifactId>imageio-tiff</artifactId>
|
|
|
|
|
|
<version>3.6</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 反向自动生成 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.mybatis.generator</groupId>
|
|
|
|
|
|
<artifactId>mybatis-generator-core</artifactId>
|
|
|
|
|
|
<version>1.3.5</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 导入zip解压包 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>ant</groupId>
|
|
|
|
|
|
<artifactId>ant</artifactId>
|
|
|
|
|
|
<version>1.6.5</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>commons-fileupload</groupId>
|
|
|
|
|
|
<artifactId>commons-fileupload</artifactId>
|
|
|
|
|
|
<version>1.3.1</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
|
|
<version>2.4</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.github.junrar</groupId>
|
|
|
|
|
|
<artifactId>junrar</artifactId>
|
|
|
|
|
|
<version>0.7</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
|
<finalName>emr_record</finalName>
|
|
|
|
|
|
<plugins>
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<!-- 指定maven编译的jdk版本,如果不指定,maven3默认用jdk 1.5 maven2默认用jdk1.3 -->
|
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
|
|
<version>3.1</version>
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
<!-- 一般而言,target与source是保持一致的,但是,有时候为了让程序能在其他版本的jdk中运行(对于低版本目标jdk,源代码中不能使用低版本jdk中不支持的语法),会存在target不同于source的情况 -->
|
|
|
|
|
|
<source>1.8</source> <!-- 源代码使用的JDK版本 -->
|
|
|
|
|
|
<target>1.8</target> <!-- 需要生成的目标class文件的编译版本 -->
|
|
|
|
|
|
<encoding>UTF-8</encoding><!-- 字符集编码 -->
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
|
|
<version>2.5</version>
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
<!-- 跳过单元测试 -->
|
|
|
|
|
|
<skip>true</skip>
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
<!--反向自动生成实体类-->
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.mybatis.generator</groupId>
|
|
|
|
|
|
<artifactId>mybatis-generator-maven-plugin</artifactId>
|
|
|
|
|
|
<version>1.3.5</version>
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
<!--配置文件的路径-->
|
|
|
|
|
|
<configurationFile>src/main/resources/generatorConfig.xml</configurationFile>
|
|
|
|
|
|
<overwrite>true</overwrite>
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.mybatis.generator</groupId>
|
|
|
|
|
|
<artifactId>mybatis-generator-core</artifactId>
|
|
|
|
|
|
<version>1.3.5</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
</plugins>
|
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
|
|
</project>
|