|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
|
|
|
|
TopIAM Employee - Employee Identity and Access Management Program
|
|
|
|
Copyright © 2020-2023 TopIAM (support@topiam.cn)
|
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU Affero General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU Affero General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
-->
|
|
|
|
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
|
|
<version>2.7.8</version>
|
|
|
|
<relativePath/>
|
|
|
|
</parent>
|
|
|
|
<groupId>cn.topiam</groupId>
|
|
|
|
<artifactId>eiam</artifactId>
|
|
|
|
<version>1.0.0-beta1</version>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
<name>TopIAM Employee</name>
|
|
|
|
<description>Employee Identity and Access Management Program</description>
|
|
|
|
<inceptionYear>2020</inceptionYear>
|
|
|
|
<properties>
|
|
|
|
<!--Maven-->
|
|
|
|
<module.install.skip>true</module.install.skip>
|
|
|
|
<module.deploy.skip>true</module.deploy.skip>
|
|
|
|
<maven.javadoc.skip>false</maven.javadoc.skip>
|
|
|
|
<module.jacoco.skip>true</module.jacoco.skip>
|
|
|
|
<maven.compiler.source>17</maven.compiler.source>
|
|
|
|
<maven.compiler.target>17</maven.compiler.target>
|
|
|
|
<skipTests>true</skipTests>
|
|
|
|
<!--java 版本-->
|
|
|
|
<java.version>17</java.version>
|
|
|
|
<project.encoding>UTF-8</project.encoding>
|
|
|
|
<main.user.dir>${user.dir}</main.user.dir>
|
|
|
|
<java.source.version>17</java.source.version>
|
|
|
|
<java.target.version>17</java.target.version>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<!--版本号-->
|
|
|
|
<spring-security-rsa.version>1.0.11.RELEASE</spring-security-rsa.version>
|
|
|
|
<google.guava.version>31.1-jre</google.guava.version>
|
|
|
|
<easyexcel.version>3.2.0</easyexcel.version>
|
|
|
|
<redisson.version>3.19.3</redisson.version>
|
|
|
|
<arthas.version>3.6.7</arthas.version>
|
|
|
|
<hibernate-types.version>2.21.1</hibernate-types.version>
|
|
|
|
<commons-io.version>2.11.0</commons-io.version>
|
|
|
|
<kaptcha.version>2.3.3</kaptcha.version>
|
|
|
|
<springdoc.version>1.6.14</springdoc.version>
|
|
|
|
<fastjson.version>2.0.23</fastjson.version>
|
|
|
|
<opensaml.version>4.3.0</opensaml.version>
|
|
|
|
<browscap.version>1.4.0</browscap.version>
|
|
|
|
<geoip2.version>4.0.0</geoip2.version>
|
|
|
|
<screw-core.version>1.0.5</screw-core.version>
|
|
|
|
<org.mapstruct.version>1.5.3.Final</org.mapstruct.version>
|
|
|
|
<java-otp.version>0.4.0</java-otp.version>
|
|
|
|
<failsafe.version>3.3.0</failsafe.version>
|
|
|
|
<bouncycastle.version>1.70</bouncycastle.version>
|
|
|
|
<lombok-mapstruct-binding.version>0.2.0</lombok-mapstruct-binding.version>
|
|
|
|
<qiniu-java-sdk.version>7.12.1</qiniu-java-sdk.version>
|
|
|
|
<tencentcloud-sdk-java.version>3.1.688</tencentcloud-sdk-java.version>
|
|
|
|
<dingtalk-sdk.version>1.5.38</dingtalk-sdk.version>
|
|
|
|
<alibaba-dingtalk-service-sdk.version>2.0.0</alibaba-dingtalk-service-sdk.version>
|
|
|
|
<tea-openapi.version>0.2.9</tea-openapi.version>
|
|
|
|
<aliyun-sdk.version>2.0.23</aliyun-sdk.version>
|
|
|
|
<spring-cloud-context.version>3.1.5</spring-cloud-context.version>
|
|
|
|
<transmittable-thread-local.version>2.14.2</transmittable-thread-local.version>
|
|
|
|
<passay.version>1.6.2</passay.version>
|
|
|
|
<spring-boot.version>2.7.8</spring-boot.version>
|
|
|
|
<aliyun-sdk-oss.version>3.16.0</aliyun-sdk-oss.version>
|
|
|
|
<tencent-cos-java-sdk.version>5.6.131</tencent-cos-java-sdk.version>
|
|
|
|
<minio-java-sdk.version>8.5.1</minio-java-sdk.version>
|
|
|
|
<cron-utils.version>9.2.0</cron-utils.version>
|
|
|
|
<pinyin4j.version>2.5.1</pinyin4j.version>
|
|
|
|
<nanoid.version>4.0.0</nanoid.version>
|
|
|
|
<zxing.version>3.5.1</zxing.version>
|
|
|
|
<reflections.version>0.10.2</reflections.version>
|
|
|
|
<commons-compress.version>1.22</commons-compress.version>
|
|
|
|
<commons-text.version>1.10.0</commons-text.version>
|
|
|
|
<googlecode-libphonenumber.version>8.13.5</googlecode-libphonenumber.version>
|
|
|
|
<spring-security-oauth2-authorization-server.version>0.4.0</spring-security-oauth2-authorization-server.version>
|
|
|
|
<!--插件版本-->
|
|
|
|
<apt-maven-plugin.version>1.1.3</apt-maven-plugin.version>
|
|
|
|
<formatter-maven-plugin.version>2.21.0</formatter-maven-plugin.version>
|
|
|
|
<impsort-maven-plugin.version>1.8.0</impsort-maven-plugin.version>
|
|
|
|
<license-maven-plugin.version>4.1</license-maven-plugin.version>
|
|
|
|
<jib-maven-plugin.version>3.3.1</jib-maven-plugin.version>
|
|
|
|
<frontend-maven-plugin.version>1.12.1</frontend-maven-plugin.version>
|
|
|
|
</properties>
|
|
|
|
<!--模块-->
|
|
|
|
<modules>
|
|
|
|
<module>eiam-core</module>
|
|
|
|
<module>eiam-common</module>
|
|
|
|
<module>eiam-application</module>
|
|
|
|
<module>eiam-protocol</module>
|
|
|
|
<module>eiam-console</module>
|
|
|
|
<module>eiam-portal</module>
|
|
|
|
<module>eiam-synchronizer</module>
|
|
|
|
<module>eiam-identity-source</module>
|
|
|
|
<module>eiam-openapi</module>
|
|
|
|
<module>eiam-authentication</module>
|
|
|
|
<module>eiam-audit</module>
|
|
|
|
<module>eiam-support</module>
|
|
|
|
<module>eiam-alert</module>
|
|
|
|
</modules>
|
|
|
|
<!--dependencies-->
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-loader</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!-- libphonenumber -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.googlecode.libphonenumber</groupId>
|
|
|
|
<artifactId>libphonenumber</artifactId>
|
|
|
|
<version>${googlecode-libphonenumber.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- zxing -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.zxing</groupId>
|
|
|
|
<artifactId>core</artifactId>
|
|
|
|
<version>${zxing.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.zxing</groupId>
|
|
|
|
<artifactId>javase</artifactId>
|
|
|
|
<version>${zxing.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>log4j-over-slf4j</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.webjars</groupId>
|
|
|
|
<artifactId>webjars-locator-core</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.reflections</groupId>
|
|
|
|
<artifactId>reflections</artifactId>
|
|
|
|
<version>${reflections.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!--随机数-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.webjars.npm</groupId>
|
|
|
|
<artifactId>nanoid</artifactId>
|
|
|
|
<version>${nanoid.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.belerweb</groupId>
|
|
|
|
<artifactId>pinyin4j</artifactId>
|
|
|
|
<version>${pinyin4j.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-compress</artifactId>
|
|
|
|
<version>${commons-compress.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-text</artifactId>
|
|
|
|
<version>${commons-text.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.cronutils</groupId>
|
|
|
|
<artifactId>cron-utils</artifactId>
|
|
|
|
<version>${cron-utils.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.retry</groupId>
|
|
|
|
<artifactId>spring-retry</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!-- ding talk -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.aliyun</groupId>
|
|
|
|
<artifactId>dingtalk</artifactId>
|
|
|
|
<version>${dingtalk-sdk.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.aliyun</groupId>
|
|
|
|
<artifactId>alibaba-dingtalk-service-sdk</artifactId>
|
|
|
|
<version>${alibaba-dingtalk-service-sdk.version}</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<!-- passay -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.passay</groupId>
|
|
|
|
<artifactId>passay</artifactId>
|
|
|
|
<version>${passay.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- aliyun-oss-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.aliyun.oss</groupId>
|
|
|
|
<artifactId>aliyun-sdk-oss</artifactId>
|
|
|
|
<version>${aliyun-sdk-oss.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- tencent-oss-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.qcloud</groupId>
|
|
|
|
<artifactId>cos_api</artifactId>
|
|
|
|
<version>${tencent-cos-java-sdk.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- minio-oss-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.minio</groupId>
|
|
|
|
<artifactId>minio</artifactId>
|
|
|
|
<version>${minio-java-sdk.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|
|
|
<artifactId>okhttp</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!-- transmittable-thread-local -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
<artifactId>transmittable-thread-local</artifactId>
|
|
|
|
<version>${transmittable-thread-local.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- spring-cloud-context -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-context</artifactId>
|
|
|
|
<version>${spring-cloud-context.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- 阿里云短信 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.aliyun</groupId>
|
|
|
|
<artifactId>dysmsapi20170525</artifactId>
|
|
|
|
<version>${aliyun-sdk.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.aliyun</groupId>
|
|
|
|
<artifactId>tea-openapi</artifactId>
|
|
|
|
<version>${tea-openapi.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!--七牛SDK-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.qiniu</groupId>
|
|
|
|
<artifactId>qiniu-java-sdk</artifactId>
|
|
|
|
<version>${qiniu-java-sdk.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!--腾讯云-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.tencentcloudapi</groupId>
|
|
|
|
<artifactId>tencentcloud-sdk-java</artifactId>
|
|
|
|
<version>${tencentcloud-sdk-java.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!--lang3-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!-- browscap -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.blueconic</groupId>
|
|
|
|
<artifactId>browscap-java</artifactId>
|
|
|
|
<version>${browscap.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- geoip2 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.maxmind.geoip2</groupId>
|
|
|
|
<artifactId>geoip2</artifactId>
|
|
|
|
<version>${geoip2.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!--guava-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
<version>${google.guava.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!--common-io-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
<version>${commons-io.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!--easyexcel-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
<artifactId>easyexcel</artifactId>
|
|
|
|
<version>${easyexcel.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- fastjson -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba.fastjson2</groupId>
|
|
|
|
<artifactId>fastjson2</artifactId>
|
|
|
|
<version>${fastjson.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba.fastjson2</groupId>
|
|
|
|
<artifactId>fastjson2-extension</artifactId>
|
|
|
|
<version>${fastjson.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springdoc</groupId>
|
|
|
|
<artifactId>springdoc-openapi-ui</artifactId>
|
|
|
|
<version>${springdoc.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springdoc</groupId>
|
|
|
|
<artifactId>springdoc-openapi-security</artifactId>
|
|
|
|
<version>${springdoc.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!--redisson-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.redisson</groupId>
|
|
|
|
<artifactId>redisson-spring-boot-starter</artifactId>
|
|
|
|
<version>${redisson.version}</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.redisson</groupId>
|
|
|
|
<artifactId>redisson-spring-data-30</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.redisson</groupId>
|
|
|
|
<artifactId>redisson-spring-data-27</artifactId>
|
|
|
|
<version>${redisson.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-json</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!--spring session-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.session</groupId>
|
|
|
|
<artifactId>spring-session-data-redis</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!--quartz-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-quartz</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!--freemarker-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-freemarker</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!--liquibase -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.liquibase</groupId>
|
|
|
|
<artifactId>liquibase-core</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!--mysql-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-j</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!--spring data elasticsearch-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-data-elasticsearch</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!--spring data jpa-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!--hibernate-types-55 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.vladmihalcea</groupId>
|
|
|
|
<artifactId>hibernate-types-55</artifactId>
|
|
|
|
<version>${hibernate-types.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.querydsl</groupId>
|
|
|
|
<artifactId>querydsl-jpa</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!--security-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!-- spring-security-rsa -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-rsa</artifactId>
|
|
|
|
<version>${spring-security-rsa.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-oauth2-client</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!--validator-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!--aop-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!-- mail-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-mail</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!--web-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-undertow</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!--actuator-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!-- processor -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<!--mapstruct-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mapstruct</groupId>
|
|
|
|
<artifactId>mapstruct</artifactId>
|
|
|
|
<version>${org.mapstruct.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.eatthepath</groupId>
|
|
|
|
<artifactId>java-otp</artifactId>
|
|
|
|
<version>${java-otp.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!--lombok-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<!--security test-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.junit.vintage</groupId>
|
|
|
|
<artifactId>junit-vintage-engine</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>dev.failsafe</groupId>
|
|
|
|
<artifactId>failsafe</artifactId>
|
|
|
|
<version>${failsafe.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- bouncycastle -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.bouncycastle</groupId>
|
|
|
|
<artifactId>bcutil-jdk15on</artifactId>
|
|
|
|
<version>${bouncycastle.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.bouncycastle</groupId>
|
|
|
|
<artifactId>bcprov-jdk15on</artifactId>
|
|
|
|
<version>1.70</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.bouncycastle</groupId>
|
|
|
|
<artifactId>bcpkix-jdk15on</artifactId>
|
|
|
|
<version>1.70</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- saml-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.opensaml</groupId>
|
|
|
|
<artifactId>opensaml-core</artifactId>
|
|
|
|
<version>${opensaml.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.opensaml</groupId>
|
|
|
|
<artifactId>opensaml-saml-api</artifactId>
|
|
|
|
<version>${opensaml.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.opensaml</groupId>
|
|
|
|
<artifactId>opensaml-saml-impl</artifactId>
|
|
|
|
<version>${opensaml.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.opensaml</groupId>
|
|
|
|
<artifactId>opensaml-messaging-api</artifactId>
|
|
|
|
<version>${opensaml.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.opensaml</groupId>
|
|
|
|
<artifactId>opensaml-messaging-impl</artifactId>
|
|
|
|
<version>${opensaml.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.opensaml</groupId>
|
|
|
|
<artifactId>opensaml-soap-api</artifactId>
|
|
|
|
<version>${opensaml.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.opensaml</groupId>
|
|
|
|
<artifactId>opensaml-soap-impl</artifactId>
|
|
|
|
<version>${opensaml.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<!-- dependencyManagement -->
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<!-- arthas-spring-boot-starter -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.taobao.arthas</groupId>
|
|
|
|
<artifactId>arthas-spring-boot-starter</artifactId>
|
|
|
|
<version>${arthas.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- spring-security-oauth2-authorization-server -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-oauth2-authorization-server</artifactId>
|
|
|
|
<version>${spring-security-oauth2-authorization-server.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
<repositories>
|
|
|
|
<!-- shibboleth-release -->
|
|
|
|
<repository>
|
|
|
|
<id>shibboleth-release</id>
|
|
|
|
<url>https://build.shibboleth.net/nexus/content/repositories/releases</url>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
<!--build-->
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<!-- jib -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.google.cloud.tools</groupId>
|
|
|
|
<artifactId>jib-maven-plugin</artifactId>
|
|
|
|
<version>${jib-maven-plugin.version}</version>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<!--license-->
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.mycila</groupId>
|
|
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
|
|
<version>${license-maven-plugin.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>remove</goal>
|
|
|
|
<goal>format</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<quiet>true</quiet>
|
|
|
|
<header>com/mycila/maven/plugin/license/templates/AGPL-3.txt</header>
|
|
|
|
<properties>
|
|
|
|
<owner>TopIAM</owner>
|
|
|
|
<year>2020-2023</year>
|
|
|
|
<email>support@topiam.cn</email>
|
|
|
|
</properties>
|
|
|
|
<excludes>
|
|
|
|
<exclude>*.sh</exclude>
|
|
|
|
<exclude>*.yml</exclude>
|
|
|
|
<exclude>*.iml</exclude>
|
|
|
|
<exclude>*.config</exclude>
|
|
|
|
<exclude>**/*.ftlh</exclude>
|
|
|
|
<exclude>.editorconfig</exclude>
|
|
|
|
<exclude>.gitignore</exclude>
|
|
|
|
<exclude>LICENSE</exclude>
|
|
|
|
<exclude>**/*.md</exclude>
|
|
|
|
<exclude>**/*.log</exclude>
|
|
|
|
<exclude>**/codestyle/HEADER</exclude>
|
|
|
|
<exclude>**/.gitkeep</exclude>
|
|
|
|
<exclude>**/spring.factories</exclude>
|
|
|
|
<exclude>**/.mvn/**</exclude>
|
|
|
|
<exclude>**/mvnw</exclude>
|
|
|
|
<exclude>**/ip2region.db</exclude>
|
|
|
|
<exclude>**/resources/template/**</exclude>
|
|
|
|
<exclude>**/node_modules/**</exclude>
|
|
|
|
<exclude>**/docs/**</exclude>
|
|
|
|
<exclude>**/dictionaries/**</exclude>
|
|
|
|
<exclude>**/static/antd.min.css</exclude>
|
|
|
|
</excludes>
|
|
|
|
<strictCheck>true</strictCheck>
|
|
|
|
<mapping>
|
|
|
|
<java>SLASHSTAR_STYLE</java>
|
|
|
|
</mapping>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<!--versions-->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>versions-maven-plugin</artifactId>
|
|
|
|
<version>${versions-maven-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<generateBackupPoms>false</generateBackupPoms>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<!--formatter-->
|
|
|
|
<plugin>
|
|
|
|
<groupId>net.revelc.code.formatter</groupId>
|
|
|
|
<artifactId>formatter-maven-plugin</artifactId>
|
|
|
|
<version>${formatter-maven-plugin.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>format</goal>
|
|
|
|
<goal>validate</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<configFile>${main.user.dir}/tools/codestyle/Formatter.xml</configFile>
|
|
|
|
<encoding>${project.encoding}</encoding>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/static/antd.min.css</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<!-- impsort -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>net.revelc.code</groupId>
|
|
|
|
<artifactId>impsort-maven-plugin</artifactId>
|
|
|
|
<version>${impsort-maven-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<compliance>${java.source.version}</compliance>
|
|
|
|
<groups>java.,javax.,org.,com.,cn.,lombok.</groups>
|
|
|
|
<staticGroups>java.,javax.,org.,com.,cn.,lombok.</staticGroups>
|
|
|
|
<!-- 允许省略静态和非静态部分之间的空白行。-->
|
|
|
|
<joinStaticWithNonStatic>false</joinStaticWithNonStatic>
|
|
|
|
<staticAfter>true</staticAfter>
|
|
|
|
<!--移除未使用-->
|
|
|
|
<removeUnused>true</removeUnused>
|
|
|
|
<treatSamePackageAsUnused>true</treatSamePackageAsUnused>
|
|
|
|
<joinStaticWithNonStatic>true</joinStaticWithNonStatic>
|
|
|
|
<treatSamePackageAsUnused>true</treatSamePackageAsUnused>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>sort-imports</id>
|
|
|
|
<goals>
|
|
|
|
<goal>sort</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<!--querydsl apt-->
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.mysema.maven</groupId>
|
|
|
|
<artifactId>apt-maven-plugin</artifactId>
|
|
|
|
<version>${apt-maven-plugin.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>process</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>target/generated-sources/java</outputDirectory>
|
|
|
|
<processor>com.querydsl.apt.jpa.JPAAnnotationProcessor</processor>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.querydsl</groupId>
|
|
|
|
<artifactId>querydsl-apt</artifactId>
|
|
|
|
<version>${querydsl.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
|
|
|
<!--compiler-->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<source>${java.source.version}</source> <!-- depending on your project -->
|
|
|
|
<target>${java.target.version}</target> <!-- depending on your project -->
|
|
|
|
<annotationProcessorPaths>
|
|
|
|
<path>
|
|
|
|
<groupId>org.mapstruct</groupId>
|
|
|
|
<artifactId>mapstruct-processor</artifactId>
|
|
|
|
<version>${org.mapstruct.version}</version>
|
|
|
|
</path>
|
|
|
|
<path>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<version>${lombok.version}</version>
|
|
|
|
</path>
|
|
|
|
<path>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok-mapstruct-binding</artifactId>
|
|
|
|
<version>${lombok-mapstruct-binding.version}</version>
|
|
|
|
</path>
|
|
|
|
<path>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
|
<version>${spring-boot.version}</version>
|
|
|
|
</path>
|
|
|
|
<!-- other annotation processors -->
|
|
|
|
</annotationProcessorPaths>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|