|
|
<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.passManage</groupId>
|
|
|
<artifactId>us</artifactId>
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
<packaging>pom</packaging>
|
|
|
<modules>
|
|
|
<!--公共核心模块-->
|
|
|
<module>us-core</module>
|
|
|
<!--业务层模块 通常由代码生成器完成-->
|
|
|
<module>us-service</module>
|
|
|
|
|
|
<!--对外web api 模块-->
|
|
|
<module>us-web</module>
|
|
|
<module>us-web-service</module>
|
|
|
|
|
|
<!--对内管理后台接口层-->
|
|
|
<module>us-admin</module>
|
|
|
<!--管理后台业务层-->
|
|
|
<module>us-admin-service</module>
|
|
|
<!--角色模块权限-->
|
|
|
<module>us-admin-rmp</module>
|
|
|
|
|
|
</modules>
|
|
|
<!--私有仓库配置-->
|
|
|
<repositories>
|
|
|
<repository>
|
|
|
<id>nexus-aliyun</id>
|
|
|
<name>nexus-aliyun Repository</name>
|
|
|
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
|
|
|
<releases>
|
|
|
<enabled>true</enabled>
|
|
|
</releases>
|
|
|
<snapshots>
|
|
|
<enabled>true</enabled>
|
|
|
</snapshots>
|
|
|
</repository>
|
|
|
<!--sqlserver oracle驱动 阿里云没有最新的 你也可以下载后 上传到自己的私服 -->
|
|
|
<repository>
|
|
|
<id>magicalcoder</id>
|
|
|
<name>special Repository</name>
|
|
|
<url>http://www.magicalcoder.com/maven2/</url>
|
|
|
<releases>
|
|
|
<enabled>true</enabled>
|
|
|
</releases>
|
|
|
<snapshots>
|
|
|
<enabled>true</enabled>
|
|
|
</snapshots>
|
|
|
</repository>
|
|
|
</repositories>
|
|
|
<pluginRepositories>
|
|
|
<pluginRepository>
|
|
|
<id>nexus-aliyun</id>
|
|
|
<name>nexus-aliyun Repository</name>
|
|
|
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
|
|
|
<releases>
|
|
|
<enabled>true</enabled>
|
|
|
</releases>
|
|
|
<snapshots>
|
|
|
<enabled>true</enabled>
|
|
|
</snapshots>
|
|
|
</pluginRepository>
|
|
|
</pluginRepositories>
|
|
|
|
|
|
<properties>
|
|
|
<java.version>1.8</java.version>
|
|
|
<java.encoding>UTF-8</java.encoding>
|
|
|
<encoding>UTF-8</encoding>
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
|
<spring-cloud.version>Dalston.SR2</spring-cloud.version>
|
|
|
<mybatis-spring-boot>1.3.2</mybatis-spring-boot>
|
|
|
<!--数据库驱动,请根据自身需求选择-->
|
|
|
<mysql-connector>8.0.12</mysql-connector>
|
|
|
<postgresql>9.4.1212.jre7</postgresql>
|
|
|
<sqlserver>4.2</sqlserver>
|
|
|
<oracle>12.1.0.2</oracle>
|
|
|
<druid>1.1.9</druid>
|
|
|
<springboot>2.1.3.RELEASE</springboot>
|
|
|
</properties>
|
|
|
<build>
|
|
|
<!--<finalName>us</finalName>-->
|
|
|
<plugins>
|
|
|
<!--编译 自动使用定制jdk 编码 idea不用重新设置-->
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
<version>2.3.2</version>
|
|
|
<configuration>
|
|
|
<source>${java.version}</source>
|
|
|
<target>${java.version}</target>
|
|
|
<encoding>${java.encoding}</encoding>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
<!--resource管理-->
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
<version>2.6</version>
|
|
|
<configuration>
|
|
|
<encoding>${encoding}</encoding>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
<!--热启动-->
|
|
|
<plugin>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
<version>${springboot}</version>
|
|
|
<configuration>
|
|
|
<!--fork : 如果没有该项配置,肯呢个devtools不会起作用,即应用不会restart -->
|
|
|
<fork>true</fork>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
<!--跳过单元测试-->
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
<configuration>
|
|
|
<skip>true</skip>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
</build>
|
|
|
|
|
|
<dependencyManagement>
|
|
|
<dependencies>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
|
<version>${springboot}</version>
|
|
|
<type>pom</type>
|
|
|
<scope>import</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
<version>${springboot}</version>
|
|
|
<scope>test</scope>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
|
|
<version>${springboot}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
|
<version>${springboot}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
<version>${springboot}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
<version>${springboot}</version>
|
|
|
<optional>true</optional>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
|
<version>${springboot}</version>
|
|
|
<optional>true</optional>
|
|
|
</dependency>
|
|
|
<!-- spring-boot-redis组件 -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
|
<version>${springboot}</version>
|
|
|
</dependency>
|
|
|
<!-- Spring Boot Mybatis 依赖 -->
|
|
|
<dependency>
|
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|
|
<version>${mybatis-spring-boot}</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
<version>1.2.29</version>
|
|
|
</dependency>
|
|
|
<!--<dependency>
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
<version>4.3.1</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
<artifactId>httpmime</artifactId>
|
|
|
<version>4.3.3</version>
|
|
|
</dependency>-->
|
|
|
|
|
|
<!-- lombok组件 -->
|
|
|
<dependency>
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
<artifactId>lombok</artifactId>
|
|
|
<version>1.16.10</version>
|
|
|
</dependency>
|
|
|
<!-- MySQL 连接驱动依赖 -->
|
|
|
<dependency>
|
|
|
<groupId>mysql</groupId>
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
<version>${mysql-connector}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.postgresql</groupId>
|
|
|
<artifactId>postgresql</artifactId>
|
|
|
<version>${postgresql}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.microsoft.sqlserver</groupId>
|
|
|
<artifactId>sqljdbc4</artifactId>
|
|
|
<version>${sqlserver}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.oracle</groupId>
|
|
|
<artifactId>ojdbc6</artifactId>
|
|
|
<version>${oracle}</version>
|
|
|
</dependency>
|
|
|
<!-- Druid 数据连接池依赖 -->
|
|
|
<dependency>
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
<artifactId>druid</artifactId>
|
|
|
<version>${druid}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
<version>1.3.2</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
<artifactId>commons-pool2</artifactId>
|
|
|
<version>2.5.0</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>commons-io</groupId>
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
<version>2.4</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>commons-lang</groupId>
|
|
|
<artifactId>commons-lang</artifactId>
|
|
|
<version>2.6</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>javax.servlet.jsp</groupId>
|
|
|
<artifactId>jsp-api</artifactId>
|
|
|
<version>2.2</version>
|
|
|
</dependency>
|
|
|
<!-- Protostuff 序列化 反序列化 -->
|
|
|
<dependency>
|
|
|
<groupId>com.dyuproject.protostuff</groupId>
|
|
|
<artifactId>protostuff-core</artifactId>
|
|
|
<version>1.0.8</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.dyuproject.protostuff</groupId>
|
|
|
<artifactId>protostuff-runtime</artifactId>
|
|
|
<version>1.0.8</version>
|
|
|
</dependency>
|
|
|
<!-- Objenesis -->
|
|
|
<dependency>
|
|
|
<groupId>org.objenesis</groupId>
|
|
|
<artifactId>objenesis</artifactId>
|
|
|
<version>2.1</version>
|
|
|
</dependency>
|
|
|
<!--okhttp-->
|
|
|
<dependency>
|
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|
|
<artifactId>okhttp</artifactId>
|
|
|
<version>3.12.1</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.squareup.okio</groupId>
|
|
|
<artifactId>okio</artifactId>
|
|
|
<version>1.14.0</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>junit</groupId>
|
|
|
<artifactId>junit</artifactId>
|
|
|
<version>4.12</version>
|
|
|
<scope>test</scope>
|
|
|
</dependency>
|
|
|
<!--引入excel v1.0.1版本新增 2018/12/20 如不需要您也可以删除-->
|
|
|
<dependency>
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
<artifactId>poi</artifactId>
|
|
|
<version>3.9</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
<artifactId>poi-ooxml</artifactId>
|
|
|
<version>3.9</version>
|
|
|
<exclusions>
|
|
|
<exclusion>
|
|
|
<artifactId>xml-apis</artifactId>
|
|
|
<groupId>xml-apis</groupId>
|
|
|
</exclusion>
|
|
|
</exclusions>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
<artifactId>poi-ooxml-schemas</artifactId>
|
|
|
<version>3.9</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
<artifactId>poi-excelant</artifactId>
|
|
|
<version>3.9</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
<artifactId>poi-scratchpad</artifactId>
|
|
|
<version>3.9</version>
|
|
|
</dependency>
|
|
|
<!--end-->
|
|
|
<dependency>
|
|
|
<groupId>org.jsoup</groupId>
|
|
|
<artifactId>jsoup</artifactId>
|
|
|
<version>1.8.3</version>
|
|
|
</dependency>
|
|
|
<!--redis操作-->
|
|
|
<dependency>
|
|
|
<groupId>redis.clients</groupId>
|
|
|
<artifactId>jedis</artifactId>
|
|
|
<version>2.9.1</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.springframework</groupId>
|
|
|
<artifactId>spring-test</artifactId>
|
|
|
<version>4.3.14.RELEASE</version>
|
|
|
<scope>test</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.thymeleaf.extras</groupId>
|
|
|
<artifactId>thymeleaf-extras-springsecurity4</artifactId>
|
|
|
<version>2.1.2.RELEASE</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
<version>1.2.3</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
<version>1.7.1</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>log4j</groupId>
|
|
|
<artifactId>log4j</artifactId>
|
|
|
<version>1.2.17</version>
|
|
|
<exclusions>
|
|
|
<exclusion>
|
|
|
<artifactId>jmxtools</artifactId>
|
|
|
<groupId>com.sun.jdmk</groupId>
|
|
|
</exclusion>
|
|
|
<exclusion>
|
|
|
<artifactId>jmxri</artifactId>
|
|
|
<groupId>com.sun.jmx</groupId>
|
|
|
</exclusion>
|
|
|
<exclusion>
|
|
|
<artifactId>jms</artifactId>
|
|
|
<groupId>javax.jms</groupId>
|
|
|
</exclusion>
|
|
|
<exclusion>
|
|
|
<artifactId>mail</artifactId>
|
|
|
<groupId>javax.mail</groupId>
|
|
|
</exclusion>
|
|
|
</exclusions>
|
|
|
</dependency>
|
|
|
<!--js压缩工具-->
|
|
|
<dependency>
|
|
|
<groupId>com.yahoo.platform.yui</groupId>
|
|
|
<artifactId>yuicompressor</artifactId>
|
|
|
<version>2.4.7</version>
|
|
|
</dependency>
|
|
|
<!--阿里云对象存储OOS-->
|
|
|
<dependency>
|
|
|
<groupId>com.aliyun.oss</groupId>
|
|
|
<artifactId>aliyun-sdk-oss</artifactId>
|
|
|
<version>2.8.3</version>
|
|
|
</dependency>
|
|
|
</dependencies>
|
|
|
</dependencyManagement>
|
|
|
</project>
|