mirror of
https://gitee.com/battcn/wemirr-platform.git
synced 2026-05-06 16:50:28 +08:00
506 lines
22 KiB
XML
506 lines
22 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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.wemirr</groupId>
|
|
<artifactId>wemirr-platform-dependencies</artifactId>
|
|
<version>4.0.0-SNAPSHOT</version>
|
|
<packaging>pom</packaging>
|
|
<name>wemirr-platform-dependencies</name>
|
|
<description>wemirr 平台包版本管理</description>
|
|
|
|
<properties>
|
|
<!-- 打包跳过单元测试 -->
|
|
<skipTests>true</skipTests>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<java.version>21</java.version>
|
|
<jdk.version>21</jdk.version>
|
|
<maven.compiler.source>21</maven.compiler.source>
|
|
<maven.compiler.target>21</maven.compiler.target>
|
|
<maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>
|
|
<maven-resources-plugin.version>3.3.1</maven-resources-plugin.version>
|
|
<maven-source-plugin.version>3.3.0</maven-source-plugin.version>
|
|
<maven-javadoc-plugin.version>3.5.0</maven-javadoc-plugin.version>
|
|
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
|
|
<maven-checkstyle-plugin.version>3.2.1</maven-checkstyle-plugin.version>
|
|
<spotless-maven-plugin.version>2.22.1</spotless-maven-plugin.version>
|
|
<spring-ai.version>1.1.2</spring-ai.version>
|
|
<!-- Spring Boot 相关 版本-->
|
|
<spring-boot-admin.version>4.0.2</spring-boot-admin.version>
|
|
<spring-boot.version>4.0.3</spring-boot.version>
|
|
<spring-cloud.version>2025.1.0</spring-cloud.version>
|
|
<spring-cloud-alibaba.version>2025.1.0.0</spring-cloud-alibaba.version>
|
|
<!-- DB 相关 -->
|
|
<mybatis-plus.version>3.5.16</mybatis-plus.version>
|
|
<dynamic-datasource.version>4.5.0</dynamic-datasource.version>
|
|
<mysql.version>9.1.0</mysql.version>
|
|
<redisson.version>4.3.0</redisson.version>
|
|
<!-- 文件存储:spring7后替换成 rustfs -->
|
|
<minio.version>8.5.11</minio.version>
|
|
<aliyun-sdk-oss.version>3.18.3</aliyun-sdk-oss.version>
|
|
<qiniu-java-sdk.version>7.19.0</qiniu-java-sdk.version>
|
|
<cos_api.version>5.6.191</cos_api.version>
|
|
<x-file-storage-spring.version>2.3.0</x-file-storage-spring.version>
|
|
<aws-java-sdk-s3.version>1.12.429</aws-java-sdk-s3.version>
|
|
<!-- 工具包 -->
|
|
<guava.version>33.5.0-jre</guava.version>
|
|
<hutool.version>5.8.42</hutool.version>
|
|
<springdoc-openapi.version>1.8.0</springdoc-openapi.version>
|
|
<knife4j.version>4.6.0</knife4j.version>
|
|
<knife4j-springdoc-ui.version>3.0.3</knife4j-springdoc-ui.version>
|
|
<transmittable.version>2.14.5</transmittable.version>
|
|
<!-- D-ORM依赖 -->
|
|
<anyline.version>8.7.3-jdk21-20251120</anyline.version>
|
|
<!-- 自定义SDK版本 -->
|
|
<wemirr-platform.version>4.0.0-SNAPSHOT</wemirr-platform.version>
|
|
<jakarta-validation.version>3.1.0</jakarta-validation.version>
|
|
<sa-token.version>1.45.0</sa-token.version>
|
|
<warm-flow.version>1.8.5-m2</warm-flow.version>
|
|
<!-- LangChain4j 相关版本 -->
|
|
<langchain4j.version>1.9.1</langchain4j.version>
|
|
<langchain4j.community.version>1.9.1-beta17</langchain4j.community.version>
|
|
<langgraph4j.version>1.6.0-beta3</langgraph4j.version>
|
|
</properties>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<!-- 暂时未集成,存在BUG -->
|
|
<!--<dependency>
|
|
<groupId>com.fhs-opensource</groupId>
|
|
<artifactId>easy-trans-spring-boot-starter</artifactId>
|
|
<version>3.1.2</version>
|
|
</dependency>-->
|
|
<dependency>
|
|
<groupId>cn.dev33</groupId>
|
|
<artifactId>sa-token-spring-boot4-starter</artifactId>
|
|
<version>${sa-token.version}</version>
|
|
</dependency>
|
|
<!-- Sa-Token 整合 Redis (可选) -->
|
|
<dependency>
|
|
<groupId>cn.dev33</groupId>
|
|
<artifactId>sa-token-jackson</artifactId>
|
|
<version>${sa-token.version}</version>
|
|
</dependency>
|
|
<!-- Sa-Token 整合 RedisTemplate -->
|
|
<dependency>
|
|
<groupId>cn.dev33</groupId>
|
|
<artifactId>sa-token-redis-template</artifactId>
|
|
<version>${sa-token.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>transmittable-thread-local</artifactId>
|
|
<version>${transmittable.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.mysql</groupId>
|
|
<artifactId>mysql-connector-j</artifactId>
|
|
<version>${mysql.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jakarta.validation</groupId>
|
|
<artifactId>jakarta.validation-api</artifactId>
|
|
<version>${jakarta-validation.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.xingfudeshi</groupId>
|
|
<artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
|
|
<version>${knife4j.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.xingfudeshi</groupId>
|
|
<artifactId>knife4j-gateway-spring-boot-starter</artifactId>
|
|
<version>${knife4j.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
<version>${guava.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.baomidou</groupId>
|
|
<artifactId>dynamic-datasource-spring-boot4-starter</artifactId>
|
|
<version>${dynamic-datasource.version}</version>
|
|
</dependency>
|
|
<!-- minio 存储-->
|
|
<dependency>
|
|
<groupId>io.minio</groupId>
|
|
<artifactId>minio</artifactId>
|
|
<version>${minio.version}</version>
|
|
</dependency>
|
|
<!-- 阿里云存储 -->
|
|
<dependency>
|
|
<groupId>com.aliyun.oss</groupId>
|
|
<artifactId>aliyun-sdk-oss</artifactId>
|
|
<version>${aliyun-sdk-oss.version}</version>
|
|
</dependency>
|
|
<!-- 七牛云存储开始 -->
|
|
<dependency>
|
|
<groupId>com.qiniu</groupId>
|
|
<artifactId>qiniu-java-sdk</artifactId>
|
|
<version>${qiniu-java-sdk.version}</version>
|
|
</dependency>
|
|
<!-- 七牛云存储结束 -->
|
|
|
|
<!-- 腾讯云存储开始 -->
|
|
<dependency>
|
|
<groupId>com.qcloud</groupId>
|
|
<artifactId>cos_api</artifactId>
|
|
<version>${cos_api.version}</version>
|
|
</dependency>
|
|
|
|
<!--文件上传sdk-->
|
|
<dependency>
|
|
<groupId>org.dromara.x-file-storage</groupId>
|
|
<artifactId>x-file-storage-spring</artifactId>
|
|
<version>${x-file-storage-spring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.amazonaws</groupId>
|
|
<artifactId>aws-java-sdk-s3</artifactId>
|
|
<version>${aws-java-sdk-s3.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.baomidou</groupId>
|
|
<artifactId>mybatis-plus</artifactId>
|
|
<version>${mybatis-plus.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.baomidou</groupId>
|
|
<artifactId>mybatis-plus-jsqlparser</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-spring-boot4-starter</artifactId>
|
|
<version>${mybatis-plus.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.swagger.core.v3</groupId>
|
|
<artifactId>swagger-annotations</artifactId>
|
|
<version>2.2.9</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>cn.hutool</groupId>
|
|
<artifactId>hutool-core</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-db</artifactId>
|
|
<version>${hutool.version}</version>
|
|
</dependency>
|
|
<!-- spring-boot-admin -->
|
|
<dependency>
|
|
<groupId>de.codecentric</groupId>
|
|
<artifactId>spring-boot-admin-starter-client</artifactId>
|
|
<version>${spring-boot-admin.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>de.codecentric</groupId>
|
|
<artifactId>spring-boot-admin-starter-server</artifactId>
|
|
<version>${spring-boot-admin.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>de.codecentric</groupId>
|
|
<artifactId>spring-boot-admin-server-ui</artifactId>
|
|
<version>${spring-boot-admin.version}</version>
|
|
</dependency>
|
|
|
|
<!-- redisson -->
|
|
<dependency>
|
|
<groupId>org.redisson</groupId>
|
|
<artifactId>redisson-spring-boot-starter</artifactId>
|
|
<version>${redisson.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.wemirr</groupId>
|
|
<artifactId>wemirr-platform-iam-api</artifactId>
|
|
<version>${wemirr-platform.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.wemirr</groupId>
|
|
<artifactId>wemirr-platform-workflow-api</artifactId>
|
|
<version>${wemirr-platform.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.wemirr</groupId>
|
|
<artifactId>wemirr-platform-suite-api</artifactId>
|
|
<version>${wemirr-platform.version}</version>
|
|
</dependency>
|
|
<!-- 自定义SDK -->
|
|
<dependency>
|
|
<groupId>com.wemirr.framework</groupId>
|
|
<artifactId>diff-log-spring-boot-starter</artifactId>
|
|
<version>${wemirr-platform.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.wemirr.framework</groupId>
|
|
<artifactId>robot-spring-boot-starter</artifactId>
|
|
<version>${wemirr-platform.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.wemirr.framework</groupId>
|
|
<artifactId>redis-plus-spring-boot-starter</artifactId>
|
|
<version>${wemirr-platform.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.wemirr.framework</groupId>
|
|
<artifactId>i18n-spring-boot-starter</artifactId>
|
|
<version>${wemirr-platform.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.wemirr.framework</groupId>
|
|
<artifactId>security-spring-boot-starter</artifactId>
|
|
<version>${wemirr-platform.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.wemirr.framework</groupId>
|
|
<artifactId>common-framework-core</artifactId>
|
|
<version>${wemirr-platform.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.wemirr.framework</groupId>
|
|
<artifactId>db-spring-boot-starter</artifactId>
|
|
<version>${wemirr-platform.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.wemirr.framework</groupId>
|
|
<artifactId>common-spring-boot-starter</artifactId>
|
|
<version>${wemirr-platform.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.wemirr.framework</groupId>
|
|
<artifactId>easyexcel-spring-boot-starter</artifactId>
|
|
<version>${wemirr-platform.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.wemirr.framework</groupId>
|
|
<artifactId>feign-plugin-spring-boot-starter</artifactId>
|
|
<version>${wemirr-platform.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.wemirr.framework</groupId>
|
|
<artifactId>websocket-spring-boot-starter</artifactId>
|
|
<version>${wemirr-platform.version}</version>
|
|
<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-dependencies</artifactId>
|
|
<version>${spring-boot.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
|
|
<version>${spring-cloud-alibaba.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-dependencies</artifactId>
|
|
<version>${spring-cloud.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.anyline</groupId>
|
|
<artifactId>anyline-environment-spring-data-jdbc</artifactId>
|
|
<version>${anyline.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.anyline</groupId>
|
|
<artifactId>anyline-data-jdbc-mysql</artifactId>
|
|
<version>${anyline.version}</version>
|
|
</dependency>
|
|
|
|
<!-- ==================== AI 相关依赖 ==================== -->
|
|
<!-- ai-spring-boot-starter -->
|
|
<dependency>
|
|
<groupId>com.wemirr.framework</groupId>
|
|
<artifactId>ai-spring-boot-starter</artifactId>
|
|
<version>${wemirr-platform.version}</version>
|
|
</dependency>
|
|
|
|
<!-- LangChain4j BOM -->
|
|
<dependency>
|
|
<groupId>dev.langchain4j</groupId>
|
|
<artifactId>langchain4j-bom</artifactId>
|
|
<version>${langchain4j.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>dev.langchain4j</groupId>
|
|
<artifactId>langchain4j-community-bom</artifactId>
|
|
<version>${langchain4j.community.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
|
|
<!-- LangGraph4j BOM -->
|
|
<dependency>
|
|
<groupId>org.bsc.langgraph4j</groupId>
|
|
<artifactId>langgraph4j-bom</artifactId>
|
|
<version>${langgraph4j.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>alimaven</id>
|
|
<name>Maven Aliyun Mirror</name>
|
|
<url>https://maven.aliyun.com/repository/public</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
<repository>
|
|
<id>spring-milestones</id>
|
|
<name>Spring Milestones</name>
|
|
<url>https://repo.spring.io/milestone</url>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
<repository>
|
|
<id>spring-snapshots</id>
|
|
<name>Spring Snapshots</name>
|
|
<url>https://repo.spring.io/snapshot</url>
|
|
<releases>
|
|
<enabled>false</enabled>
|
|
</releases>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<!-- 资源文件拷贝插件 -->
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<filtering>false</filtering>
|
|
<directory>src/main/resources</directory>
|
|
</resource>
|
|
<resource>
|
|
<filtering>false</filtering>
|
|
<directory>src/main/java</directory>
|
|
<includes>
|
|
<include>**/*.xml</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
|
|
<plugins>
|
|
<!-- 资源文件拷贝插件 -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>${maven-resources-plugin.version}</version>
|
|
<configuration>
|
|
<encoding>UTF-8</encoding>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>${maven-source-plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!-- java编译插件 -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>${maven-compiler-plugin.version}</version>
|
|
<configuration>
|
|
<source>${java.version}</source>
|
|
<target>${java.version}</target>
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
<parameters>true</parameters>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>com.diffplug.spotless</groupId>
|
|
<artifactId>spotless-maven-plugin</artifactId>
|
|
<version>${spotless-maven-plugin.version}</version>
|
|
<configuration>
|
|
<java>
|
|
<eclipse>
|
|
<file>../dev-support/spotless/wp_eclipse_formatter.xml</file>
|
|
</eclipse>
|
|
<licenseHeader>
|
|
<file>../dev-support/spotless/license-header</file>
|
|
</licenseHeader>
|
|
</java>
|
|
<pom>
|
|
<sortPom>
|
|
<encoding>UTF-8</encoding>
|
|
<nrOfIndentSpace>4</nrOfIndentSpace>
|
|
<keepBlankLines>true</keepBlankLines>
|
|
<indentBlankLines>true</indentBlankLines>
|
|
<indentSchemaLocation>false</indentSchemaLocation>
|
|
<spaceBeforeCloseEmptyElement>true</spaceBeforeCloseEmptyElement>
|
|
<sortModules>false</sortModules>
|
|
<sortExecutions>false</sortExecutions>
|
|
<predefinedSortOrder>custom_1</predefinedSortOrder>
|
|
<expandEmptyElements>false</expandEmptyElements>
|
|
<sortProperties>false</sortProperties>
|
|
</sortPom>
|
|
<replace>
|
|
<name>Leading blank line</name>
|
|
<search>--><project</search>
|
|
<replacement>--><project</replacement>
|
|
</replace>
|
|
</pom>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<version>${maven-checkstyle-plugin.version}</version>
|
|
<configuration>
|
|
<consoleOutput>true</consoleOutput>
|
|
<failOnViolation>true</failOnViolation>
|
|
<failsOnError>true</failsOnError>
|
|
<violationSeverity>error</violationSeverity>
|
|
<!--suppress MavenModelInspection -->
|
|
<configLocation>../dev-support/checkstyle.xml</configLocation>
|
|
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
|
<excludes>**/autogen/**/*</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|