-
Notifications
You must be signed in to change notification settings - Fork 83
Expand file tree
/
Copy pathpom.xml
More file actions
135 lines (126 loc) · 4.86 KB
/
pom.xml
File metadata and controls
135 lines (126 loc) · 4.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<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>
<groupId>com.example.langchain4j</groupId>
<artifactId>langchain4j-for-beginners</artifactId>
<version>1.0.0</version>
<packaging>pom</packaging>
<modules>
<module>00-quick-start</module>
<module>01-introduction</module>
<module>02-prompt-engineering</module>
<module>03-rag</module>
<module>04-tools</module>
<module>05-mcp</module>
</modules>
<properties>
<!-- Use Java 21 by default. Override by setting the
JAVA_HOME environment variable or the `java.version` property -->
<java.version>21</java.version>
<spring.boot.version>4.0.1</spring.boot.version>
<!-- Set the LangChain4j version to a recent stable release -->
<langchain4j.version>1.12.1</langchain4j.version>
<!-- MCP support requires beta version -->
<langchain4j.mcp.version>1.12.1-beta21</langchain4j.mcp.version>
<!-- Test dependency versions - JUnit version managed by Spring Boot BOM -->
<assertj.version>3.27.7</assertj.version>
<testcontainers.version>2.0.2</testcontainers.version>
<!-- Logging versions - aligned with Spring Boot 4.0.0 -->
<slf4j.version>2.0.17</slf4j.version>
<logback.version>1.5.18</logback.version>
<!-- Other dependency versions -->
<pdfbox.version>2.0.31</pdfbox.version>
<!-- Maven plugin versions -->
<maven.surefire.version>3.5.4</maven.surefire.version>
<maven.compiler.plugin.version>3.13.0</maven.compiler.plugin.version>
<!-- Encoding -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
</properties>
<dependencyManagement>
<dependencies>
<!-- LangChain4j dependency versions -->
<dependency>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-bom</artifactId>
<version>${langchain4j.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- Import Spring Boot dependency versions -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring.boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- Testing dependencies - JUnit managed by Spring Boot BOM -->
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${assertj.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers</artifactId>
<version>${testcontainers.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers-junit-jupiter</artifactId>
<version>${testcontainers.version}</version>
<scope>test</scope>
</dependency>
<!-- Logging dependencies - aligned with Spring Boot 4.0.0 -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
</dependency>
<!-- Other dependencies -->
<dependency>
<groupId>org.apache.pdfbox</groupId>
<artifactId>pdfbox</artifactId>
<version>${pdfbox.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.plugin.version}</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<release>${java.version}</release>
<parameters>true</parameters>
</configuration>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring.boot.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.version}</version>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>