mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-10-08 13:16:41 +08:00
401 lines
13 KiB
XML
401 lines
13 KiB
XML
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
|
|
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>
|
|
<parent>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>2.4.1</version>
|
|
</parent>
|
|
|
|
<groupId>net.1024lab</groupId>
|
|
<artifactId>smart-admin</artifactId>
|
|
<version>2.0.0</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>smart-admin</name>
|
|
<description>smart-admin project</description>
|
|
|
|
<properties>
|
|
<java.version>1.8</java.version>
|
|
<jodconverter.version>4.3.0</jodconverter.version>
|
|
<libreoffice.version>6.4.3</libreoffice.version>
|
|
<mybatis-plus.version>3.4.1</mybatis-plus.version>
|
|
<p6spy.version>3.8.6</p6spy.version>
|
|
<swagger.version>2.7.0</swagger.version>
|
|
<fast-json.version>1.2.62</fast-json.version>
|
|
<druid.version>1.2.6</druid.version>
|
|
<jjwt.version>0.9.1</jjwt.version>
|
|
<easypoi.version>4.2.0</easypoi.version>
|
|
<okhttp.version>4.2.2</okhttp.version>
|
|
<kaptcha.version>2.3.2</kaptcha.version>
|
|
<commons-io.version>20030203.000550</commons-io.version>
|
|
<google-guava.version>30.1.1-jre</google-guava.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-aop</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-data-redis</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<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>
|
|
|
|
<!-- spring security -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-log4j2</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.github.ben-manes.caffeine</groupId>
|
|
<artifactId>caffeine</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>error_prone_annotations</artifactId>
|
|
<groupId>com.google.errorprone</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-pool2</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-mock</artifactId>
|
|
<version>2.0.8</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.baomidou</groupId>
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
<version>${mybatis-plus.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-logging</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>p6spy</groupId>
|
|
<artifactId>p6spy</artifactId>
|
|
<version>${p6spy.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.springfox</groupId>
|
|
<artifactId>springfox-swagger2</artifactId>
|
|
<version>${swagger.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>guava</artifactId>
|
|
<groupId>com.google.guava</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|
<artifactId>okhttp</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.springfox</groupId>
|
|
<artifactId>springfox-swagger-ui</artifactId>
|
|
<version>${swagger.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>fastjson</artifactId>
|
|
<version>${fast-json.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>druid</artifactId>
|
|
<version>${druid.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
<artifactId>jjwt</artifactId>
|
|
<version>${jjwt.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
<version>${google-guava.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.github.penggle</groupId>
|
|
<artifactId>kaptcha</artifactId>
|
|
<version>${kaptcha.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<version>${commons-io.version}</version>
|
|
</dependency>
|
|
|
|
<!-- poi start -->
|
|
<dependency>
|
|
<groupId>cn.afterturn</groupId>
|
|
<artifactId>easypoi-spring-boot-starter</artifactId>
|
|
<version>${easypoi.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>cn.afterturn</groupId>
|
|
<artifactId>easypoi-base</artifactId>
|
|
<version>${easypoi.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>javassist</artifactId>
|
|
<groupId>org.javassist</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>guava</artifactId>
|
|
<groupId>com.google.guava</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>xmlbeans</artifactId>
|
|
<groupId>org.apache.xmlbeans</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>cn.afterturn</groupId>
|
|
<artifactId>easypoi-web</artifactId>
|
|
<version>${easypoi.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>javassist</artifactId>
|
|
<groupId>org.javassist</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>cn.afterturn</groupId>
|
|
<artifactId>easypoi-annotation</artifactId>
|
|
<version>${easypoi.version}</version>
|
|
</dependency>
|
|
<!-- poi end -->
|
|
|
|
<dependency>
|
|
<groupId>com.googlecode.concurrentlinkedhashmap</groupId>
|
|
<artifactId>concurrentlinkedhashmap-lru</artifactId>
|
|
<version>1.4.2</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.reflections</groupId>
|
|
<artifactId>reflections</artifactId>
|
|
<version>0.9.11</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>guava</artifactId>
|
|
<groupId>com.google.guava</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!-- 集合工具类 -->
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-collections4</artifactId>
|
|
<version>4.4</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.amazonaws</groupId>
|
|
<artifactId>aws-java-sdk-s3</artifactId>
|
|
<version>1.11.842</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>commons-logging</artifactId>
|
|
<groupId>commons-logging</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!-- sax 读取时候用到的 -->
|
|
<dependency>
|
|
<groupId>xerces</groupId>
|
|
<artifactId>xercesImpl</artifactId>
|
|
<version>2.12.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>poi-scratchpad</artifactId>
|
|
<version>4.1.1</version>
|
|
</dependency>
|
|
|
|
<!-- Word 需要使用 -->
|
|
<dependency>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>ooxml-schemas</artifactId>
|
|
<version>1.3</version>
|
|
</dependency>
|
|
|
|
<!--velocity begin-->
|
|
<dependency>
|
|
<artifactId>velocity</artifactId>
|
|
<groupId>org.apache.velocity</groupId>
|
|
<version>1.7</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.velocity</groupId>
|
|
<artifactId>velocity-engine-core</artifactId>
|
|
<version>2.0</version>
|
|
</dependency>
|
|
<!--velocity end-->
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<finalName>${profiles.active}-${project.name}</finalName>
|
|
<resources>
|
|
<resource>
|
|
<filtering>false</filtering>
|
|
<directory>src/main/resources</directory>
|
|
<excludes>
|
|
<exclude>dev/*</exclude>
|
|
<exclude>sit/*</exclude>
|
|
<exclude>pre/*</exclude>
|
|
<exclude>prod/*</exclude>
|
|
</excludes>
|
|
</resource>
|
|
|
|
<resource>
|
|
<directory>src/main/resources/${profiles.active}</directory>
|
|
<filtering>true</filtering>
|
|
<includes>
|
|
<include>*.properties</include>
|
|
</includes>
|
|
</resource>
|
|
|
|
<resource>
|
|
<directory>src/main/resources/${profiles.active}</directory>
|
|
<filtering>false</filtering>
|
|
<includes>
|
|
<include>*.*</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.2</version>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
<encoding>UTF-8</encoding>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<testFailureIgnore>true</testFailureIgnore>
|
|
<skipTests>true</skipTests>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>dev</id>
|
|
<properties>
|
|
<profiles.active>dev</profiles.active>
|
|
</properties>
|
|
<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>
|
|
</profile>
|
|
<profile>
|
|
<id>sit</id>
|
|
<properties>
|
|
<profiles.active>sit</profiles.active>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>pre</id>
|
|
<properties>
|
|
<profiles.active>pre</profiles.active>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>prod</id>
|
|
<properties>
|
|
<profiles.active>prod</profiles.active>
|
|
</properties>
|
|
</profile>
|
|
</profiles>
|
|
|
|
</project> |