|
1 | | -<?xml version="1.0" encoding="UTF-8"?> |
2 | | -<project xmlns="http://maven.apache.org/POM/4.0.0" |
3 | | - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
5 | | - <modelVersion>4.0.0</modelVersion> |
6 | | - <parent> |
7 | | - <groupId>io.modelcontextprotocol.sdk</groupId> |
8 | | - <artifactId>mcp-parent</artifactId> |
9 | | - <version>0.8.0-SNAPSHOT</version> |
10 | | - </parent> |
11 | | - <artifactId>mcp</artifactId> |
12 | | - <packaging>jar</packaging> |
13 | | - <name>Java MCP SDK</name> |
14 | | - <description>Java SDK implementation of the Model Context Protocol, enabling seamless integration with language models and AI tools</description> |
15 | | - <url>https://github.com/modelcontextprotocol/java-sdk</url> |
16 | | - |
17 | | - <scm> |
18 | | - <url>https://github.com/modelcontextprotocol/java-sdk</url> |
19 | | - <connection>git://github.com/modelcontextprotocol/java-sdk.git</connection> |
20 | | - <developerConnection>git@github.com/modelcontextprotocol/java-sdk.git</developerConnection> |
21 | | - </scm> |
22 | | - |
23 | | - <dependencies> |
24 | | - |
25 | | - <dependency> |
26 | | - <groupId>org.slf4j</groupId> |
27 | | - <artifactId>slf4j-api</artifactId> |
28 | | - <version>${slf4j-api.version}</version> |
29 | | - </dependency> |
30 | | - |
31 | | - <dependency> |
32 | | - <groupId>com.fasterxml.jackson.core</groupId> |
33 | | - <artifactId>jackson-databind</artifactId> |
34 | | - <version>${jackson.version}</version> |
35 | | - </dependency> |
36 | | - |
37 | | - <dependency> |
38 | | - <groupId>io.projectreactor</groupId> |
39 | | - <artifactId>reactor-core</artifactId> |
40 | | - </dependency> |
41 | | - |
42 | | - <dependency> |
43 | | - <groupId>org.springframework</groupId> |
44 | | - <artifactId>spring-webmvc</artifactId> |
45 | | - <version>${springframework.version}</version> |
46 | | - <scope>test</scope> |
47 | | - </dependency> |
48 | | - |
49 | | - |
50 | | - <dependency> |
51 | | - <groupId>io.projectreactor.netty</groupId> |
52 | | - <artifactId>reactor-netty-http</artifactId> |
53 | | - <scope>test</scope> |
54 | | - </dependency> |
55 | | - |
56 | | - <!-- The Spring Context is required due to the reactor-netty connector being dependant on |
57 | | - the Spring Lifecycle, as discussed here: |
58 | | - https://github.com/spring-projects/spring-framework/issues/31180 --> |
59 | | - <dependency> |
60 | | - <groupId>org.springframework</groupId> |
61 | | - <artifactId>spring-context</artifactId> |
62 | | - <version>${springframework.version}</version> |
63 | | - <scope>test</scope> |
64 | | - </dependency> |
65 | | - |
66 | | - <dependency> |
67 | | - <groupId>org.springframework</groupId> |
68 | | - <artifactId>spring-test</artifactId> |
69 | | - <version>${springframework.version}</version> |
70 | | - <scope>test</scope> |
71 | | - </dependency> |
72 | | - |
73 | | - <dependency> |
74 | | - <groupId>org.assertj</groupId> |
75 | | - <artifactId>assertj-core</artifactId> |
76 | | - <version>${assert4j.version}</version> |
77 | | - <scope>test</scope> |
78 | | - </dependency> |
79 | | - <dependency> |
80 | | - <groupId>org.junit.jupiter</groupId> |
81 | | - <artifactId>junit-jupiter-api</artifactId> |
82 | | - <version>${junit.version}</version> |
83 | | - <scope>test</scope> |
84 | | - </dependency> |
85 | | - <dependency> |
86 | | - <groupId>org.mockito</groupId> |
87 | | - <artifactId>mockito-core</artifactId> |
88 | | - <version>${mockito.version}</version> |
89 | | - <scope>test</scope> |
90 | | - </dependency> |
91 | | - <dependency> |
92 | | - <groupId>io.projectreactor</groupId> |
93 | | - <artifactId>reactor-test</artifactId> |
94 | | - <scope>test</scope> |
95 | | - </dependency> |
96 | | - <dependency> |
97 | | - <groupId>org.testcontainers</groupId> |
98 | | - <artifactId>junit-jupiter</artifactId> |
99 | | - <version>${testcontainers.version}</version> |
100 | | - <scope>test</scope> |
101 | | - </dependency> |
102 | | - |
103 | | - <dependency> |
104 | | - <groupId>org.awaitility</groupId> |
105 | | - <artifactId>awaitility</artifactId> |
106 | | - <version>${awaitility.version}</version> |
107 | | - <scope>test</scope> |
108 | | - </dependency> |
109 | | - |
110 | | - <dependency> |
111 | | - <groupId>ch.qos.logback</groupId> |
112 | | - <artifactId>logback-classic</artifactId> |
113 | | - <version>${logback.version}</version> |
114 | | - <scope>test</scope> |
115 | | - </dependency> |
116 | | - |
117 | | - <!-- Used by the HttpServletSseServerTransport --> |
118 | | - <dependency> |
119 | | - <groupId>jakarta.servlet</groupId> |
120 | | - <artifactId>jakarta.servlet-api</artifactId> |
121 | | - <version>${jakarta.servlet.version}</version> |
122 | | - <scope>provided</scope> |
123 | | - </dependency> |
124 | | - |
125 | | - <!-- Tomcat dependencies for testing --> |
126 | | - <dependency> |
127 | | - <groupId>org.apache.tomcat.embed</groupId> |
128 | | - <artifactId>tomcat-embed-core</artifactId> |
129 | | - <version>${tomcat.version}</version> |
130 | | - <scope>test</scope> |
131 | | - </dependency> |
132 | | - <dependency> |
133 | | - <groupId>org.apache.tomcat.embed</groupId> |
134 | | - <artifactId>tomcat-embed-websocket</artifactId> |
135 | | - <version>${tomcat.version}</version> |
136 | | - <scope>test</scope> |
137 | | - </dependency> |
138 | | - |
139 | | - </dependencies> |
140 | | - |
141 | | - |
142 | | -</project> |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | + <modelVersion>4.0.0</modelVersion> |
| 6 | + <parent> |
| 7 | + <groupId>io.modelcontextprotocol.sdk</groupId> |
| 8 | + <artifactId>mcp-parent</artifactId> |
| 9 | + <version>0.8.0-SNAPSHOT</version> |
| 10 | + </parent> |
| 11 | + <artifactId>mcp</artifactId> |
| 12 | + <packaging>jar</packaging> |
| 13 | + <name>Java MCP SDK</name> |
| 14 | + <description>Java SDK implementation of the Model Context Protocol, enabling seamless integration with language models and AI tools</description> |
| 15 | + <url>https://github.com/modelcontextprotocol/java-sdk</url> |
| 16 | + |
| 17 | + <scm> |
| 18 | + <url>https://github.com/modelcontextprotocol/java-sdk</url> |
| 19 | + <connection>git://github.com/modelcontextprotocol/java-sdk.git</connection> |
| 20 | + <developerConnection>git@github.com/modelcontextprotocol/java-sdk.git</developerConnection> |
| 21 | + </scm> |
| 22 | + |
| 23 | + <build> |
| 24 | + <plugins> |
| 25 | + <plugin> |
| 26 | + <groupId>biz.aQute.bnd</groupId> |
| 27 | + <artifactId>bnd-maven-plugin</artifactId> |
| 28 | + <version>${bnd-maven-plugin.version}</version> |
| 29 | + <executions> |
| 30 | + <execution> |
| 31 | + <id>bnd-process</id> |
| 32 | + <goals> |
| 33 | + <goal>bnd-process</goal> |
| 34 | + </goals> |
| 35 | + <configuration> |
| 36 | + <bnd><![CDATA[ |
| 37 | + Bundle-Name: Bundle ${project.groupId} : ${project.artifactId} |
| 38 | + version: ${versionmask;===;${version_cleanup;${project.version}}} |
| 39 | + Bundle-SymbolicName: ${project.groupId}.${project.artifactId} |
| 40 | + Bundle-Version: ${version} |
| 41 | + Automatic-Module-Name: ${project.groupId}.${project.artifactId} |
| 42 | + Import-Package: jakarta.*;resolution:=optional, \ |
| 43 | + *; |
| 44 | + Export-Package: io.modelcontextprotocol.*;version="${version}";-noimport:=true |
| 45 | + -noimportjava: true; |
| 46 | + -nouses: true; |
| 47 | + -removeheaders: Private-Package |
| 48 | + ]]> |
| 49 | + </bnd> |
| 50 | + </configuration> |
| 51 | + </execution> |
| 52 | + </executions> |
| 53 | + </plugin> |
| 54 | + <plugin> |
| 55 | + <groupId>org.apache.maven.plugins</groupId> |
| 56 | + <artifactId>maven-jar-plugin</artifactId> |
| 57 | + <configuration> |
| 58 | + <archive> |
| 59 | + <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
| 60 | + </archive> |
| 61 | + </configuration> |
| 62 | + </plugin> |
| 63 | + </plugins> |
| 64 | + </build> |
| 65 | + |
| 66 | + <dependencies> |
| 67 | + |
| 68 | + <dependency> |
| 69 | + <groupId>org.slf4j</groupId> |
| 70 | + <artifactId>slf4j-api</artifactId> |
| 71 | + <version>${slf4j-api.version}</version> |
| 72 | + </dependency> |
| 73 | + |
| 74 | + <dependency> |
| 75 | + <groupId>com.fasterxml.jackson.core</groupId> |
| 76 | + <artifactId>jackson-databind</artifactId> |
| 77 | + <version>${jackson.version}</version> |
| 78 | + </dependency> |
| 79 | + |
| 80 | + <dependency> |
| 81 | + <groupId>io.projectreactor</groupId> |
| 82 | + <artifactId>reactor-core</artifactId> |
| 83 | + </dependency> |
| 84 | + |
| 85 | + <dependency> |
| 86 | + <groupId>org.springframework</groupId> |
| 87 | + <artifactId>spring-webmvc</artifactId> |
| 88 | + <version>${springframework.version}</version> |
| 89 | + <scope>test</scope> |
| 90 | + </dependency> |
| 91 | + |
| 92 | + |
| 93 | + <dependency> |
| 94 | + <groupId>io.projectreactor.netty</groupId> |
| 95 | + <artifactId>reactor-netty-http</artifactId> |
| 96 | + <scope>test</scope> |
| 97 | + </dependency> |
| 98 | + |
| 99 | + <!-- The Spring Context is required due to the reactor-netty connector being dependant on |
| 100 | + the Spring Lifecycle, as discussed here: |
| 101 | + https://github.com/spring-projects/spring-framework/issues/31180 --> |
| 102 | + <dependency> |
| 103 | + <groupId>org.springframework</groupId> |
| 104 | + <artifactId>spring-context</artifactId> |
| 105 | + <version>${springframework.version}</version> |
| 106 | + <scope>test</scope> |
| 107 | + </dependency> |
| 108 | + |
| 109 | + <dependency> |
| 110 | + <groupId>org.springframework</groupId> |
| 111 | + <artifactId>spring-test</artifactId> |
| 112 | + <version>${springframework.version}</version> |
| 113 | + <scope>test</scope> |
| 114 | + </dependency> |
| 115 | + |
| 116 | + <dependency> |
| 117 | + <groupId>org.assertj</groupId> |
| 118 | + <artifactId>assertj-core</artifactId> |
| 119 | + <version>${assert4j.version}</version> |
| 120 | + <scope>test</scope> |
| 121 | + </dependency> |
| 122 | + <dependency> |
| 123 | + <groupId>org.junit.jupiter</groupId> |
| 124 | + <artifactId>junit-jupiter-api</artifactId> |
| 125 | + <version>${junit.version}</version> |
| 126 | + <scope>test</scope> |
| 127 | + </dependency> |
| 128 | + <dependency> |
| 129 | + <groupId>org.mockito</groupId> |
| 130 | + <artifactId>mockito-core</artifactId> |
| 131 | + <version>${mockito.version}</version> |
| 132 | + <scope>test</scope> |
| 133 | + </dependency> |
| 134 | + <dependency> |
| 135 | + <groupId>io.projectreactor</groupId> |
| 136 | + <artifactId>reactor-test</artifactId> |
| 137 | + <scope>test</scope> |
| 138 | + </dependency> |
| 139 | + <dependency> |
| 140 | + <groupId>org.testcontainers</groupId> |
| 141 | + <artifactId>junit-jupiter</artifactId> |
| 142 | + <version>${testcontainers.version}</version> |
| 143 | + <scope>test</scope> |
| 144 | + </dependency> |
| 145 | + |
| 146 | + <dependency> |
| 147 | + <groupId>org.awaitility</groupId> |
| 148 | + <artifactId>awaitility</artifactId> |
| 149 | + <version>${awaitility.version}</version> |
| 150 | + <scope>test</scope> |
| 151 | + </dependency> |
| 152 | + |
| 153 | + <dependency> |
| 154 | + <groupId>ch.qos.logback</groupId> |
| 155 | + <artifactId>logback-classic</artifactId> |
| 156 | + <version>${logback.version}</version> |
| 157 | + <scope>test</scope> |
| 158 | + </dependency> |
| 159 | + |
| 160 | + <!-- Used by the HttpServletSseServerTransport --> |
| 161 | + <dependency> |
| 162 | + <groupId>jakarta.servlet</groupId> |
| 163 | + <artifactId>jakarta.servlet-api</artifactId> |
| 164 | + <version>${jakarta.servlet.version}</version> |
| 165 | + <scope>provided</scope> |
| 166 | + </dependency> |
| 167 | + |
| 168 | + <!-- Tomcat dependencies for testing --> |
| 169 | + <dependency> |
| 170 | + <groupId>org.apache.tomcat.embed</groupId> |
| 171 | + <artifactId>tomcat-embed-core</artifactId> |
| 172 | + <version>${tomcat.version}</version> |
| 173 | + <scope>test</scope> |
| 174 | + </dependency> |
| 175 | + <dependency> |
| 176 | + <groupId>org.apache.tomcat.embed</groupId> |
| 177 | + <artifactId>tomcat-embed-websocket</artifactId> |
| 178 | + <version>${tomcat.version}</version> |
| 179 | + <scope>test</scope> |
| 180 | + </dependency> |
| 181 | + |
| 182 | + </dependencies> |
| 183 | + |
| 184 | + |
| 185 | +</project> |
|
0 commit comments