Repository navigation
Expand file tree
/
Copy pathpom.xml
More file actions
293 lines (268 loc) · 11.5 KB
/
Copy pathpom.xml
File metadata and controls
293 lines (268 loc) · 11.5 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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
<?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>com.embabel.build</groupId>
<artifactId>embabel-build-parent</artifactId>
<version>2.0.3</version>
</parent>
<groupId>com.embabel.agent</groupId>
<artifactId>embabel-agent-parent</artifactId>
<version>1.5.4-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Embabel Agent Parent</name>
<description>Parent POM for Embabel Agent Modules</description>
<url>https://github.com/embabel/embabel-agent</url>
<properties>
<argLine />
<embabel-common.version>2.0.4</embabel-common.version>
<netty.version>4.2.17.Final</netty.version>
<!-- Matches the openai-java-core that spring-ai-openai 2.0.1 depends on. Bump in
step with spring-ai-openai; drop once embabel-build-dependencies catches up. -->
<openai-java.version>4.49.0</openai-java.version>
<spotbugs-maven-plugin.version>4.9.8.2</spotbugs-maven-plugin.version>
<sb-contrib.version>7.7.4</sb-contrib.version>
</properties>
<modules>
<module>embabel-agent-api</module>
<module>embabel-agent-typesafe</module>
<module>embabel-agent-cache</module>
<module>embabel-agent-jdbc</module>
<module>embabel-agent-a2a</module>
<module>embabel-agent-autoconfigure</module>
<module>embabel-agent-code</module>
<module>embabel-agent-common</module>
<module>embabel-agent-domain</module>
<module>embabel-agent-dependencies</module>
<module>embabel-agent-mcp</module>
<module>embabel-agent-observability</module>
<module>embabel-agent-rag</module>
<module>embabel-agent-shell</module>
<module>embabel-agent-skills</module>
<module>embabel-agent-starters</module>
<module>embabel-agent-test-support</module>
<module>embabel-agent-openai</module>
<module>embabel-agent-anthropic</module>
<module>embabel-agent-onnx</module>
</modules>
<scm>
<url>https://github.com/embabel/embabel-agent</url>
<connection>scm:git:https://github.com/embabel/embabel-agent.git</connection>
<developerConnection>scm:git:https://github.com/embabel/embabel-agent.git</developerConnection>
<tag>HEAD</tag>
</scm>
<!-- Embabel Common BOM -->
<dependencyManagement>
<dependencies>
<!--
OpenAI SDK, aligned repo-wide.
embabel-build-dependencies manages these at 4.36.0, the version
spring-ai-openai 2.0.0-M8 compiled against. Each spring-ai-openai release
since has moved its own openai-java-core forward (2.0.0 GA to 4.39.1,
2.0.1 to 4.49.0), so the managed version puts two releases of the same SDK
on the classpath. Managing them here overrides the parent BOM
for direct and transitive uses alike — a version set in a module's
<dependencies> only governs that module, and reverts to the managed value
wherever it is inherited downstream.
openai-java-core is intentionally absent: unmanaged, it resolves to the
version spring-ai-openai declares, which is the one Spring AI's own code is
compiled against. Keep it that way and bump the property below to match on
every Spring AI upgrade — embabel-agent-openai enforces that they converge.
The openai-java aggregate is no longer depended on directly; it stays managed
so a transitive path cannot reintroduce it at the parent BOM's 4.36.0.
-->
<dependency>
<groupId>com.openai</groupId>
<artifactId>openai-java</artifactId>
<version>${openai-java.version}</version>
</dependency>
<dependency>
<groupId>com.openai</groupId>
<artifactId>openai-java-client-okhttp</artifactId>
<version>${openai-java.version}</version>
</dependency>
<!-- Embabel Agent BOM -->
<dependency>
<groupId>com.embabel.agent</groupId>
<artifactId>embabel-agent-dependencies</artifactId>
<version>${project.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- Embabel Common BOM -->
<dependency>
<groupId>com.embabel.common</groupId>
<artifactId>embabel-common-dependencies</artifactId>
<version>${embabel-common.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- Embabel Common BOM -->
<dependency>
<groupId>com.embabel.common</groupId>
<artifactId>embabel-common-test-dependencies</artifactId>
<version>${embabel-common.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- Netty Version Upgrades - Security Vulnerability Fixes -->
<!--
Force safe netty versions to fix multiple CVEs:
https://github.com/advisories/GHSA-w9fj-cfpg-grvv
https://github.com/advisories/GHSA-pwqr-wmgm-9rr8
Added to common parent to override all transitive netty dependencies across all modules.
-->
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-bom</artifactId>
<version>${netty.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!-- Unit and Integration Testing -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<!--
https://mvnrepository.com/artifact/org.jetbrains/annotations
For Experimental annotation
-->
<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
<version>26.0.2</version>
<scope>provided</scope>
</dependency>
<!-- Consider kotlin-test-junit5 for enhanced JUnit 5 integration (test discovery, parameterized tests) -->
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-test</artifactId>
<version>${kotlin.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-testcontainers</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.ninja-squad</groupId>
<artifactId>springmockk</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!--
Force US English locale for all test executions to ensure
locale-sensitive tests produce consistent results regardless
of the developer's system locale (e.g., date formatting).
-->
<argLine>@{argLine} -Duser.language=en -Duser.country=US</argLine>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>pl.project13.maven</groupId>
<artifactId>git-commit-id-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<version>${spotbugs-maven-plugin.version}</version>
<configuration>
<effort>Max</effort>
<threshold>Medium</threshold>
<xmlOutput>true</xmlOutput>
<includeFilterFile>spotbugs-concurrency.xml</includeFilterFile>
<!-- Optimized for Kotlin/Java performance -->
<maxHeap>1024</maxHeap>
<jvmArgs>-XX:+TieredCompilation -XX:TieredStopAtLevel=1</jvmArgs>
<plugins>
<plugin>
<groupId>com.mebigfatguy.sb-contrib</groupId>
<artifactId>sb-contrib</artifactId>
<version>${sb-contrib.version}</version>
</plugin>
</plugins>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<!-- Run integration tests that follow the *IT naming convention -->
<profile>
<id>integration-tests</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<includes>
<include>**/*IT.*</include>
</includes>
<excludes combine.self="override">
<exclude>none</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<!-- Build Embabel Agent Documentation -->
<profile>
<id>embabel-agent-docs</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<modules>
<module>embabel-agent-docs</module>
</modules>
</profile>
</profiles>
<repositories>
<repository>
<id>embabel-releases</id>
<url>https://repo.embabel.com/artifactory/libs-release</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>embabel-snapshots</id>
<url>https://repo.embabel.com/artifactory/libs-snapshot</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
</project>