Extract functionality from spring-ai-core into dedicated modules: - spring-ai-commons: Common utilities and document handling - spring-ai-model: Core model interfaces and implementations - spring-ai-vector-store: Vector store abstraction and implementation This modularization creates clearer responsibility boundaries and allows consumers to include only what they need. The restructuring will make the codebase easier to maintain and extend as the project grows.
123 lines
3.6 KiB
XML
123 lines
3.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
~ Copyright 2023-2024 the original author or authors.
|
|
~
|
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
~ you may not use this file except in compliance with the License.
|
|
~ You may obtain a copy of the License at
|
|
~
|
|
~ https://www.apache.org/licenses/LICENSE-2.0
|
|
~
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
~ See the License for the specific language governing permissions and
|
|
~ limitations under the License.
|
|
-->
|
|
|
|
<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/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>org.springframework.ai</groupId>
|
|
<artifactId>spring-ai</artifactId>
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
</parent>
|
|
<artifactId>spring-ai-vector-store</artifactId>
|
|
<packaging>jar</packaging>
|
|
<name>Spring AI Vector Store</name>
|
|
<description>Common vector store functionality for Spring AI</description>
|
|
<url>https://github.com/spring-projects/spring-ai</url>
|
|
|
|
<scm>
|
|
<url>https://github.com/spring-projects/spring-ai</url>
|
|
<connection>git://github.com/spring-projects/spring-ai.git</connection>
|
|
<developerConnection>git@github.com:spring-projects/spring-ai.git</developerConnection>
|
|
</scm>
|
|
|
|
<properties>
|
|
<maven.compiler.target>17</maven.compiler.target>
|
|
<maven.compiler.source>17</maven.compiler.source>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.ai</groupId>
|
|
<artifactId>spring-ai-model</artifactId>
|
|
<version>${project.parent.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.micrometer</groupId>
|
|
<artifactId>micrometer-tracing-bridge-otel</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
|
|
<!-- ANTLR for Filter Expression Parsing -->
|
|
<dependency>
|
|
<groupId>org.antlr</groupId>
|
|
<artifactId>antlr4-runtime</artifactId>
|
|
<version>${antlr.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Spring Framework -->
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context</artifactId>
|
|
</dependency>
|
|
|
|
<!-- test dependencies -->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>org.springframework.ai</groupId>-->
|
|
<!-- <artifactId>spring-ai-test</artifactId>-->
|
|
<!-- <version>${project.parent.version}</version>-->
|
|
<!-- <scope>test</scope>-->
|
|
<!-- </dependency>-->
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.micrometer</groupId>
|
|
<artifactId>micrometer-observation-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>antlr4</id>
|
|
<activation>
|
|
<activeByDefault>false</activeByDefault>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.antlr</groupId>
|
|
<artifactId>antlr4-maven-plugin</artifactId>
|
|
<version>${antlr.version}</version>
|
|
<configuration>
|
|
<sourceDirectory>${basedir}/src/main/resources/antlr4</sourceDirectory>
|
|
<outputDirectory>${basedir}/src/main/java</outputDirectory>
|
|
<visitor>true</visitor>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>antlr4</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
</project>
|