mirror of
				https://github.com/continew-org/continew-starter.git
				synced 2025-10-26 19:00:53 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			655 lines
		
	
	
		
			29 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			655 lines
		
	
	
		
			29 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>top.continew</groupId>
 | ||
|     <artifactId>continew-starter-dependencies</artifactId>
 | ||
|     <version>${revision}</version>
 | ||
|     <packaging>pom</packaging>
 | ||
| 
 | ||
|     <name>${project.artifactId}</name>
 | ||
|     <description>ContiNew Starter 依赖模块</description>
 | ||
| 
 | ||
|     <properties>
 | ||
|         <!-- 项目版本号 -->
 | ||
|         <revision>2.13.0-SNAPSHOT</revision>
 | ||
|         <spring-boot.version>3.3.12</spring-boot.version>
 | ||
|         <spring-cloud.version>2023.0.5</spring-cloud.version>
 | ||
|         <redisson.version>3.49.0</redisson.version>
 | ||
|         <jetcache.version>2.7.8</jetcache.version>
 | ||
|         <cosid.version>2.13.0</cosid.version>
 | ||
|         <sa-token.version>1.44.0</sa-token.version>
 | ||
|         <just-auth.version>1.16.7</just-auth.version>
 | ||
|         <mybatis-plus.version>3.5.12</mybatis-plus.version>
 | ||
|         <mybatis-flex.version>1.10.9</mybatis-flex.version>
 | ||
|         <dynamic-datasource.version>4.3.1</dynamic-datasource.version>
 | ||
|         <p6spy.version>3.9.1</p6spy.version>
 | ||
|         <snail-job.version>1.5.0</snail-job.version>
 | ||
|         <sms4j.version>3.3.5</sms4j.version>
 | ||
|         <aj-captcha.version>1.4.0</aj-captcha.version>
 | ||
|         <easy-captcha.version>1.6.2</easy-captcha.version>
 | ||
|         <nashorn.version>15.6</nashorn.version>
 | ||
|         <fastexcel.version>1.2.0</fastexcel.version>
 | ||
|         <poi.version>5.4.1</poi.version>
 | ||
|         <x-file-storage.version>2.2.1</x-file-storage.version>
 | ||
|         <aws-s3-v1.version>1.12.783</aws-s3-v1.version>
 | ||
|         <aws-sdk.version>2.31.63</aws-sdk.version>
 | ||
|         <aws-crt.version>0.38.5</aws-crt.version>
 | ||
|         <thumbnails.version>0.4.20</thumbnails.version>
 | ||
|         <graceful-response.version>5.0.5-boot3</graceful-response.version>
 | ||
|         <spel-validator.version>0.5.0-beta</spel-validator.version>
 | ||
|         <crane4j.version>2.9.0</crane4j.version>
 | ||
|         <knife4j.version>4.5.0</knife4j.version>
 | ||
|         <tlog.version>1.5.2</tlog.version>
 | ||
|         <truelicense.version>1.33</truelicense.version>
 | ||
|         <zip4j.version>2.11.5</zip4j.version>
 | ||
|         <okhttp.version>4.12.0</okhttp.version>
 | ||
|         <ttl.version>2.14.5</ttl.version>
 | ||
|         <ip2region.version>3.3.6</ip2region.version>
 | ||
|         <hutool.version>5.8.38</hutool.version>
 | ||
|         <snakeyaml.version>2.4</snakeyaml.version>
 | ||
|         <!-- 解决部分传递依赖漏洞问题 -->
 | ||
|         <commons-beanutils.version>1.11.0</commons-beanutils.version>
 | ||
|         <commons-io.version>2.17.0</commons-io.version>
 | ||
|         <commons-compress.version>1.26.0</commons-compress.version>
 | ||
|         <!-- Maven Plugin Versions -->
 | ||
|         <flatten.version>1.7.0</flatten.version>
 | ||
|         <spotless.version>2.44.3</spotless.version>
 | ||
|         <sonar.version>3.11.0.3922</sonar.version>
 | ||
|     </properties>
 | ||
| 
 | ||
|     <dependencyManagement>
 | ||
|         <dependencies>
 | ||
|             <!-- Spring Boot(由 Pivotal 团队提供的全新框架,其设计目的是用来简化新Spring应用的初始搭建以及开发过程)-->
 | ||
|             <dependency>
 | ||
|                 <groupId>org.springframework.boot</groupId>
 | ||
|                 <artifactId>spring-boot-dependencies</artifactId>
 | ||
|                 <version>${spring-boot.version}</version>
 | ||
|                 <type>pom</type>
 | ||
|                 <scope>import</scope>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- Spring Cloud(由 Pivotal 团队提供的微服务解决方案) -->
 | ||
|             <dependency>
 | ||
|                 <groupId>org.springframework.cloud</groupId>
 | ||
|                 <artifactId>spring-cloud-dependencies</artifactId>
 | ||
|                 <version>${spring-cloud.version}</version>
 | ||
|                 <type>pom</type>
 | ||
|                 <scope>import</scope>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- Redisson(不仅仅是一个 Redis Java 客户端) -->
 | ||
|             <dependency>
 | ||
|                 <groupId>org.redisson</groupId>
 | ||
|                 <artifactId>redisson-spring-boot-starter</artifactId>
 | ||
|                 <version>${redisson.version}</version>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- JetCache(基于 Java 的缓存系统封装,提供统一的 API 和注解来简化缓存的使用。提供了比 SpringCache 更加强大的注解,可以原生的支持 TTL、两级缓存、分布式自动刷新,还提供了 Cache 接口用于手工缓存操作) -->
 | ||
|             <dependency>
 | ||
|                 <groupId>com.alicp.jetcache</groupId>
 | ||
|                 <artifactId>jetcache-bom</artifactId>
 | ||
|                 <version>${jetcache.version}</version>
 | ||
|                 <type>pom</type>
 | ||
|                 <scope>import</scope>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- CosId(通用、灵活、高性能的分布式 ID 生成器) -->
 | ||
|             <dependency>
 | ||
|                 <groupId>me.ahoo.cosid</groupId>
 | ||
|                 <artifactId>cosid-bom</artifactId>
 | ||
|                 <version>${cosid.version}</version>
 | ||
|                 <type>pom</type>
 | ||
|                 <scope>import</scope>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- Sa-Token(轻量级 Java 权限认证框架,让鉴权变得简单、优雅) -->
 | ||
|             <dependency>
 | ||
|                 <groupId>cn.dev33</groupId>
 | ||
|                 <artifactId>sa-token-bom</artifactId>
 | ||
|                 <version>${sa-token.version}</version>
 | ||
|                 <type>pom</type>
 | ||
|                 <scope>import</scope>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- Just Auth(开箱即用的整合第三方登录的开源组件,脱离繁琐的第三方登录 SDK,让登录变得 So easy!) -->
 | ||
|             <dependency>
 | ||
|                 <groupId>me.zhyd.oauth</groupId>
 | ||
|                 <artifactId>JustAuth</artifactId>
 | ||
|                 <version>${just-auth.version}</version>
 | ||
|             </dependency>
 | ||
|             <dependency>
 | ||
|                 <groupId>com.xkcoding.justauth</groupId>
 | ||
|                 <artifactId>justauth-spring-boot-starter</artifactId>
 | ||
|                 <version>1.4.0</version>
 | ||
|                 <exclusions>
 | ||
|                     <exclusion>
 | ||
|                         <groupId>me.zhyd.oauth</groupId>
 | ||
|                         <artifactId>JustAuth</artifactId>
 | ||
|                     </exclusion>
 | ||
|                 </exclusions>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- MyBatis Plus(MyBatis 的增强工具,在 MyBatis 的基础上只做增强不做改变,简化开发、提高效率) -->
 | ||
|             <dependency>
 | ||
|                 <groupId>com.baomidou</groupId>
 | ||
|                 <artifactId>mybatis-plus-bom</artifactId>
 | ||
|                 <version>${mybatis-plus.version}</version>
 | ||
|                 <type>pom</type>
 | ||
|                 <scope>import</scope>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- MyBatis Flex(MyBatis 的增强工具,在 MyBatis 的基础上只做增强不做改变,简化开发、提高效率) -->
 | ||
|             <dependency>
 | ||
|                 <groupId>com.mybatis-flex</groupId>
 | ||
|                 <artifactId>mybatis-flex-dependencies</artifactId>
 | ||
|                 <version>${mybatis-flex.version}</version>
 | ||
|                 <type>pom</type>
 | ||
|                 <scope>import</scope>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- Dynamic Datasource(基于 Spring Boot 的快速集成多数据源的启动器) -->
 | ||
|             <dependency>
 | ||
|                 <groupId>com.baomidou</groupId>
 | ||
|                 <artifactId>dynamic-datasource-spring-boot3-starter</artifactId>
 | ||
|                 <version>${dynamic-datasource.version}</version>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- P6Spy(SQL 性能分析组件) -->
 | ||
|             <dependency>
 | ||
|                 <groupId>p6spy</groupId>
 | ||
|                 <artifactId>p6spy</artifactId>
 | ||
|                 <version>${p6spy.version}</version>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- SnailJob(灵活,可靠和快速的分布式任务重试和分布式任务调度平台) -->
 | ||
|             <dependency>
 | ||
|                 <groupId>com.aizuda</groupId>
 | ||
|                 <artifactId>snail-job-client-starter</artifactId>
 | ||
|                 <version>${snail-job.version}</version>
 | ||
|             </dependency>
 | ||
|             <dependency>
 | ||
|                 <groupId>com.aizuda</groupId>
 | ||
|                 <artifactId>snail-job-client-retry-core</artifactId>
 | ||
|                 <version>${snail-job.version}</version>
 | ||
|             </dependency>
 | ||
|             <dependency>
 | ||
|                 <groupId>com.aizuda</groupId>
 | ||
|                 <artifactId>snail-job-client-job-core</artifactId>
 | ||
|                 <version>${snail-job.version}</version>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- SMS4J(短信聚合框架,轻松集成多家短信服务,解决接入多个短信 SDK 的繁琐流程) -->
 | ||
|             <dependency>
 | ||
|                 <groupId>org.dromara.sms4j</groupId>
 | ||
|                 <artifactId>sms4j-spring-boot-starter</artifactId>
 | ||
|                 <version>${sms4j.version}</version>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- AJ-Captcha(行为验证码,包含滑动拼图、文字点选两种方式,UI支持弹出和嵌入两种方式) -->
 | ||
|             <dependency>
 | ||
|                 <groupId>com.anji-plus</groupId>
 | ||
|                 <artifactId>captcha</artifactId>
 | ||
|                 <version>${aj-captcha.version}</version>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- Easy Captcha(Java 图形验证码,支持 gif、中文、算术等类型,可用于 Java Web、JavaSE 等项目) -->
 | ||
|             <dependency>
 | ||
|                 <groupId>com.github.whvcse</groupId>
 | ||
|                 <artifactId>easy-captcha</artifactId>
 | ||
|                 <version>${easy-captcha.version}</version>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- JS 引擎(纯编译的 JavaScript 引擎) -->
 | ||
|             <dependency>
 | ||
|                 <groupId>org.openjdk.nashorn</groupId>
 | ||
|                 <artifactId>nashorn-core</artifactId>
 | ||
|                 <version>${nashorn.version}</version>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- FastExcel(基于 Java 的快速、简洁、解决大文件内存溢出的 Excel 处理工具) -->
 | ||
|             <dependency>
 | ||
|                 <groupId>cn.idev.excel</groupId>
 | ||
|                 <artifactId>fastexcel</artifactId>
 | ||
|                 <version>${fastexcel.version}</version>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- Apache POI(适用于 Microsoft 文档的 Java API) -->
 | ||
|             <dependency>
 | ||
|                 <groupId>org.apache.poi</groupId>
 | ||
|                 <artifactId>poi-ooxml</artifactId>
 | ||
|                 <version>${poi.version}</version>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- X File Storage(一行代码将文件存储到本地、FTP、SFTP、WebDAV、阿里云 OSS、华为云 OBS...等其它兼容 S3 协议的存储平台) -->
 | ||
|             <dependency>
 | ||
|                 <groupId>org.dromara.x-file-storage</groupId>
 | ||
|                 <artifactId>x-file-storage-spring</artifactId>
 | ||
|                 <version>${x-file-storage.version}</version>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- Amazon S3(Amazon Simple Storage Service,亚马逊简单存储服务,通用存储协议 S3,兼容主流云厂商对象存储) -->
 | ||
|             <dependency>
 | ||
|                 <groupId>com.amazonaws</groupId>
 | ||
|                 <artifactId>aws-java-sdk-s3</artifactId>
 | ||
|                 <version>${aws-s3-v1.version}</version>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- Amazon SDK -->
 | ||
|             <dependency>
 | ||
|                 <groupId>software.amazon.awssdk</groupId>
 | ||
|                 <artifactId>bom</artifactId>
 | ||
|                 <version>${aws-sdk.version}</version>
 | ||
|                 <type>pom</type>
 | ||
|                 <scope>import</scope>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- 使用 AWS 基于 CRT 的 S3 客户端 -->
 | ||
|             <dependency>
 | ||
|                 <groupId>software.amazon.awssdk.crt</groupId>
 | ||
|                 <artifactId>aws-crt</artifactId>
 | ||
|                 <version>${aws-crt.version}</version>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- Thumbnailator(缩略图生成库) -->
 | ||
|             <dependency>
 | ||
|                 <groupId>net.coobird</groupId>
 | ||
|                 <artifactId>thumbnailator</artifactId>
 | ||
|                 <version>${thumbnails.version}</version>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- Graceful Response(Spring Boot技术栈下的优雅响应处理组件,可以帮助开发者完成响应数据封装、异常处理、错误码填充等过程,提高开发效率,提高代码质量) -->
 | ||
|             <dependency>
 | ||
|                 <groupId>com.feiniaojin</groupId>
 | ||
|                 <artifactId>graceful-response</artifactId>
 | ||
|                 <version>${graceful-response.version}</version>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- SpEL Validator(基于 SpEL 的 jakarta.validation-api 扩展增强包) -->
 | ||
|             <dependency>
 | ||
|                 <groupId>cn.sticki</groupId>
 | ||
|                 <artifactId>spel-validator-javax</artifactId>
 | ||
|                 <version>${spel-validator.version}</version>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- Crane4j(基于注解的,用于完成一切 “根据 A 的 key 值拿到 B,再把 B 的属性映射到 A” 这类需求的字段填充框架) -->
 | ||
|             <dependency>
 | ||
|                 <groupId>cn.crane4j</groupId>
 | ||
|                 <artifactId>crane4j-spring-boot-starter</artifactId>
 | ||
|                 <version>${crane4j.version}</version>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- Knife4j(前身是 swagger-bootstrap-ui,集 Swagger2 和 OpenAPI3 为一体的增强解决方案) -->
 | ||
|             <dependency>
 | ||
|                 <groupId>com.github.xiaoymin</groupId>
 | ||
|                 <artifactId>knife4j-dependencies</artifactId>
 | ||
|                 <version>${knife4j.version}</version>
 | ||
|                 <type>pom</type>
 | ||
|                 <scope>import</scope>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- TLog(轻量级的分布式日志标记追踪神器) -->
 | ||
|             <dependency>
 | ||
|                 <groupId>com.yomahub</groupId>
 | ||
|                 <artifactId>tlog-web-spring-boot-starter</artifactId>
 | ||
|                 <version>${tlog.version}</version>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- TrueLicense (开源的证书管理引擎) -->
 | ||
|             <dependency>
 | ||
|                 <groupId>de.schlichtherle.truelicense</groupId>
 | ||
|                 <artifactId>truelicense-core</artifactId>
 | ||
|                 <version>${truelicense.version}</version>
 | ||
|             </dependency>
 | ||
|             <!-- Zip4j (开源的 Java 处理 zip 压缩文件的开发包) -->
 | ||
|             <dependency>
 | ||
|                 <groupId>net.lingala.zip4j</groupId>
 | ||
|                 <artifactId>zip4j</artifactId>
 | ||
|                 <version>${zip4j.version}</version>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- OkHTTP(默认高效的 HTTP 客户端) -->
 | ||
|             <dependency>
 | ||
|                 <groupId>com.squareup.okhttp3</groupId>
 | ||
|                 <artifactId>okhttp</artifactId>
 | ||
|                 <version>${okhttp.version}</version>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- TTL(线程间传递 ThreadLocal,异步执行时上下文传递的解决方案) -->
 | ||
|             <dependency>
 | ||
|                 <groupId>com.alibaba</groupId>
 | ||
|                 <artifactId>transmittable-thread-local</artifactId>
 | ||
|                 <version>${ttl.version}</version>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- 第三方封装 Ip2region(离线 IP 数据管理框架和定位库,支持亿级别的数据段,10 微秒级别的查询性能,提供了许多主流编程语言的 xdb 数据管理引擎的实现) -->
 | ||
|             <dependency>
 | ||
|                 <groupId>net.dreamlu</groupId>
 | ||
|                 <artifactId>mica-ip2region</artifactId>
 | ||
|                 <version>${ip2region.version}</version>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- Hutool(小而全的 Java 工具类库,通过静态方法封装,降低相关 API 的学习成本,提高工作效率,使 Java 拥有函数式语言般的优雅,让 Java 语言也可以“甜甜的”) -->
 | ||
|             <dependency>
 | ||
|                 <groupId>cn.hutool</groupId>
 | ||
|                 <artifactId>hutool-bom</artifactId>
 | ||
|                 <version>${hutool.version}</version>
 | ||
|                 <type>pom</type>
 | ||
|                 <scope>import</scope>
 | ||
|             </dependency>
 | ||
|             <dependency>
 | ||
|                 <groupId>cn.hutool</groupId>
 | ||
|                 <artifactId>hutool-all</artifactId>
 | ||
|                 <version>${hutool.version}</version>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- SnakeYAML(适用于 Java 的 YAML 1.1 解析器和发射器) -->
 | ||
|             <dependency>
 | ||
|                 <groupId>org.yaml</groupId>
 | ||
|                 <artifactId>snakeyaml</artifactId>
 | ||
|                 <version>${snakeyaml.version}</version>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- 解决部分传递依赖漏洞问题 -->
 | ||
|             <dependency>
 | ||
|                 <groupId>commons-beanutils</groupId>
 | ||
|                 <artifactId>commons-beanutils</artifactId>
 | ||
|                 <version>${commons-beanutils.version}</version>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <dependency>
 | ||
|                 <groupId>commons-io</groupId>
 | ||
|                 <artifactId>commons-io</artifactId>
 | ||
|                 <version>${commons-io.version}</version>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <dependency>
 | ||
|                 <groupId>org.apache.commons</groupId>
 | ||
|                 <artifactId>commons-compress</artifactId>
 | ||
|                 <version>${commons-compress.version}</version>
 | ||
|             </dependency>
 | ||
| 
 | ||
|             <!-- ContiNew Starter 依赖 -->
 | ||
|             <dependency>
 | ||
|                 <groupId>top.continew</groupId>
 | ||
|                 <artifactId>continew-starter-bom</artifactId>
 | ||
|                 <version>${revision}</version>
 | ||
|                 <type>pom</type>
 | ||
|                 <scope>import</scope>
 | ||
|             </dependency>
 | ||
|         </dependencies>
 | ||
|     </dependencyManagement>
 | ||
| 
 | ||
|     <build>
 | ||
|         <plugins>
 | ||
|             <!-- 统一版本号插件 -->
 | ||
|             <plugin>
 | ||
|                 <groupId>org.codehaus.mojo</groupId>
 | ||
|                 <artifactId>flatten-maven-plugin</artifactId>
 | ||
|                 <inherited>false</inherited>
 | ||
|                 <executions>
 | ||
|                     <execution>
 | ||
|                         <!-- Create an effective POM (with versions expanded) for the CLI and documentation -->
 | ||
|                         <id>flatten-effective-pom</id>
 | ||
|                         <phase>process-resources</phase>
 | ||
|                         <goals>
 | ||
|                             <goal>flatten</goal>
 | ||
|                         </goals>
 | ||
|                         <configuration>
 | ||
|                             <updatePomFile>false</updatePomFile>
 | ||
|                             <outputDirectory>${project.build.directory}/effective-pom</outputDirectory>
 | ||
|                             <flattenedPomFilename>continew-starter-dependencies.xml</flattenedPomFilename>
 | ||
|                             <flattenMode>oss</flattenMode>
 | ||
|                             <pomElements>
 | ||
|                                 <dependencyManagement>expand</dependencyManagement>
 | ||
|                                 <pluginManagement>expand</pluginManagement>
 | ||
|                                 <properties>remove</properties>
 | ||
|                                 <repositories>remove</repositories>
 | ||
|                             </pomElements>
 | ||
|                         </configuration>
 | ||
|                     </execution>
 | ||
|                     <execution>
 | ||
|                         <!-- Flatten and simplify our own POM for install/deploy -->
 | ||
|                         <id>flatten</id>
 | ||
|                         <phase>process-resources</phase>
 | ||
|                         <goals>
 | ||
|                             <goal>flatten</goal>
 | ||
|                         </goals>
 | ||
|                         <configuration>
 | ||
|                             <updatePomFile>true</updatePomFile>
 | ||
|                             <flattenMode>bom</flattenMode>
 | ||
|                             <pomElements>
 | ||
|                                 <parent>expand</parent>
 | ||
|                                 <properties>keep</properties>
 | ||
|                                 <pluginManagement>keep</pluginManagement>
 | ||
|                                 <repositories>remove</repositories>
 | ||
|                             </pomElements>
 | ||
|                         </configuration>
 | ||
|                     </execution>
 | ||
|                     <execution>
 | ||
|                         <id>flatten-clean</id>
 | ||
|                         <phase>clean</phase>
 | ||
|                         <goals>
 | ||
|                             <goal>clean</goal>
 | ||
|                         </goals>
 | ||
|                     </execution>
 | ||
|                 </executions>
 | ||
|             </plugin>
 | ||
|             <plugin>
 | ||
|                 <groupId>org.codehaus.mojo</groupId>
 | ||
|                 <artifactId>xml-maven-plugin</artifactId>
 | ||
|                 <inherited>false</inherited>
 | ||
|                 <executions>
 | ||
|                     <execution>
 | ||
|                         <!-- Cleanup the effective POM -->
 | ||
|                         <id>post-process-effective-pom</id>
 | ||
|                         <phase>process-resources</phase>
 | ||
|                         <goals>
 | ||
|                             <goal>transform</goal>
 | ||
|                         </goals>
 | ||
|                         <configuration>
 | ||
|                             <transformationSets>
 | ||
|                                 <transformationSet>
 | ||
|                                     <dir>${project.build.directory}/effective-pom</dir>
 | ||
|                                     <outputDir>${project.build.directory}/effective-pom</outputDir>
 | ||
|                                     <stylesheet>src/main/xslt/post-process-flattened-pom.xsl</stylesheet>
 | ||
|                                     <outputProperties>
 | ||
|                                         <outputProperty>
 | ||
|                                             <name>indent</name>
 | ||
|                                             <value>yes</value>
 | ||
|                                         </outputProperty>
 | ||
|                                     </outputProperties>
 | ||
|                                 </transformationSet>
 | ||
|                             </transformationSets>
 | ||
|                         </configuration>
 | ||
|                     </execution>
 | ||
|                     <execution>
 | ||
|                         <!-- Cleanup the flattened project POM -->
 | ||
|                         <id>post-process-flattened-pom</id>
 | ||
|                         <phase>process-resources</phase>
 | ||
|                         <goals>
 | ||
|                             <goal>transform</goal>
 | ||
|                         </goals>
 | ||
|                         <configuration>
 | ||
|                             <transformationSets>
 | ||
|                                 <transformationSet>
 | ||
|                                     <dir>${project.basedir}</dir>
 | ||
|                                     <outputDir>${project.basedir}</outputDir>
 | ||
|                                     <includes>.flattened-pom.xml</includes>
 | ||
|                                     <stylesheet>src/main/xslt/post-process-flattened-pom.xsl</stylesheet>
 | ||
|                                     <outputProperties>
 | ||
|                                         <outputProperty>
 | ||
|                                             <name>indent</name>
 | ||
|                                             <value>yes</value>
 | ||
|                                         </outputProperty>
 | ||
|                                     </outputProperties>
 | ||
|                                 </transformationSet>
 | ||
|                             </transformationSets>
 | ||
|                         </configuration>
 | ||
|                     </execution>
 | ||
|                 </executions>
 | ||
|             </plugin>
 | ||
|             <plugin>
 | ||
|                 <groupId>org.codehaus.mojo</groupId>
 | ||
|                 <artifactId>build-helper-maven-plugin</artifactId>
 | ||
|                 <inherited>false</inherited>
 | ||
|                 <executions>
 | ||
|                     <execution>
 | ||
|                         <!-- Attach effective POM -->
 | ||
|                         <id>attach-artifacts</id>
 | ||
|                         <phase>package</phase>
 | ||
|                         <goals>
 | ||
|                             <goal>attach-artifact</goal>
 | ||
|                         </goals>
 | ||
|                         <configuration>
 | ||
|                             <artifacts>
 | ||
|                                 <artifact>
 | ||
|                                     <file>${project.build.directory}/effective-pom/continew-starter-dependencies.xml
 | ||
|                                     </file>
 | ||
|                                     <type>effective-pom</type>
 | ||
|                                 </artifact>
 | ||
|                             </artifacts>
 | ||
|                         </configuration>
 | ||
|                     </execution>
 | ||
|                 </executions>
 | ||
|             </plugin>
 | ||
|         </plugins>
 | ||
|         <pluginManagement>
 | ||
|             <plugins>
 | ||
|                 <!-- 统一版本号插件 -->
 | ||
|                 <plugin>
 | ||
|                     <groupId>org.codehaus.mojo</groupId>
 | ||
|                     <artifactId>flatten-maven-plugin</artifactId>
 | ||
|                     <version>${flatten.version}</version>
 | ||
|                 </plugin>
 | ||
|                 <!-- 代码格式化插件 -->
 | ||
|                 <plugin>
 | ||
|                     <groupId>com.diffplug.spotless</groupId>
 | ||
|                     <artifactId>spotless-maven-plugin</artifactId>
 | ||
|                     <version>${spotless.version}</version>
 | ||
|                 </plugin>
 | ||
|                 <!-- Sonar 代码质量分析插件 -->
 | ||
|                 <plugin>
 | ||
|                     <groupId>org.sonarsource.scanner.maven</groupId>
 | ||
|                     <artifactId>sonar-maven-plugin</artifactId>
 | ||
|                     <version>${sonar.version}</version>
 | ||
|                 </plugin>
 | ||
|             </plugins>
 | ||
|         </pluginManagement>
 | ||
|     </build>
 | ||
| 
 | ||
|     <profiles>
 | ||
|         <profile>
 | ||
|             <id>release</id>
 | ||
|             <build>
 | ||
|                 <plugins>
 | ||
|                     <plugin>
 | ||
|                         <groupId>org.apache.maven.plugins</groupId>
 | ||
|                         <artifactId>maven-source-plugin</artifactId>
 | ||
|                         <executions>
 | ||
|                             <execution>
 | ||
|                                 <phase>package</phase>
 | ||
|                                 <goals>
 | ||
|                                     <goal>jar-no-fork</goal>
 | ||
|                                 </goals>
 | ||
|                             </execution>
 | ||
|                         </executions>
 | ||
|                     </plugin>
 | ||
|                     <plugin>
 | ||
|                         <groupId>org.apache.maven.plugins</groupId>
 | ||
|                         <artifactId>maven-javadoc-plugin</artifactId>
 | ||
|                         <executions>
 | ||
|                             <execution>
 | ||
|                                 <phase>package</phase>
 | ||
|                                 <goals>
 | ||
|                                     <goal>jar</goal>
 | ||
|                                 </goals>
 | ||
|                             </execution>
 | ||
|                         </executions>
 | ||
|                     </plugin>
 | ||
|                     <plugin>
 | ||
|                         <groupId>org.apache.maven.plugins</groupId>
 | ||
|                         <artifactId>maven-gpg-plugin</artifactId>
 | ||
|                         <version>3.1.0</version>
 | ||
|                         <executions>
 | ||
|                             <execution>
 | ||
|                                 <phase>verify</phase>
 | ||
|                                 <goals>
 | ||
|                                     <goal>sign</goal>
 | ||
|                                 </goals>
 | ||
|                             </execution>
 | ||
|                         </executions>
 | ||
|                     </plugin>
 | ||
|                     <plugin>
 | ||
|                         <groupId>org.sonatype.central</groupId>
 | ||
|                         <artifactId>central-publishing-maven-plugin</artifactId>
 | ||
|                         <version>0.4.0</version>
 | ||
|                         <extensions>true</extensions>
 | ||
|                         <configuration>
 | ||
|                             <publishingServerId>central</publishingServerId>
 | ||
|                             <tokenAuth>true</tokenAuth>
 | ||
|                         </configuration>
 | ||
|                     </plugin>
 | ||
|                 </plugins>
 | ||
|             </build>
 | ||
|         </profile>
 | ||
|         <!-- Sonar 代码质量分析 -->
 | ||
|         <profile>
 | ||
|             <id>sonar</id>
 | ||
|             <properties>
 | ||
|                 <sonar.host.url>https://sonarcloud.io</sonar.host.url>
 | ||
|                 <sonar.organization>charles7c</sonar.organization>
 | ||
|                 <sonar.projectKey>Charles7c_continew-starter</sonar.projectKey>
 | ||
|                 <sonar.moduleKey>${project.groupId}:${project.artifactId}</sonar.moduleKey>
 | ||
|             </properties>
 | ||
|             <activation>
 | ||
|                 <activeByDefault>false</activeByDefault>
 | ||
|             </activation>
 | ||
|             <build>
 | ||
|                 <plugins>
 | ||
|                     <plugin>
 | ||
|                         <groupId>org.sonarsource.scanner.maven</groupId>
 | ||
|                         <artifactId>sonar-maven-plugin</artifactId>
 | ||
|                         <version>${sonar.version}</version>
 | ||
|                         <executions>
 | ||
|                             <execution>
 | ||
|                                 <phase>verify</phase>
 | ||
|                                 <goals>
 | ||
|                                     <goal>sonar</goal>
 | ||
|                                 </goals>
 | ||
|                             </execution>
 | ||
|                         </executions>
 | ||
|                     </plugin>
 | ||
|                 </plugins>
 | ||
|             </build>
 | ||
|         </profile>
 | ||
|     </profiles>
 | ||
| 
 | ||
|     <url>https://github.com/continew-org/continew-starter</url>
 | ||
|     <licenses>
 | ||
|         <license>
 | ||
|             <name>GNU LESSER GENERAL PUBLIC LICENSE</name>
 | ||
|             <url>https://www.gnu.org/licenses/lgpl.html</url>
 | ||
|         </license>
 | ||
|     </licenses>
 | ||
|     <developers>
 | ||
|         <developer>
 | ||
|             <id>charles7c</id>
 | ||
|             <name>Charles7c</name>
 | ||
|             <email>charles7c@126.com</email>
 | ||
|             <roles>
 | ||
|                 <role>Creator</role>
 | ||
|                 <role>Java Development Engineer</role>
 | ||
|             </roles>
 | ||
|             <timezone>+8</timezone>
 | ||
|             <url>https://github.com/Charles7c</url>
 | ||
|         </developer>
 | ||
|     </developers>
 | ||
|     <scm>
 | ||
|         <connection>scm:git:git@github.com:continew-org/continew-starter.git</connection>
 | ||
|         <developerConnection>scm:git:git@github.com:continew-org/continew-starter.git</developerConnection>
 | ||
|         <url>https://github.com/continew-org/continew-starter</url>
 | ||
|     </scm>
 | ||
| </project> |