<?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.doumee</groupId>
|
<artifactId>dmttwebsite</artifactId>
|
<version>1.0.0-SNAPSHOT</version>
|
<packaging>war</packaging>
|
<name>dmttwebsite</name>
|
<description></description>
|
|
<parent>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-parent</artifactId>
|
<version>2.2.5.RELEASE</version>
|
</parent>
|
|
<properties>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<java.version>1.8</java.version>
|
<swagger.version>2.9.2</swagger.version>
|
<swagger.bootstrap-ui.version>1.9.6</swagger.bootstrap-ui.version>
|
<fastjson.version>1.2.70</fastjson.version>
|
<druid.version>1.2.0</druid.version>
|
<mybatis.plus.version>3.5.7</mybatis.plus.version>
|
<apache.shiro.version>1.7.0</apache.shiro.version>
|
<oshi.version>5.7.0</oshi.version>
|
<jna.version>5.7.0</jna.version>
|
<poi.version>5.0.0</poi.version>
|
<jjwt.version>0.9.1</jjwt.version>
|
</properties>
|
<dependencyManagement>
|
<dependencies>
|
<dependency>
|
<groupId>com.azure.spring</groupId>
|
<artifactId>spring-cloud-azure-dependencies</artifactId>
|
<version>4.19.0</version>
|
<type>pom</type>
|
<scope>import</scope>
|
</dependency>
|
</dependencies>
|
</dependencyManagement>
|
<dependencies>
|
<!-- Spring Boot -->
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-web</artifactId>
|
</dependency>
|
<!-- <dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
<scope>provided</scope>
|
</dependency>-->
|
<!-- Redis -->
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
</dependency>
|
<!-- Shiro -->
|
<dependency>
|
<groupId>org.apache.shiro</groupId>
|
<artifactId>shiro-spring</artifactId>
|
<version>${apache.shiro.version}</version>
|
</dependency>
|
<!-- MyBatis plus -->
|
<dependency>
|
<groupId>com.baomidou</groupId>
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
<version>${mybatis.plus.version}</version>
|
</dependency>
|
<!-- MyBatis分页 -->
|
<dependency>
|
<groupId>com.github.pagehelper</groupId>
|
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
<version>2.1.0</version>
|
</dependency>
|
<!--<dependency>
|
<groupId>com.github.pagehelper</groupId>
|
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
<version>1.2.13</version>
|
</dependency>-->
|
<!-- <dependency>
|
<groupId>com.github.xiaoymin</groupId>
|
<artifactId>knife4j-spring-boot-starter</artifactId>
|
<version>3.0.1</version>
|
</dependency>-->
|
<!-- swagger -->
|
<dependency>
|
<groupId>com.github.xiaoymin</groupId>
|
<artifactId>knife4j-spring-boot-starter</artifactId>
|
<version>3.0.3</version>
|
</dependency>
|
<dependency>
|
<groupId>io.springfox</groupId>
|
<artifactId>springfox-boot-starter</artifactId>
|
<version>3.0.0</version>
|
</dependency>
|
<dependency>
|
<groupId>io.swagger.core.v3</groupId>
|
<artifactId>swagger-annotations</artifactId>
|
<version>2.1.5</version>
|
</dependency>
|
<!-- quartz -->
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-quartz</artifactId>
|
</dependency>
|
<!-- 连接池 -->
|
<dependency>
|
<groupId>com.alibaba</groupId>
|
<artifactId>druid</artifactId>
|
<version>${druid.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>mysql</groupId>
|
<artifactId>mysql-connector-java</artifactId>
|
<version>8.0.19</version>
|
<!--<scope>system</scope>-->
|
</dependency>
|
<!-- <dependency>
|
<groupId>mysql</groupId>
|
<artifactId>mysql-connector-java</artifactId>
|
<version>8.0.19</version>
|
<scope>system</scope>
|
<systemPath>${project.basedir}/doc/mysql-connector-java-8.0.19.jar</systemPath>
|
</dependency>-->
|
<!-- swagger -->
|
<!--<dependency>
|
<groupId>io.springfox</groupId>
|
<artifactId>springfox-swagger2</artifactId>
|
<version>${swagger.version}</version>
|
</dependency>
|
<!– swagger-bootstrap-ui –>
|
<dependency>
|
<groupId>com.github.xiaoymin</groupId>
|
<artifactId>swagger-bootstrap-ui</artifactId>
|
<version>${swagger.bootstrap-ui.version}</version>
|
</dependency>-->
|
<!-- lombok -->
|
<dependency>
|
<groupId>org.projectlombok</groupId>
|
<artifactId>lombok</artifactId>
|
</dependency>
|
<!--google kaptcha-->
|
<dependency>
|
<groupId>com.github.penggle</groupId>
|
<artifactId>kaptcha</artifactId>
|
<version>2.3.2</version>
|
</dependency>
|
<!-- 工具包 -->
|
<dependency>
|
<groupId>org.apache.commons</groupId>
|
<artifactId>commons-lang3</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>com.alibaba</groupId>
|
<artifactId>fastjson</artifactId>
|
<version>${fastjson.version}</version>
|
</dependency>
|
<!-- Excel导入/导出依赖包 -->
|
<dependency>
|
<groupId>org.apache.poi</groupId>
|
<artifactId>poi</artifactId>
|
<version>${poi.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>org.apache.poi</groupId>
|
<artifactId>poi-ooxml</artifactId>
|
<version>${poi.version}</version>
|
</dependency>
|
<!-- 获取系统信息依赖包 -->
|
<dependency>
|
<groupId>com.github.oshi</groupId>
|
<artifactId>oshi-core</artifactId>
|
<version>${oshi.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>net.java.dev.jna</groupId>
|
<artifactId>jna</artifactId>
|
<version>${jna.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>net.java.dev.jna</groupId>
|
<artifactId>jna-platform</artifactId>
|
<version>${jna.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>com.github.yulichang</groupId>
|
<artifactId>mybatis-plus-join</artifactId>
|
<version>1.4.2.2</version>
|
</dependency>
|
<dependency>
|
<groupId>commons-net</groupId>
|
<artifactId>commons-net</artifactId>
|
<version>3.8.0</version>
|
</dependency>
|
<!--jwt-->
|
<dependency>
|
<groupId>io.jsonwebtoken</groupId>
|
<artifactId>jjwt</artifactId>
|
<version>${jjwt.version}</version>
|
</dependency>
|
<!--添加fileupload依赖-->
|
<dependency>
|
<groupId>commons-fileupload</groupId>
|
<artifactId>commons-fileupload</artifactId>
|
<version>1.4</version>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-mail</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.bouncycastle</groupId>
|
<artifactId>bcprov-jdk15on</artifactId>
|
<version>1.60</version>
|
</dependency>
|
<!-- <dependency>
|
<groupId>com.azure.spring</groupId>
|
<artifactId>spring-cloud-azure-starter-storage-blob</artifactId>
|
</dependency>-->
|
<dependency>
|
<groupId>com.azure</groupId>
|
<artifactId>azure-storage-blob</artifactId>
|
<version>12.14.1</version>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-freemarker</artifactId>
|
</dependency>
|
</dependencies>
|
<build>
|
<finalName>dmttwebsite</finalName>
|
<resources>
|
<resource>
|
<directory>src/main/resources</directory>
|
</resource>
|
</resources>
|
<plugins>
|
<plugin>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
<configuration>
|
<mainClass>com.doumee.OfficialWebsiteApplication</mainClass>
|
</configuration>
|
</plugin>
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
<version>3.1</version>
|
<configuration>
|
<source>${java.version}</source>
|
<target>${java.version}</target>
|
</configuration>
|
</plugin>
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-resources-plugin</artifactId>
|
<version>3.1.0</version>
|
<configuration>
|
<delimiters>
|
<delimiter>@</delimiter>
|
</delimiters>
|
<useDefaultDelimiters>false</useDefaultDelimiters>
|
</configuration>
|
</plugin>
|
</plugins>
|
|
</build>
|
|
<profiles>
|
<profile>
|
<id>dev</id>
|
<properties>
|
<spring.active>dev</spring.active>
|
</properties>
|
<activation>
|
<activeByDefault>true</activeByDefault>
|
</activation>
|
</profile>
|
<profile>
|
<id>test</id>
|
<properties>
|
<spring.active>test</spring.active>
|
</properties>
|
</profile>
|
<profile>
|
<id>pro</id>
|
<properties>
|
<spring.active>pro</spring.active>
|
</properties>
|
</profile>
|
</profiles>
|
|
</project>
|