-
-
Notifications
You must be signed in to change notification settings - Fork 759
Expand file tree
/
Copy pathpom.xml
More file actions
173 lines (154 loc) · 6.39 KB
/
Copy pathpom.xml
File metadata and controls
173 lines (154 loc) · 6.39 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
<?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>org.atmosphere</groupId>
<artifactId>atmosphere-project</artifactId>
<version>4.0.60-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<groupId>org.atmosphere.samples</groupId>
<artifactId>atmosphere-spring-boot-rag-chat</artifactId>
<name>atmosphere-spring-boot-rag-chat</name>
<description>Real-time RAG chat using Atmosphere + Spring AI VectorStore</description>
<properties>
<!-- Self-contained netty pin: covers samples scaffolded standalone against
a released parent POM that may not yet declare netty.version. -->
<netty.version>4.2.15.Final</netty.version>
<maven.deploy.skip>true</maven.deploy.skip>
<atmosphere.starter>atmosphere-spring-boot-starter</atmosphere.starter>
</properties>
<dependencyManagement>
<dependencies>
<!-- netty-bom imported BEFORE spring-boot-dependencies so its
first-wins rule pulls patched netty 4.x for this sample,
overriding Spring Boot's transitively-pinned vulnerable line. -->
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-bom</artifactId>
<version>${netty.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.atmosphere</groupId>
<artifactId>${atmosphere.starter}</artifactId>
</dependency>
<dependency>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-agent</artifactId>
</dependency>
<dependency>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-ai</artifactId>
</dependency>
<dependency>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-mcp</artifactId>
</dependency>
<dependency>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-rag</artifactId>
</dependency>
<!--
Chat runs on the built-in AgentRuntime (tool-calling works against the
Gemini OpenAI-compatible endpoint). Spring AI is kept below purely for
the VectorStore + embeddings (the RAG retrieval this sample showcases);
the atmosphere-spring-ai runtime adapter is intentionally NOT a
dependency, because its openai-java streaming path rejects Gemini's
tool-call deltas (missing `index`).
-->
<dependency>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-skills</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-starter-model-openai</artifactId>
<version>${spring-ai.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-vector-store</artifactId>
<version>${spring-ai.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<!--
WebTransport / HTTP-3 transport. application.yml enables it
(atmosphere.web-transport.enabled=true) and the frontend leads with
the 'webtransport' transport; without this dependency
AtmosphereWebTransportAutoConfiguration's @ConditionalOnClass
(reactor.netty.http.server.HttpServer + io.netty.handler.codec.http3.Http3)
fails and the HTTP-3 server never starts, so the declared transport
silently no-ops and the client falls back to WebSocket.
-->
<dependency>
<groupId>io.projectreactor.netty</groupId>
<artifactId>reactor-netty-http</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-core</artifactId>
</dependency>
<dependency>
<groupId>jakarta.inject</groupId>
<artifactId>jakarta.inject-api</artifactId>
</dependency>
<!-- Parent POM restricts logback to test scope; override for runtime logging -->
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<scope>runtime</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring-boot.version}</version>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>spring-boot3</id>
<properties>
<spring-boot.version>3.5.14</spring-boot.version>
<netty.version>4.1.135.Final</netty.version>
<atmosphere.starter>atmosphere-spring-boot3-starter</atmosphere.starter>
</properties>
</profile>
</profiles>
</project>