123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363 |
- <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>
- <groupId>com.kpt</groupId>
- <artifactId>kpt-parent</artifactId>
- <version>1.0.0</version>
- <packaging>pom</packaging>
- <name>kpt-parent</name>
- <description>SmartAdmin project</description>
- <modules>
- <module>kpt-common</module>
- <module>kpt-admin</module>
- </modules>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
- <java.version>1.8</java.version>
- <springboot.version>2.7.5</springboot.version>
- <spring-mock.version>2.0.8</spring-mock.version>
- <mybatis-plus.version>3.5.2</mybatis-plus.version>
- <p6spy.version>3.8.6</p6spy.version>
- <swagger.version>2.7.0</swagger.version>
- <fastjson.version>2.0.16</fastjson.version>
- <druid.version>1.2.14</druid.version>
- <google-linkedhashmap.version>1.4.2</google-linkedhashmap.version>
- <google-guava.version>20.0</google-guava.version>
- <user-agent-utils.version>1.21</user-agent-utils.version>
- <kaptcha.version>2.3.2</kaptcha.version>
- <reflections.version>0.9.11</reflections.version>
- <commons-io.version>2.6</commons-io.version>
- <commons-lang3.version>3.12.0</commons-lang3.version>
- <commons-collections4.version>4.4</commons-collections4.version>
- <commons-codec.version>1.13</commons-codec.version>
- <easypoi.version>4.2.0</easypoi.version>
- <xerces.version>2.12.0</xerces.version>
- <poi-scratchpad.version>4.1.1</poi-scratchpad.version>
- <poi-ooxml-schemas.version>1.3</poi-ooxml-schemas.version>
- <aws-java-sdk.version>1.11.842</aws-java-sdk.version>
- <log4j-spring-boot.version>2.17.2</log4j-spring-boot.version>
- <hutool.version>5.7.22</hutool.version>
- <velocity-engine-core.version>2.3</velocity-engine-core.version>
- <jjwt.version>0.9.1</jjwt.version>
- <jwks-rsa.version>0.9.0</jwks-rsa.version>
- <velocity-tools.version>3.1</velocity-tools.version>
- </properties>
- <dependencyManagement>
- <dependencies>
- <!--BOM begin-->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-dependencies</artifactId>
- <version>${springboot.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <!--BOM end-->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-mock</artifactId>
- <version>${spring-mock.version}</version>
- <exclusions>
- <exclusion>
- <artifactId>commons-logging</artifactId>
- <groupId>commons-logging</groupId>
- </exclusion>
- </exclusions>
- </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>io.springfox</groupId>
- <artifactId>springfox-swagger-ui</artifactId>
- <version>${swagger.version}</version>
- </dependency>
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>fastjson</artifactId>
- <version>${fastjson.version}</version>
- </dependency>
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>druid</artifactId>
- <version>${druid.version}</version>
- </dependency>
- <dependency>
- <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
- <artifactId>concurrentlinkedhashmap-lru</artifactId>
- <version>${google-linkedhashmap.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>org.reflections</groupId>
- <artifactId>reflections</artifactId>
- <version>${reflections.version}</version>
- <exclusions>
- <exclusion>
- <artifactId>guava</artifactId>
- <groupId>com.google.guava</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- <version>${commons-io.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-lang3</artifactId>
- <version>${commons-lang3.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-collections4</artifactId>
- <version>${commons-collections4.version}</version>
- </dependency>
- <dependency>
- <artifactId>commons-codec</artifactId>
- <groupId>commons-codec</groupId>
- <version>${commons-codec.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-web</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>
- </exclusions>
- </dependency>
- <!-- sax 读取时候用到的 -->
- <!-- <dependency>-->
- <!-- <groupId>xerces</groupId>-->
- <!-- <artifactId>xercesImpl</artifactId>-->
- <!-- <version>${xerces.version}</version>-->
- <!-- </dependency>-->
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi-scratchpad</artifactId>
- <version>${poi-scratchpad.version}</version>
- </dependency>
- <!-- Word 需要使用 -->
- <dependency>
- <groupId>com.amazonaws</groupId>
- <artifactId>aws-java-sdk-s3</artifactId>
- <version>${aws-java-sdk.version}</version>
- <exclusions>
- <exclusion>
- <artifactId>commons-logging</artifactId>
- <groupId>commons-logging</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-spring-boot</artifactId>
- <version>${log4j-spring-boot.version}</version>
- </dependency>
- <dependency>
- <groupId>cn.hutool</groupId>
- <artifactId>hutool-all</artifactId>
- <version>${hutool.version}</version>
- </dependency>
- <dependency>
- <groupId>io.jsonwebtoken</groupId>
- <artifactId>jjwt</artifactId>
- <version>${jjwt.version}</version>
- </dependency>
- <dependency>
- <groupId>com.auth0</groupId>
- <artifactId>jwks-rsa</artifactId>
- <version>${jwks-rsa.version}</version>
- </dependency>
- <!--velocity begin-->
- <dependency>
- <groupId>org.apache.velocity</groupId>
- <artifactId>velocity-engine-core</artifactId>
- <version>${velocity-engine-core.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.velocity.tools</groupId>
- <artifactId>velocity-tools-generic</artifactId>
- <version>${velocity-tools.version}</version>
- </dependency>
- <!--velocity end-->
- </dependencies>
- </dependencyManagement>
- <build>
- <finalName>${profiles.active}-${project.name}</finalName>
- <resources>
- <resource>
- <filtering>false</filtering>
- <directory>src/main/resources</directory>
- <excludes>
- <exclude>dev/*</exclude>
- <exclude>test/*</exclude>
- <exclude>pre/*</exclude>
- <exclude>prod/*</exclude>
- </excludes>
- </resource>
- <resource>
- <directory>src/main/resources/${profiles.active}</directory>
- <filtering>true</filtering>
- <includes>
- <include>*.yaml</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>
- <version>2.16</version>
- <configuration>
- <testFailureIgnore>true</testFailureIgnore>
- <skipTests>true</skipTests>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <version>${springboot.version}</version>
- </plugin>
- </plugins>
- </build>
- <profiles>
- <!--开发环境-->
- <profile>
- <id>dev</id>
- <properties>
- <profiles.active>dev</profiles.active>
- </properties>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- </profile>
- <!--测试环境-->
- <profile>
- <id>test</id>
- <properties>
- <profiles.active>test</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>
|