184 lines
7.0 KiB
XML
184 lines
7.0 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>
|
|
|
|
<properties>
|
|
<!-- Tell the compiler to stop warning us about Java8 -->
|
|
<Xlint>-options</Xlint>
|
|
</properties>
|
|
|
|
<parent>
|
|
<groupId>dev.langchain4j</groupId>
|
|
<artifactId>langchain4j-parent</artifactId>
|
|
<version>0.27.0-SNAPSHOT</version>
|
|
<relativePath>../langchain4j-parent/pom.xml</relativePath>
|
|
</parent>
|
|
|
|
<artifactId>langchain4j-core</artifactId>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>langchain4j-core</name>
|
|
<description>Core classes and interfaces of LangChain4j</description>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>com.google.code.gson</groupId>
|
|
<artifactId>gson</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-engine</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-params</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.assertj</groupId>
|
|
<artifactId>assertj-core</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-junit-jupiter</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.tinylog</groupId>
|
|
<artifactId>tinylog-impl</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.tinylog</groupId>
|
|
<artifactId>slf4j-tinylog</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.3.0</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>test-jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<version>0.8.11</version>
|
|
<executions>
|
|
<execution>
|
|
<id>prepare-agent</id>
|
|
<goals>
|
|
<goal>prepare-agent</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>report</id>
|
|
<phase>prepare-package</phase>
|
|
<goals>
|
|
<goal>report</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>jacoco-check</id>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
<configuration>
|
|
<rules>
|
|
<rule>
|
|
<excludes>
|
|
<exclude>dev.langchain4j.rag</exclude>
|
|
<exclude>dev.langchain4j.rag.content</exclude>
|
|
<exclude>dev.langchain4j.rag.content.aggregator</exclude>
|
|
<exclude>dev.langchain4j.rag.content.injector</exclude>
|
|
<exclude>dev.langchain4j.rag.content.retriever</exclude>
|
|
<exclude>dev.langchain4j.rag.query</exclude>
|
|
<exclude>dev.langchain4j.rag.query.router</exclude>
|
|
<exclude>dev.langchain4j.rag.query.transformer</exclude>
|
|
</excludes>
|
|
<element>PACKAGE</element>
|
|
<limits>
|
|
<limit>
|
|
<counter>INSTRUCTION</counter>
|
|
<value>COVEREDRATIO</value>
|
|
<minimum>0.95</minimum>
|
|
</limit>
|
|
</limits>
|
|
</rule>
|
|
<rule>
|
|
<includes>
|
|
<include>dev.langchain4j.rag</include>
|
|
<include>dev.langchain4j.rag.content</include>
|
|
<include>dev.langchain4j.rag.content.aggregator</include>
|
|
<include>dev.langchain4j.rag.content.injector</include>
|
|
<include>dev.langchain4j.rag.content.retriever</include>
|
|
<include>dev.langchain4j.rag.query</include>
|
|
<include>dev.langchain4j.rag.query.router</include>
|
|
<include>dev.langchain4j.rag.query.transformer</include>
|
|
</includes>
|
|
<element>PACKAGE</element>
|
|
<limits>
|
|
<limit>
|
|
<counter>INSTRUCTION</counter>
|
|
<value>COVEREDRATIO</value>
|
|
<minimum>0.80</minimum>
|
|
</limit>
|
|
</limits>
|
|
</rule>
|
|
</rules>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>Apache License, Version 2.0</name>
|
|
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
|
<distribution>repo</distribution>
|
|
</license>
|
|
</licenses>
|
|
|
|
</project> |