-
-
Notifications
You must be signed in to change notification settings - Fork 759
Expand file tree
/
Copy pathpom.xml
More file actions
152 lines (137 loc) · 5.55 KB
/
Copy pathpom.xml
File metadata and controls
152 lines (137 loc) · 5.55 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
<?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/maven-v4_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-mcp-server</artifactId>
<packaging>jar</packaging>
<name>atmosphere-spring-boot-mcp-server</name>
<description>Atmosphere MCP server sample — expose tools, resources, and prompts to AI agents</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-mcp</artifactId>
</dependency>
<dependency>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-skills</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<!--
WebTransport / HTTP-3 transport. The config 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>jakarta.inject</groupId>
<artifactId>jakarta.inject-api</artifactId>
</dependency>
<dependency>
<groupId>tools.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-wasync</artifactId>
<scope>test</scope>
</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>