<?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>cn.flightfeather.supervision</groupId>
|
<artifactId>supervision</artifactId>
|
<version>1.0.0</version>
|
<packaging>war</packaging>
|
|
<name>supervision</name>
|
<description>Supervision project for Spring Boot</description>
|
|
<parent>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-parent</artifactId>
|
<version>2.3.3.RELEASE</version>
|
<relativePath/> <!-- lookup parent from repository -->
|
</parent>
|
|
<properties>
|
<kotlin.compiler.incremental>true</kotlin.compiler.incremental>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<java.version>1.8</java.version>
|
<!-- <kotlin.version>1.5.0</kotlin.version>-->
|
<kotlin.version>1.4.32</kotlin.version>
|
<!-- tk.mybatis -->
|
<mapper.plugin>tk.mybatis.mapper.generator.MapperPlugin</mapper.plugin>
|
<mapper.Mapper>tk.mybatis.mapper.common.Mapper</mapper.Mapper>
|
<resource.delimiters>@</resource.delimiters>
|
</properties>
|
|
<dependencies>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-web</artifactId>
|
<exclusions>
|
<exclusion>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-logging</artifactId>
|
</exclusion>
|
</exclusions>
|
</dependency>
|
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-quartz</artifactId>
|
</dependency>
|
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-data-mongodb-reactive</artifactId>
|
</dependency>
|
|
<dependency>
|
<groupId>org.mybatis.spring.boot</groupId>
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
<version>2.1.3</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
</dependency>
|
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-webflux</artifactId>
|
</dependency>
|
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-websocket</artifactId>
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/org.springframework.plugin/spring-plugin-core -->
|
<dependency>
|
<groupId>org.springframework.plugin</groupId>
|
<artifactId>spring-plugin-core</artifactId>
|
<version>2.0.0.RELEASE</version>
|
</dependency>
|
|
<dependency>
|
<groupId>io.springfox</groupId>
|
<artifactId>springfox-boot-starter</artifactId>
|
<version>3.0.0</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.jetbrains.kotlin</groupId>
|
<artifactId>kotlin-reflect</artifactId>
|
<version>${kotlin.version}</version>
|
</dependency>
|
|
<dependency>
|
<groupId>mysql</groupId>
|
<artifactId>mysql-connector-java</artifactId>
|
<scope>runtime</scope>
|
</dependency>
|
<!--<dependency>-->
|
<!--<groupId>org.springframework.boot</groupId>-->
|
<!--<artifactId>spring-boot-starter-tomcat</artifactId>-->
|
<!--<scope>provided</scope>-->
|
<!--</dependency>-->
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-test</artifactId>
|
<scope>test</scope>
|
<exclusions>
|
<exclusion>
|
<artifactId>junit</artifactId>
|
<groupId>junit</groupId>
|
</exclusion>
|
</exclusions>
|
</dependency>
|
<dependency>
|
<groupId>io.projectreactor</groupId>
|
<artifactId>reactor-test</artifactId>
|
<scope>test</scope>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.restdocs</groupId>
|
<artifactId>spring-restdocs-mockmvc</artifactId>
|
<scope>test</scope>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-log4j2</artifactId>
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/com.alibaba/druid -->
|
<dependency>
|
<groupId>com.alibaba</groupId>
|
<artifactId>druid</artifactId>
|
<version>1.1.6</version>
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/net.coobird/thumbnailator -->
|
<dependency>
|
<groupId>net.coobird</groupId>
|
<artifactId>thumbnailator</artifactId>
|
<version>0.4.8</version>
|
</dependency>
|
|
|
<dependency>
|
<groupId>com.fasterxml.jackson.module</groupId>
|
<artifactId>jackson-module-kotlin</artifactId>
|
<version>2.9.2</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.docx4j</groupId>
|
<artifactId>docx4j</artifactId>
|
<version>3.3.6</version>
|
<exclusions>
|
<exclusion>
|
<artifactId>slf4j-log4j12</artifactId>
|
<groupId>org.slf4j</groupId>
|
</exclusion>
|
<exclusion>
|
<artifactId>log4j</artifactId>
|
<groupId>log4j</groupId>
|
</exclusion>
|
</exclusions>
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/org.mybatis/mybatis-typehandlers-jsr310 -->
|
<!--<dependency>-->
|
<!--<groupId>org.mybatis</groupId>-->
|
<!--<artifactId>mybatis-typehandlers-jsr310</artifactId>-->
|
<!--<version>1.0.2</version>-->
|
<!--</dependency>-->
|
|
|
<!--<!– https://mvnrepository.com/artifact/org.docx4j/docx4j-ImportXHTML –>-->
|
<!--<dependency>-->
|
<!--<groupId>org.docx4j</groupId>-->
|
<!--<artifactId>docx4j-ImportXHTML</artifactId>-->
|
<!--<version>3.3.6</version>-->
|
<!--</dependency>-->
|
|
<!--mapper-->
|
<dependency>
|
<groupId>tk.mybatis</groupId>
|
<artifactId>mapper-spring-boot-starter</artifactId>
|
<version>1.1.7</version>
|
</dependency>
|
<dependency>
|
<groupId>org.mybatis.generator</groupId>
|
<artifactId>mybatis-generator-core</artifactId>
|
<version>1.3.6</version>
|
</dependency>
|
|
<dependency>
|
<groupId>javax.xml.bind</groupId>
|
<artifactId>jaxb-api</artifactId>
|
<version>2.3.0</version>
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-core -->
|
<dependency>
|
<groupId>com.sun.xml.bind</groupId>
|
<artifactId>jaxb-core</artifactId>
|
<version>2.3.0</version>
|
</dependency>
|
|
<!--<!– https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-impl –>-->
|
<dependency>
|
<groupId>com.sun.xml.bind</groupId>
|
<artifactId>jaxb-impl</artifactId>
|
<version>2.3.0</version>
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/javax.activation/activation -->
|
<dependency>
|
<groupId>javax.activation</groupId>
|
<artifactId>activation</artifactId>
|
<version>1.1.1</version>
|
</dependency>
|
|
<dependency>
|
<groupId>javax.servlet</groupId>
|
<artifactId>javax.servlet-api</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.junit.jupiter</groupId>
|
<artifactId>junit-jupiter-api</artifactId>
|
<version>5.0.0</version>
|
<scope>test</scope>
|
</dependency>
|
<dependency>
|
<groupId>org.jetbrains.kotlin</groupId>
|
<artifactId>kotlin-stdlib-jdk8</artifactId>
|
<version>${kotlin.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>org.jetbrains.kotlin</groupId>
|
<artifactId>kotlin-test</artifactId>
|
<version>${kotlin.version}</version>
|
<scope>test</scope>
|
</dependency>
|
<!-- https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-maven-plugin -->
|
<dependency>
|
<groupId>org.jetbrains.kotlin</groupId>
|
<artifactId>kotlin-maven-plugin</artifactId>
|
<version>${kotlin.version}</version>
|
<scope>provided</scope>
|
</dependency>
|
|
<!--<dependency>-->
|
<!--<groupId>com.alibaba</groupId>-->
|
<!--<artifactId>druid-spring-boot-starter</artifactId>-->
|
<!--<version>1.1.6</version>-->
|
<!--</dependency>-->
|
|
<!-- https://mvnrepository.com/artifact/junit/junit -->
|
<!-- <dependency>-->
|
<!-- <groupId>junit</groupId>-->
|
<!-- <artifactId>junit</artifactId>-->
|
<!-- <version>4.12</version>-->
|
<!-- <scope>test</scope>-->
|
<!-- </dependency>-->
|
|
<!-- https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-test-junit -->
|
<dependency>
|
<groupId>org.jetbrains.kotlin</groupId>
|
<artifactId>kotlin-test-junit</artifactId>
|
<version>1.5.21</version>
|
<scope>test</scope>
|
</dependency>
|
|
|
<!-- https://mvnrepository.com/artifact/joda-time/joda-time -->
|
<dependency>
|
<groupId>joda-time</groupId>
|
<artifactId>joda-time</artifactId>
|
<version>2.10.2</version>
|
</dependency>
|
|
<!--分页工具-->
|
<dependency>
|
<groupId>com.github.pagehelper</groupId>
|
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
<version>1.2.3</version>
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/org.apache.poi/poi -->
|
<dependency>
|
<groupId>org.apache.poi</groupId>
|
<artifactId>poi</artifactId>
|
<version>4.1.2</version>
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml -->
|
<dependency>
|
<groupId>org.apache.poi</groupId>
|
<artifactId>poi-ooxml</artifactId>
|
<version>4.1.2</version>
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/com.google.zxing/core -->
|
<dependency>
|
<groupId>com.google.zxing</groupId>
|
<artifactId>core</artifactId>
|
<version>3.4.0</version>
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/io.springfox/springfox-swagger2 -->
|
<!--<dependency>-->
|
<!--<groupId>io.springfox</groupId>-->
|
<!--<artifactId>springfox-swagger2</artifactId>-->
|
<!--<version>2.8.0</version>-->
|
<!--</dependency>-->
|
|
<!-- https://mvnrepository.com/artifact/io.springfox/springfox-swagger-ui -->
|
<!--<dependency>-->
|
<!--<groupId>io.springfox</groupId>-->
|
<!--<artifactId>springfox-swagger-ui</artifactId>-->
|
<!--<version>2.8.0</version>-->
|
<!--</dependency>-->
|
|
<!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
|
<dependency>
|
<groupId>com.google.code.gson</groupId>
|
<artifactId>gson</artifactId>
|
<version>2.8.6</version>
|
</dependency>
|
<dependency>
|
<groupId>commons-httpclient</groupId>
|
<artifactId>commons-httpclient</artifactId>
|
<version>3.0</version>
|
</dependency>
|
|
<!--阿里云推送-->
|
<dependency>
|
<groupId>com.aliyun</groupId>
|
<artifactId>aliyun-java-sdk-push</artifactId>
|
<version>3.10.1</version>
|
</dependency>
|
<dependency>
|
<groupId>com.aliyun</groupId>
|
<artifactId>aliyun-java-sdk-core</artifactId>
|
<version>4.5.22</version>
|
</dependency>
|
<!-- https://mvnrepository.com/artifact/com.belerweb/pinyin4j -->
|
<dependency>
|
<groupId>com.belerweb</groupId>
|
<artifactId>pinyin4j</artifactId>
|
<version>2.5.1</version>
|
</dependency>
|
</dependencies>
|
|
<build>
|
<sourceDirectory>src/main/kotlin</sourceDirectory>
|
<testSourceDirectory>src/test/kotlin</testSourceDirectory>
|
|
<plugins>
|
<!-- <plugin>-->
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
<!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
|
<!-- </plugin>-->
|
<plugin>
|
<groupId>org.jetbrains.kotlin</groupId>
|
<artifactId>kotlin-maven-plugin</artifactId>
|
<!-- <version>${kotlin.version}</version>-->
|
<!-- <executions>-->
|
<!-- <execution>-->
|
<!-- <id>compile</id>-->
|
<!-- <phase>compile</phase>-->
|
<!-- <goals>-->
|
<!-- <goal>compile</goal>-->
|
<!-- </goals>-->
|
<!-- </execution>-->
|
<!-- <execution>-->
|
<!-- <id>test-compile</id>-->
|
<!-- <phase>test-compile</phase>-->
|
<!-- <goals>-->
|
<!-- <goal>test-compile</goal>-->
|
<!-- </goals>-->
|
<!-- </execution>-->
|
<!-- </executions>-->
|
<configuration>
|
<args>
|
<arg>-Xjsr305=strict</arg>
|
</args>
|
<compilerPlugins>
|
<plugin>spring</plugin>
|
</compilerPlugins>
|
<jvmTarget>1.8</jvmTarget>
|
</configuration>
|
<dependencies>
|
<dependency>
|
<groupId>org.jetbrains.kotlin</groupId>
|
<artifactId>kotlin-maven-allopen</artifactId>
|
<version>${kotlin.version}</version>
|
</dependency>
|
</dependencies>
|
</plugin>
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
<configuration>
|
<source>1.8</source>
|
<target>1.8</target>
|
<encoding>UTF-8</encoding>
|
</configuration>
|
<executions>
|
<execution>
|
<id>default-compile</id>
|
<phase>none</phase>
|
</execution>
|
<execution>
|
<id>default-testCompile</id>
|
<phase>none</phase>
|
</execution>
|
<execution>
|
<id>compile</id>
|
<phase>compile</phase>
|
<goals>
|
<goal>compile</goal>
|
</goals>
|
</execution>
|
<execution>
|
<id>testCompile</id>
|
<phase>test-compile</phase>
|
<goals>
|
<goal>testCompile</goal>
|
</goals>
|
</execution>
|
</executions>
|
</plugin>
|
<!-- mybatis generator 自动生成代码插件 -->
|
<plugin>
|
<groupId>org.mybatis.generator</groupId>
|
<artifactId>mybatis-generator-maven-plugin</artifactId>
|
<version>1.3.2</version>
|
<configuration>
|
<configurationFile>src/main/resources/generator/generatorConfig4ds1.xml</configurationFile>
|
<!-- <configurationFile>src/main/resources/generator/generatorConfig4ds3.xml</configurationFile>-->
|
<overwrite>true</overwrite>
|
<verbose>true</verbose>
|
</configuration>
|
|
<dependencies>
|
<dependency>
|
<groupId>tk.mybatis</groupId>
|
<artifactId>mapper</artifactId>
|
<version>3.3.9</version>
|
</dependency>
|
</dependencies>
|
</plugin>
|
<!-- <plugin>-->
|
<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
<!-- <artifactId>maven-resources-plugin</artifactId>-->
|
<!-- <configuration>-->
|
<!-- <delimiters>@</delimiters>-->
|
<!-- <useDefaultDelimiters>false</useDefaultDelimiters>-->
|
<!-- </configuration>-->
|
<!-- </plugin>-->
|
</plugins>
|
|
<resources>
|
<resource>
|
<filtering>true</filtering>
|
<directory>src/main/resources</directory>
|
<!-- <excludes>-->
|
<!-- <exclude>application-dev.yml</exclude>-->
|
<!-- <exclude>application-pro.yml</exclude>-->
|
<!-- <exclude>application.yml</exclude>-->
|
<!-- </excludes>-->
|
</resource>
|
<!-- <resource>-->
|
<!-- <filtering>true</filtering>-->
|
<!-- <directory>src/main/resources</directory>-->
|
<!-- <includes>-->
|
<!-- <include>application-${profileActive}.yml</include>-->
|
<!-- <include>application.yml</include>-->
|
<!-- </includes>-->
|
<!-- </resource>-->
|
</resources>
|
</build>
|
|
<profiles>
|
<profile>
|
<id>dev</id>
|
<properties>
|
<profileActive>dev</profileActive>
|
</properties>
|
<activation>
|
<activeByDefault>true</activeByDefault>
|
</activation>
|
</profile>
|
<profile>
|
<id>pro</id>
|
<properties>
|
<profileActive>pro</profileActive>
|
</properties>
|
</profile>
|
<profile>
|
<id>pro-https</id>
|
<properties>
|
<profileActive>pro-https</profileActive>
|
</properties>
|
</profile>
|
<profile>
|
<id>test</id>
|
<properties>
|
<profileActive>test</profileActive>
|
</properties>
|
</profile>
|
</profiles>
|
|
<repositories>
|
<repository>
|
<id>alimaven</id>
|
<name>aliyun maven</name>
|
<url>https://maven.aliyun.com/repository/public</url>
|
</repository>
|
<repository>
|
<id>spring-snapshots</id>
|
<name>Spring Snapshots</name>
|
<url>https://repo.spring.io/snapshot</url>
|
<snapshots>
|
<enabled>true</enabled>
|
</snapshots>
|
</repository>
|
<repository>
|
<id>spring-milestones</id>
|
<name>Spring Milestones</name>
|
<url>https://repo.spring.io/milestone</url>
|
<snapshots>
|
<enabled>false</enabled>
|
</snapshots>
|
</repository>
|
</repositories>
|
|
<pluginRepositories>
|
<pluginRepository>
|
<id>alimaven</id>
|
<name>aliyun maven</name>
|
<url>https://maven.aliyun.com/repository/public</url>
|
</pluginRepository>
|
<pluginRepository>
|
<id>spring-snapshots</id>
|
<name>Spring Snapshots</name>
|
<url>https://repo.spring.io/snapshot</url>
|
<snapshots>
|
<enabled>true</enabled>
|
</snapshots>
|
</pluginRepository>
|
<pluginRepository>
|
<id>spring-milestones</id>
|
<name>Spring Milestones</name>
|
<url>https://repo.spring.io/milestone</url>
|
<snapshots>
|
<enabled>false</enabled>
|
</snapshots>
|
</pluginRepository>
|
</pluginRepositories>
|
|
|
</project>
|