237 lines
9.1 KiB
XML
237 lines
9.1 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">
|
|
<packaging>pom</packaging>
|
|
<modules>
|
|
<module>xservice-service</module>
|
|
<module>xservice-server</module>
|
|
</modules>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.xiang</groupId>
|
|
<artifactId>xservice-ai-center</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
<properties>
|
|
<spring.boot.version>3.3.5</spring.boot.version>
|
|
<spring.cloud.version>2023.0.3</spring.cloud.version>
|
|
<spring.ai.version>1.0.0-M6</spring.ai.version>
|
|
<spring.cloud.alibaba.version>2023.0.1.0</spring.cloud.alibaba.version>
|
|
<maven.compiler.release>17</maven.compiler.release>
|
|
<java.version>17</java.version>
|
|
<mybatis.spring.boot.version>2.2.2</mybatis.spring.boot.version>
|
|
<rocketmq.version>5.1.4</rocketmq.version>
|
|
<mysql.version>8.0.33</mysql.version>
|
|
<fastjson2.version>2.0.51</fastjson2.version>
|
|
<maven.compiler.source>${java.version}</maven.compiler.source>
|
|
<maven.compiler.target>${java.version}</maven.compiler.target>
|
|
<encoding>UTF-8</encoding>
|
|
<guava.version>16.0.1</guava.version>
|
|
<mybatis-spring-boot.version>2.3.1</mybatis-spring-boot.version>
|
|
<mybatis-plus-spring-boot.version>3.5.14</mybatis-plus-spring-boot.version>
|
|
<mysql.version>8.0.33</mysql.version>
|
|
<lombok.version>1.18.30</lombok.version>
|
|
<spring-data-redis.version>3.23.6</spring-data-redis.version>
|
|
<rocketmq.version>2.2.3</rocketmq.version>
|
|
<spring.authorization.server.version>0.4.0</spring.authorization.server.version>
|
|
<springai.alibaba.version>1.0.0.2</springai.alibaba.version>
|
|
</properties>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>spring-snapshots</id>
|
|
<name>Spring Snapshots</name>
|
|
<url>https://repo.spring.io/snapshot</url>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
<releases>
|
|
<enabled>false</enabled>
|
|
</releases>
|
|
</repository>
|
|
<repository>
|
|
<name>Central Portal Snapshots</name>
|
|
<id>central-portal-snapshots</id>
|
|
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
|
|
<releases>
|
|
<enabled>false</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<!-- Spring Boot BOM -->
|
|
<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 BOM -->
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-dependencies</artifactId>
|
|
<version>${spring.cloud.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
|
|
<!-- Spring Cloud Alibaba BOM -->
|
|
<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>
|
|
|
|
<!-- Spring AI -->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>org.springframework.ai</groupId>-->
|
|
<!-- <artifactId>spring-ai-bom</artifactId>-->
|
|
<!-- <version>${spring.ai.version}</version>-->
|
|
<!-- <type>pom</type>-->
|
|
<!-- <scope>import</scope>-->
|
|
<!-- </dependency>-->
|
|
|
|
<dependency>
|
|
<groupId>com.alibaba.cloud.ai</groupId>
|
|
<artifactId>spring-ai-alibaba-bom</artifactId>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
<version>${springai.alibaba.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.alibaba.cloud.ai</groupId>
|
|
<artifactId>spring-ai-alibaba-starter-dashscope</artifactId>
|
|
<version>${springai.alibaba.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.alibaba.cloud.ai</groupId>
|
|
<artifactId>spring-ai-alibaba-graph-core</artifactId>
|
|
<version>${springai.alibaba.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.alibaba.cloud.ai</groupId>
|
|
<artifactId>spring-ai-alibaba-starter-memory-jdbc</artifactId>
|
|
<version>${springai.alibaba.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
<version>${mysql.version}</version>
|
|
</dependency>
|
|
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>org.springframework.ai</groupId>-->
|
|
<!-- <artifactId>spring-ai-pdf-document-reader</artifactId>-->
|
|
<!-- <version>${spring.ai.version}</version>-->
|
|
<!-- </dependency>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>org.springframework.ai</groupId>-->
|
|
<!-- <artifactId>spring-ai-pgvector-store</artifactId>-->
|
|
<!-- <version>${spring.ai.version}</version>-->
|
|
<!-- </dependency>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>org.springframework.ai</groupId>-->
|
|
<!-- <artifactId>spring-ai-pgvector-store-spring-boot-starter</artifactId>-->
|
|
<!-- <version>${spring.ai.version}</version>-->
|
|
<!-- </dependency>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>org.springframework.ai</groupId>-->
|
|
<!-- <artifactId>spring-ai-tika-document-reader</artifactId>-->
|
|
<!-- <version>${spring.ai.version}</version>-->
|
|
<!-- </dependency>-->
|
|
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>${lombok.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-jdbc</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<!-- 统一 compiler 插件 -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.11.0</version>
|
|
<configuration>
|
|
<source>${java.version}</source>
|
|
<target>${java.version}</target>
|
|
<encoding>${encoding}</encoding>
|
|
<parameters>true</parameters>
|
|
<annotationProcessorPaths>
|
|
<!-- Lombok -->
|
|
<path>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>1.18.30</version>
|
|
</path>
|
|
<!-- MapStruct -->
|
|
<path>
|
|
<groupId>org.mapstruct</groupId>
|
|
<artifactId>mapstruct-processor</artifactId>
|
|
<version>1.5.5.Final</version>
|
|
</path>
|
|
|
|
</annotationProcessorPaths>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- Java 17 -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.11.0</version>
|
|
<configuration>
|
|
<release>${java.version}</release>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- Spring Boot 打包 -->
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>release</id>
|
|
<url>http://mirror.xiangtech.xyz/repository/maven-releases/</url>
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>snapshot</id>
|
|
<url>http://mirror.xiangtech.xyz/repository/maven-snapshots/</url>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
|
|
</project> |