138 lines
5.0 KiB
XML
138 lines
5.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>
|
|
|
|
<parent>
|
|
<groupId>dev.langchain4j</groupId>
|
|
<artifactId>langchain4j-parent</artifactId>
|
|
<version>1.19.0-beta29-SNAPSHOT</version>
|
|
<relativePath>../langchain4j-parent/pom.xml</relativePath>
|
|
</parent>
|
|
<artifactId>langchain4j-jlama</artifactId>
|
|
<name>LangChain4j :: Integration :: Jlama</name>
|
|
<description>Jlama: LLM Inference Engine for Java - Requires Java 20+</description>
|
|
|
|
<properties>
|
|
<jlama.version>0.8.4</jlama.version>
|
|
<java.version>21</java.version>
|
|
<maven.compiler.release>${java.version}</maven.compiler.release>
|
|
<skipJlamaITs>${skipITs}</skipJlamaITs>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>dev.langchain4j</groupId>
|
|
<artifactId>langchain4j-core</artifactId>
|
|
<version>1.19.0-SNAPSHOT</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.github.tjake</groupId>
|
|
<artifactId>jlama-core</artifactId>
|
|
<version>${jlama.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</dependency>
|
|
|
|
|
|
<!-- test dependencies -->
|
|
|
|
<dependency>
|
|
<groupId>com.github.tjake</groupId>
|
|
<artifactId>jlama-native</artifactId>
|
|
<version>${jlama.version}</version>
|
|
<!-- supports linux-x86_64, macos-x86_64/aarch_64 and windows-x86_64 -->
|
|
<classifier>${os.detected.classifier}</classifier>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>dev.langchain4j</groupId>
|
|
<artifactId>langchain4j-core</artifactId>
|
|
<version>1.19.0-SNAPSHOT</version>
|
|
<classifier>tests</classifier>
|
|
<type>test-jar</type>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>dev.langchain4j</groupId>
|
|
<artifactId>langchain4j</artifactId>
|
|
<version>1.19.0-SNAPSHOT</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>dev.langchain4j</groupId>
|
|
<artifactId>langchain4j</artifactId>
|
|
<version>1.19.0-SNAPSHOT</version>
|
|
<classifier>tests</classifier>
|
|
<type>test-jar</type>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<forkCount>1</forkCount>
|
|
<argLine>--add-modules=jdk.incubator.vector
|
|
--add-exports java.base/sun.nio.ch=ALL-UNNAMED
|
|
--enable-preview
|
|
--enable-native-access=ALL-UNNAMED
|
|
--add-exports java.base/jdk.internal.vm.vector=ALL-UNNAMED</argLine>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
<configuration>
|
|
<skipITs>${skipJlamaITs}</skipITs>
|
|
<forkCount>1</forkCount>
|
|
<argLine>--add-modules=jdk.incubator.vector
|
|
--add-exports java.base/sun.nio.ch=ALL-UNNAMED
|
|
--enable-preview
|
|
--enable-native-access=ALL-UNNAMED
|
|
--add-exports java.base/jdk.internal.vm.vector=ALL-UNNAMED</argLine>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>integration-test</goal>
|
|
<goal>verify</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.honton.chas</groupId>
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
<configuration>
|
|
<!-- org.json:json has a "Public Domain" license -->
|
|
<skipCompliance>true</skipCompliance>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
<extensions>
|
|
<extension>
|
|
<groupId>kr.motd.maven</groupId>
|
|
<artifactId>os-maven-plugin</artifactId>
|
|
<version>1.7.1</version>
|
|
</extension>
|
|
</extensions>
|
|
</build>
|
|
|
|
</project>
|