<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
<modelVersion>4.0.0</modelVersion>
|
<parent>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-parent</artifactId>
|
<version>3.2.6</version>
|
<relativePath/> <!-- lookup parent from repository -->
|
</parent>
|
<groupId>com.yb</groupId>
|
<artifactId>ollama-ai</artifactId>
|
<version>0.0.1-SNAPSHOT</version>
|
<name>ollama-ai</name>
|
<description>ollama-ai</description>
|
<packaging>jar</packaging>
|
<properties>
|
<java.version>17</java.version>
|
<spring-ai.version>1.0.0-SNAPSHOT</spring-ai.version>
|
</properties>
|
<dependencies>
|
<dependency>
|
<groupId>com.squareup.okhttp3</groupId>
|
<artifactId>okhttp</artifactId>
|
<version>3.14.9</version>
|
</dependency>
|
<dependency>
|
<groupId>com.alibaba</groupId>
|
<artifactId>fastjson</artifactId>
|
<version>1.2.70</version>
|
</dependency>
|
<!-- https://mvnrepository.com/artifact/net.sf.json-lib/json-lib -->
|
<dependency>
|
<groupId>net.sf.json-lib</groupId>
|
<artifactId>json-lib</artifactId>
|
<version>2.4</version>
|
<classifier>jdk15</classifier> <!-- 需要指定JDK版本哦:2.4有13,15两个JDK版本 -->
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-web</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.ai</groupId>
|
<artifactId>spring-ai-ollama-spring-boot-starter</artifactId>
|
</dependency>
|
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-test</artifactId>
|
<scope>test</scope>
|
</dependency>
|
<dependency>
|
<groupId>org.apache.httpcomponents</groupId>
|
<artifactId>httpclient</artifactId>
|
<version>4.5.14</version>
|
</dependency>
|
<dependency>
|
<groupId>org.springdoc</groupId>
|
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
|
<version>2.1.0</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.springdoc</groupId>
|
<artifactId>springdoc-openapi-starter-webmvc-api</artifactId>
|
<version>2.1.0</version>
|
</dependency>
|
<dependency>
|
<groupId>org.projectlombok</groupId>
|
<artifactId>lombok</artifactId>
|
<version>1.18.26</version>
|
<scope>provided</scope>
|
</dependency>
|
<dependency>
|
<groupId>org.projectlombok</groupId>
|
<artifactId>lombok</artifactId>
|
<version>1.18.26</version>
|
<scope>provided</scope>
|
</dependency>
|
|
|
</dependencies>
|
<dependencyManagement>
|
<dependencies>
|
<dependency>
|
<groupId>org.springframework.ai</groupId>
|
<artifactId>spring-ai-bom</artifactId>
|
<version>${spring-ai.version}</version>
|
<type>pom</type>
|
<scope>import</scope>
|
</dependency>
|
</dependencies>
|
</dependencyManagement>
|
|
<build>
|
<plugins>
|
<plugin>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
</plugin>
|
</plugins>
|
</build>
|
<repositories>
|
<repository>
|
<id>spring-snapshots</id>
|
<name>Spring Snapshots</name>
|
<url>https://repo.spring.io/snapshot</url>
|
<releases>
|
<enabled>false</enabled>
|
</releases>
|
</repository>
|
</repositories>
|
|
</project>
|