Files
hibernate-demo/hibernate-vector/pom.xml
T

69 lines
2.3 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 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>4.2.0</version>
<relativePath/>
</parent>
<groupId>com.ankurm</groupId>
<artifactId>hibernate-vector</artifactId>
<version>1.0.0</version>
<name>hibernate-vector</name>
<description>pgvector similarity search with Hibernate 7 (hibernate-vector), HQL, Criteria, Spring Data JPA vector search, HNSW indexes, and Spring AI PgVectorStore for comparison</description>
<properties>
<java.version>25</java.version>
<!-- Boot 4.2.0 manages 7.4.15.Final; 7.4.17.Final is the newest 7.x GA in maven-metadata.xml on 2026-11-26. -->
<hibernate.version>7.4.17.Final</hibernate.version>
<spring-ai.version>2.1.0</spring-ai.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.hibernate.orm</groupId>
<artifactId>hibernate-vector</artifactId>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-pgvector-store</artifactId>
<version>${spring-ai.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>-Xmx768m</argLine>
<systemPropertyVariables>
<h.version>${hibernate.version}</h.version>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
</project>