631 lines
24 KiB
XML
631 lines
24 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">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>dev.langchain4j</groupId>
|
|
<artifactId>langchain4j-parent</artifactId>
|
|
<version>0.32.0-SNAPSHOT</version>
|
|
<packaging>pom</packaging>
|
|
|
|
<name>LangChain4j :: Parent POM</name>
|
|
<description>Parent POM for langchain4j submodules</description>
|
|
<url>https://github.com/langchain4j/langchain4j</url>
|
|
|
|
<properties>
|
|
<maven.compiler.source>8</maven.compiler.source>
|
|
<maven.compiler.target>8</maven.compiler.target>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.build.outputTimestamp>1714382357</project.build.outputTimestamp>
|
|
<openai4j.version>0.17.0</openai4j.version>
|
|
<azure-ai-openai.version>1.0.0-beta.8</azure-ai-openai.version>
|
|
<azure-ai-search.version>11.6.4</azure-ai-search.version>
|
|
<azure.storage-blob.version>12.26.0</azure.storage-blob.version>
|
|
<azure.storage-common.version>12.25.0</azure.storage-common.version>
|
|
<azure.identity.version>1.12.1</azure.identity.version>
|
|
<retrofit.version>2.9.0</retrofit.version>
|
|
<okhttp.version>4.12.0</okhttp.version>
|
|
<jtokkit.version>1.0.0</jtokkit.version>
|
|
<lombok.version>1.18.30</lombok.version>
|
|
<jsoup.veresion>1.16.1</jsoup.veresion>
|
|
<slf4j-api.version>2.0.7</slf4j-api.version>
|
|
<gson.version>2.10.1</gson.version>
|
|
<junit.version>5.10.0</junit.version>
|
|
<testcontainers.version>1.19.7</testcontainers.version>
|
|
<bytebuddy.version>1.14.10</bytebuddy.version>
|
|
<mockito.version>4.11.0</mockito.version>
|
|
<assertj.version>3.24.2</assertj.version>
|
|
<tinylog.version>2.6.2</tinylog.version>
|
|
<httpclient5.version>5.2.1</httpclient5.version>
|
|
<opensearch-java.version>2.9.0</opensearch-java.version>
|
|
<aws-java-sdk-core.version>1.12.564</aws-java-sdk-core.version>
|
|
<aws-opensearch.version>2.20.161</aws-opensearch.version>
|
|
<opensearch-containers.version>2.0.1</opensearch-containers.version>
|
|
<elastic.version>8.9.0</elastic.version>
|
|
<jackson.version>2.16.1</jackson.version>
|
|
<jedis.version>5.0.0</jedis.version>
|
|
<aws.java.sdk.version>2.21.44</aws.java.sdk.version>
|
|
<github-api.version>1.318</github-api.version>
|
|
<netty.version>4.1.104.Final</netty.version>
|
|
<awaitility.version>4.2.0</awaitility.version>
|
|
<jsonpath.version>2.9.0</jsonpath.version>
|
|
<infinispan.version>15.0.0.Final</infinispan.version>
|
|
</properties>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>dev.langchain4j</groupId>
|
|
<artifactId>langchain4j</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>dev.langchain4j</groupId>
|
|
<artifactId>langchain4j-core</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>dev.langchain4j</groupId>
|
|
<artifactId>langchain4j-core</artifactId>
|
|
<version>${project.version}</version>
|
|
<classifier>tests</classifier>
|
|
<type>test-jar</type>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>dev.langchain4j</groupId>
|
|
<artifactId>langchain4j-open-ai</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>dev.ai4j</groupId>
|
|
<artifactId>openai4j</artifactId>
|
|
<version>${openai4j.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.azure</groupId>
|
|
<artifactId>azure-ai-openai</artifactId>
|
|
<version>${azure-ai-openai.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.azure</groupId>
|
|
<artifactId>azure-search-documents</artifactId>
|
|
<version>${azure-ai-search.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.azure</groupId>
|
|
<artifactId>azure-storage-blob</artifactId>
|
|
<version>${azure.storage-blob.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.azure</groupId>
|
|
<artifactId>azure-storage-common</artifactId>
|
|
<version>${azure.storage-common.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.azure</groupId>
|
|
<artifactId>azure-identity</artifactId>
|
|
<version>${azure.identity.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>dev.langchain4j</groupId>
|
|
<artifactId>langchain4j-mistral-ai</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>dev.langchain4j</groupId>
|
|
<artifactId>langchain4j-ollama</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>dev.langchain4j</groupId>
|
|
<artifactId>langchain4j-embeddings-all-minilm-l6-v2-q</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>dev.langchain4j</groupId>
|
|
<artifactId>langchain4j-embedding-store-filter-parser-sql</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.squareup.retrofit2</groupId>
|
|
<artifactId>retrofit</artifactId>
|
|
<version>${retrofit.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.squareup.retrofit2</groupId>
|
|
<artifactId>converter-gson</artifactId>
|
|
<version>${retrofit.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.squareup.retrofit2</groupId>
|
|
<artifactId>converter-jackson</artifactId>
|
|
<version>${retrofit.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|
<artifactId>okhttp</artifactId>
|
|
<version>${okhttp.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|
<artifactId>okhttp-sse</artifactId>
|
|
<version>${okhttp.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.knuddels</groupId>
|
|
<artifactId>jtokkit</artifactId>
|
|
<version>${jtokkit.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>${lombok.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.jsoup</groupId>
|
|
<artifactId>jsoup</artifactId>
|
|
<version>${jsoup.veresion}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${slf4j-api.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.google.code.gson</groupId>
|
|
<artifactId>gson</artifactId>
|
|
<version>${gson.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-engine</artifactId>
|
|
<version>${junit.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-params</artifactId>
|
|
<version>${junit.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter</artifactId>
|
|
<version>${junit.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.testcontainers</groupId>
|
|
<artifactId>testcontainers-bom</artifactId>
|
|
<version>${testcontainers.version}</version>
|
|
<scope>import</scope>
|
|
<type>pom</type>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.opensearch</groupId>
|
|
<artifactId>opensearch-testcontainers</artifactId>
|
|
<version>${opensearch-containers.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<version>${mockito.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-junit-jupiter</artifactId>
|
|
<version>${mockito.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.bytebuddy</groupId>
|
|
<artifactId>byte-buddy</artifactId>
|
|
<version>${bytebuddy.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.assertj</groupId>
|
|
<artifactId>assertj-core</artifactId>
|
|
<version>${assertj.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.tinylog</groupId>
|
|
<artifactId>tinylog-impl</artifactId>
|
|
<version>${tinylog.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.tinylog</groupId>
|
|
<artifactId>slf4j-tinylog</artifactId>
|
|
<version>${tinylog.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents.client5</groupId>
|
|
<artifactId>httpclient5</artifactId>
|
|
<version>${httpclient5.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.opensearch.client</groupId>
|
|
<artifactId>opensearch-java</artifactId>
|
|
<version>${opensearch-java.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>opensearch</artifactId>
|
|
<version>${aws-opensearch.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.amazonaws</groupId>
|
|
<artifactId>aws-java-sdk-core</artifactId>
|
|
<version>${aws-java-sdk-core.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>apache-client</artifactId>
|
|
<version>${aws-opensearch.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>co.elastic.clients</groupId>
|
|
<artifactId>elasticsearch-java</artifactId>
|
|
<version>${elastic.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson</groupId>
|
|
<artifactId>jackson-bom</artifactId>
|
|
<version>${jackson.version}</version>
|
|
<scope>import</scope>
|
|
<type>pom</type>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
|
<artifactId>jackson-dataformat-xml</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.opennlp</groupId>
|
|
<artifactId>opennlp-tools</artifactId>
|
|
<version>1.9.4</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>redis.clients</groupId>
|
|
<artifactId>jedis</artifactId>
|
|
<version>${jedis.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>bom</artifactId>
|
|
<version>${aws.java.sdk.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
<exclusions>
|
|
<!-- Exclusion due to CWE-295 vulnerability -->
|
|
<exclusion>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-handler</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.awaitility</groupId>
|
|
<artifactId>awaitility</artifactId>
|
|
<version>${awaitility.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.jayway.jsonpath</groupId>
|
|
<artifactId>json-path</artifactId>
|
|
<version>${jsonpath.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.kohsuke</groupId>
|
|
<artifactId>github-api</artifactId>
|
|
<version>${github-api.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.infinispan</groupId>
|
|
<artifactId>infinispan-bom</artifactId>
|
|
<version>${infinispan.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
<version>1.3.14</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.honton.chas</groupId>
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
<version>0.0.3</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.3.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>3.3.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.12.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
<version>3.1.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<version>3.1.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
<version>3.3.2</version>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>3.1.2</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
|
<version>1.6.13</version>
|
|
<extensions>true</extensions>
|
|
<configuration>
|
|
<serverId>ossrh</serverId>
|
|
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
|
|
<autoReleaseAfterClose>false</autoReleaseAfterClose>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>3.2.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<goals>
|
|
<goal>jar-no-fork</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>3.5.0</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-javadocs</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<!-- failsafe will be in charge of running the integration tests (everything that ends in IT) -->
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
<version>3.1.2</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>integration-test</goal>
|
|
<goal>verify</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>Apache-2.0</name>
|
|
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
|
<distribution>repo</distribution>
|
|
<comments>A business-friendly OSS license</comments>
|
|
</license>
|
|
</licenses>
|
|
|
|
<developers>
|
|
<developer>
|
|
<id>deep-learning-dynamo</id>
|
|
<email>deeplearningdynamo@gmail.com</email>
|
|
<url>https://github.com/deep-learning-dynamo</url>
|
|
</developer>
|
|
<developer>
|
|
<id>kuraleta</id>
|
|
<email>digital.kuraleta@gmail.com</email>
|
|
<url>https://github.com/kuraleta</url>
|
|
</developer>
|
|
</developers>
|
|
|
|
<scm>
|
|
<url>https://github.com/langchain4j/langchain4j</url>
|
|
<connection>scm:git:git://github.com/langchain4j/langchain4j.git</connection>
|
|
<developerConnection>scm:git:git@github.com:langchain4j/langchain4j.git</developerConnection>
|
|
</scm>
|
|
|
|
<distributionManagement>
|
|
<snapshotRepository>
|
|
<id>ossrh</id>
|
|
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>snapshot-repo</id>
|
|
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>java11+</id>
|
|
<activation>
|
|
<jdk>[11,)</jdk>
|
|
</activation>
|
|
<properties>
|
|
<maven.compiler.release>8</maven.compiler.release>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>sign</id>
|
|
<activation>
|
|
<property>
|
|
<name>sign</name>
|
|
</property>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<version>3.0.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>sign-artifacts</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>sign</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>compliance</id>
|
|
<activation>
|
|
<property>
|
|
<name>compliance</name>
|
|
</property>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.honton.chas</groupId>
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
<version>0.0.3</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>compliance</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<scopes>compile,runtime,provided,test</scopes>
|
|
<acceptableLicenses>
|
|
<license>
|
|
<name>(The )?(Apache License, Version 2\.0)|(Apache-2\.0)</name>
|
|
<url>https?://www\.apache\.org/licenses/LICENSE-2\.0</url>
|
|
</license>
|
|
<license>
|
|
<name>(The Apache Software License, Version 2\.0)</name>
|
|
<url>https?://www\.apache\.org/licenses/LICENSE-2\.0</url>
|
|
</license>
|
|
<license>
|
|
<name>Apache 2.0</name>
|
|
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
|
</license>
|
|
<license>
|
|
<name>(The MIT License|MIT License|MIT)</name>
|
|
<url>(https?://opensource.org/licenses/MIT|https://projectlombok.org/LICENSE)</url>
|
|
</license>
|
|
<license>
|
|
<name>Eclipse Public License v2.0</name>
|
|
<url>https?://www.eclipse.org/legal/epl-v20\.html</url>
|
|
</license>
|
|
<!-- for tencent-cos document loader -->
|
|
<license>
|
|
<name>cos-java-sdk</name>
|
|
<url>https://github.com/tencentyun/cos-java-sdk-v5</url>
|
|
</license>
|
|
</acceptableLicenses>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|