690 lines
21 KiB
XML
690 lines
21 KiB
XML
<?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.hccake</groupId>
|
|
<artifactId>ballcat-dependencies</artifactId>
|
|
<version>${revision}</version>
|
|
<packaging>pom</packaging>
|
|
|
|
<name>Ballcat Dependencies</name>
|
|
<description>Ballcat Dependencies</description>
|
|
<url>https://github.com/hccake/ballcat</url>
|
|
|
|
<developers>
|
|
<developer>
|
|
<name>hccake</name>
|
|
<email>chengbohua@foxmail.com</email>
|
|
</developer>
|
|
</developers>
|
|
|
|
<scm>
|
|
<url>https://github.com/hccake/ballcat</url>
|
|
<connection>https://github.com/hccake/ballcat.git</connection>
|
|
<developerConnection>https://github.com/hccake</developerConnection>
|
|
</scm>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>MIT License</name>
|
|
<url>http://www.opensource.org/licenses/mit-license.php</url>
|
|
<distribution>repo</distribution>
|
|
</license>
|
|
</licenses>
|
|
|
|
<properties>
|
|
<revision>0.4.0</revision>
|
|
|
|
<nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>
|
|
<maven-release-plugin.version>3.0.0-M1</maven-release-plugin.version>
|
|
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
|
|
<flatten-maven-plugin.version>1.2.7</flatten-maven-plugin.version>
|
|
<spring-javaformat-checkstyle.version>0.0.28</spring-javaformat-checkstyle.version>
|
|
|
|
<spring-boot.version>2.5.5</spring-boot.version>
|
|
<spring-security-oauth2.version>2.3.8.RELEASE</spring-security-oauth2.version>
|
|
<springfox.version>3.0.0</springfox.version>
|
|
<swagger.version>1.5.21</swagger.version>
|
|
<knife4j.version>2.0.9</knife4j.version>
|
|
<kafka.version>2.5.0</kafka.version>
|
|
<hutool.version>5.7.12</hutool.version>
|
|
<fastjson.version>1.2.76</fastjson.version>
|
|
<mybatis-plus.version>3.4.3.4</mybatis-plus.version>
|
|
<mybatis.version>3.5.7</mybatis.version>
|
|
<jsqlparser.version>4.2</jsqlparser.version>
|
|
<dynamic-datasource.version>3.4.1</dynamic-datasource.version>
|
|
<xxl-job.version>2.3.0</xxl-job.version>
|
|
<spring-boot-admin.version>2.5.1</spring-boot-admin.version>
|
|
<easyexcel.version>2.2.10</easyexcel.version>
|
|
<poi.version>4.1.2</poi.version>
|
|
<jasypt.version>3.0.3</jasypt.version>
|
|
<jsoup.version>1.14.2</jsoup.version>
|
|
<anji-captcha.version>1.2.9</anji-captcha.version>
|
|
<virtual-currency.version>0.4.2</virtual-currency.version>
|
|
<alipay-sdk.version>4.11.28.ALL</alipay-sdk.version>
|
|
<software.amazon.awssdk.version>2.16.61</software.amazon.awssdk.version>
|
|
</properties>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
<version>${spring-boot.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<!-- 亚马逊云 Java sdk -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>bom</artifactId>
|
|
<version>${software.amazon.awssdk.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.security.oauth</groupId>
|
|
<artifactId>spring-security-oauth2</artifactId>
|
|
<version>${spring-security-oauth2.version}</version>
|
|
</dependency>
|
|
<!--web 模块-->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
<version>${spring-boot.version}</version>
|
|
<exclusions>
|
|
<!--排除tomcat依赖-->
|
|
<exclusion>
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
<groupId>org.springframework.boot</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
|
|
<!-- ballcat 自身模块版本 -->
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-admin-core</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-admin-websocket</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-common-core</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-common-desensitize</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-common-i18n</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-common-idempotent</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-common-log</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-common-model</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-common-redis</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-common-security</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-common-util</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-common-websocket</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<!-- ballcat-stater -->
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-spring-boot-starter-web</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-spring-boot-starter-datascope</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-spring-boot-starter-dingtalk</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-spring-boot-starter-easyexcel</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-spring-boot-starter-i18n</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-spring-boot-starter-job</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-spring-boot-starter-kafka</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-spring-boot-starter-log</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-spring-boot-starter-mail</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-spring-boot-starter-redis</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-spring-boot-starter-sms</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-spring-boot-starter-oss</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-spring-boot-starter-swagger</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-spring-boot-starter-websocket</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-spring-boot-starter-pay</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-spring-boot-starter-xss</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-admin-i18n</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<!-- extends -->
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-extend-dingtalk</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-extend-mybatis-plus</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-extend-kafka</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-extend-kafka-stream</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-extend-pay-virtual</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-extend-pay-ali</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-extend-pay-wx</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<!-- system 系统模块 -->
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-system-controller</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-system-biz</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-system-model</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<!-- auth 授权模块 -->
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-auth-controller</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-auth-biz</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<!-- notify 通知模块 -->
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-notify-controller</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-notify-biz</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-notify-model</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<!-- log 日志模块 -->
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-log-controller</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-log-biz</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-log-model</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<!-- i18n 国际化模块 -->
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-i18n-controller</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-i18n-biz</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hccake</groupId>
|
|
<artifactId>ballcat-i18n-model</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
|
|
<!--swagger注解-->
|
|
<dependency>
|
|
<groupId>io.swagger</groupId>
|
|
<artifactId>swagger-annotations</artifactId>
|
|
<version>${swagger.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.swagger</groupId>
|
|
<artifactId>swagger-models</artifactId>
|
|
<version>${swagger.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.springfox</groupId>
|
|
<artifactId>springfox-swagger2</artifactId>
|
|
<version>${springfox.version}</version>
|
|
</dependency>
|
|
<!-- springfox swagger ui -->
|
|
<dependency>
|
|
<groupId>io.springfox</groupId>
|
|
<artifactId>springfox-swagger-ui</artifactId>
|
|
<version>${springfox.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.springfox</groupId>
|
|
<artifactId>springfox-boot-starter</artifactId>
|
|
<version>${springfox.version}</version>
|
|
</dependency>
|
|
<!-- swagger 增强版 ui -->
|
|
<dependency>
|
|
<groupId>com.github.xiaoymin</groupId>
|
|
<artifactId>knife4j-spring-ui</artifactId>
|
|
<version>${knife4j.version}</version>
|
|
</dependency>
|
|
|
|
|
|
<!--xxl-job-->
|
|
<dependency>
|
|
<groupId>com.xuxueli</groupId>
|
|
<artifactId>xxl-job-core</artifactId>
|
|
<version>${xxl-job.version}</version>
|
|
</dependency>
|
|
<!-- mybatis -->
|
|
<dependency>
|
|
<groupId>org.mybatis</groupId>
|
|
<artifactId>mybatis</artifactId>
|
|
<version>${mybatis.version}</version>
|
|
</dependency>
|
|
<!-- jsqlparser -->
|
|
<dependency>
|
|
<groupId>com.github.jsqlparser</groupId>
|
|
<artifactId>jsqlparser</artifactId>
|
|
<version>${jsqlparser.version}</version>
|
|
</dependency>
|
|
<!--mybatis plus extension,包含了mybatis plus core-->
|
|
<dependency>
|
|
<groupId>com.baomidou</groupId>
|
|
<artifactId>mybatis-plus-extension</artifactId>
|
|
<version>${mybatis-plus.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.baomidou</groupId>
|
|
<artifactId>mybatis-plus-core</artifactId>
|
|
<version>${mybatis-plus.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.baomidou</groupId>
|
|
<artifactId>mybatis-plus-annotation</artifactId>
|
|
<version>${mybatis-plus.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.baomidou</groupId>
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
<version>${mybatis-plus.version}</version>
|
|
</dependency>
|
|
<!--动态数据源-->
|
|
<dependency>
|
|
<groupId>com.baomidou</groupId>
|
|
<artifactId>dynamic-datasource-spring-boot-starter</artifactId>
|
|
<version>${dynamic-datasource.version}</version>
|
|
</dependency>
|
|
<!--easyExcel 处理-->
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>easyexcel</artifactId>
|
|
<version>${easyexcel.version}</version>
|
|
</dependency>
|
|
<!--poi 依赖 处理-->
|
|
<dependency>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>poi-ooxml</artifactId>
|
|
<version>${poi.version}</version>
|
|
</dependency>
|
|
<!--监控server端-->
|
|
<dependency>
|
|
<groupId>de.codecentric</groupId>
|
|
<artifactId>spring-boot-admin-starter-server</artifactId>
|
|
<version>${spring-boot-admin.version}</version>
|
|
</dependency>
|
|
<!--监控Client-->
|
|
<dependency>
|
|
<groupId>de.codecentric</groupId>
|
|
<artifactId>spring-boot-admin-starter-client</artifactId>
|
|
<version>${spring-boot-admin.version}</version>
|
|
</dependency>
|
|
<!--hutool工具类-->
|
|
<dependency>
|
|
<groupId>cn.hutool</groupId>
|
|
<artifactId>hutool-core</artifactId>
|
|
<version>${hutool.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>cn.hutool</groupId>
|
|
<artifactId>hutool-http</artifactId>
|
|
<version>${hutool.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>cn.hutool</groupId>
|
|
<artifactId>hutool-crypto</artifactId>
|
|
<version>${hutool.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>cn.hutool</groupId>
|
|
<artifactId>hutool-extra</artifactId>
|
|
<version>${hutool.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>cn.hutool</groupId>
|
|
<artifactId>hutool-cache</artifactId>
|
|
<version>${hutool.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>cn.hutool</groupId>
|
|
<artifactId>hutool-json</artifactId>
|
|
<version>${hutool.version}</version>
|
|
</dependency>
|
|
<!-- fastjson -->
|
|
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>fastjson</artifactId>
|
|
<version>${fastjson.version}</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<!--配置文件加密-->
|
|
<dependency>
|
|
<groupId>com.github.ulisesbocchio</groupId>
|
|
<artifactId>jasypt-spring-boot-starter</artifactId>
|
|
<version>${jasypt.version}</version>
|
|
</dependency>
|
|
<!--kafka MQ-->
|
|
<dependency>
|
|
<groupId>org.apache.kafka</groupId>
|
|
<artifactId>kafka_2.12</artifactId>
|
|
<version>${kafka.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.kafka</groupId>
|
|
<artifactId>kafka-clients</artifactId>
|
|
<version>${kafka.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.kafka</groupId>
|
|
<artifactId>kafka-streams</artifactId>
|
|
<version>${kafka.version}</version>
|
|
</dependency>
|
|
<!--jsoup-->
|
|
<dependency>
|
|
<groupId>org.jsoup</groupId>
|
|
<artifactId>jsoup</artifactId>
|
|
<version>${jsoup.version}</version>
|
|
</dependency>
|
|
<!-- 虚拟货币处理 -->
|
|
<dependency>
|
|
<groupId>live.lingting</groupId>
|
|
<artifactId>virtual-currency-all</artifactId>
|
|
<version>${virtual-currency.version}</version>
|
|
</dependency>
|
|
<!-- 图形验证码 -->
|
|
<dependency>
|
|
<groupId>com.anji-plus</groupId>
|
|
<artifactId>captcha</artifactId>
|
|
<version>${anji-captcha.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.anji-plus</groupId>
|
|
<artifactId>spring-boot-starter-captcha</artifactId>
|
|
<version>${anji-captcha.version}</version>
|
|
</dependency>
|
|
<!-- 支付宝支付 -->
|
|
<dependency>
|
|
<groupId>com.alipay.sdk</groupId>
|
|
<artifactId>alipay-sdk-java</artifactId>
|
|
<version>${alipay-sdk.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<distributionManagement>
|
|
<snapshotRepository>
|
|
<id>ossrh</id>
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
|
</snapshotRepository>
|
|
<repository>
|
|
<id>ossrh</id>
|
|
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>flatten-maven-plugin</artifactId>
|
|
<version>${flatten-maven-plugin.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
|
<version>${nexus-staging-maven-plugin.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
<version>${maven-release-plugin.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<version>${maven-gpg-plugin.version}</version>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>io.spring.javaformat</groupId>
|
|
<artifactId>spring-javaformat-maven-plugin</artifactId>
|
|
<version>${spring-javaformat-checkstyle.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>validate</phase>
|
|
<inherited>true</inherited>
|
|
<goals>
|
|
<goal>validate</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>flatten-maven-plugin</artifactId>
|
|
<version>${flatten-maven-plugin.version}</version>
|
|
<configuration>
|
|
<updatePomFile>true</updatePomFile>
|
|
<flattenMode>resolveCiFriendliesOnly</flattenMode>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>flatten</id>
|
|
<phase>process-resources</phase>
|
|
<goals>
|
|
<goal>flatten</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>flatten.clean</id>
|
|
<phase>clean</phase>
|
|
<goals>
|
|
<goal>clean</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
|
|
<!--环境变量-->
|
|
<profiles>
|
|
<profile>
|
|
<id>ossrh</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
|
<version>${nexus-staging-maven-plugin.version}</version>
|
|
<extensions>true</extensions>
|
|
<configuration>
|
|
<serverId>ossrh</serverId>
|
|
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
|
<!--<autoReleaseAfterClose>true</autoReleaseAfterClose>-->
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
<version>${maven-release-plugin.version}</version>
|
|
<configuration>
|
|
<autoVersionSubmodules>true</autoVersionSubmodules>
|
|
<useReleaseProfile>false</useReleaseProfile>
|
|
<releaseProfiles>release</releaseProfiles>
|
|
<goals>deploy</goals>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<version>${maven-gpg-plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>sign-artifacts</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>sign</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
</project>
|