Skip to content

Commit ee043d7

Browse files
committed
docs: update dependency version to latest-release-version for consistency across documentation
1 parent 2e75120 commit ee043d7

5 files changed

Lines changed: 20 additions & 12 deletions

File tree

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ English · [简体中文](README.zh-CN.md)
1212

1313
![Java](https://img.shields.io/badge/Java-17+-blue)
1414
[![Maven Central](https://img.shields.io/maven-central/v/io.github.thought2code/mcp-annotated-java-sdk?color=blue)](https://central.sonatype.com/artifact/io.github.thought2code/mcp-annotated-java-sdk)
15-
[![Commit Activity](https://img.shields.io/github/commit-activity/w/thought2code/mcp-annotated-java-sdk)](https://github.com/thought2code/mcp-annotated-java-sdk/graphs/commit-activity)
1615
[![Coverage](https://img.shields.io/codecov/c/github/thought2code/mcp-annotated-java-sdk?logo=codecov&color=brightgreen)](https://app.codecov.io/github/thought2code/mcp-annotated-java-sdk)
1716
[![GitHub Action](https://github.com/thought2code/mcp-annotated-java-sdk/actions/workflows/maven-build.yml/badge.svg)](https://github.com/thought2code/mcp-annotated-java-sdk/actions/workflows/maven-build.yml)
1817

@@ -66,15 +65,17 @@ This SDK is a lightweight, annotation-based framework that simplifies MCP server
6665
<dependency>
6766
<groupId>io.github.thought2code</groupId>
6867
<artifactId>mcp-annotated-java-sdk</artifactId>
69-
<version>0.19.0-SNAPSHOT</version>
68+
<version>latest-release-version</version>
7069
</dependency>
7170
```
7271

7372
**Gradle:**
7473
```gradle
75-
implementation 'io.github.thought2code:mcp-annotated-java-sdk:0.19.0-SNAPSHOT'
74+
implementation 'io.github.thought2code:mcp-annotated-java-sdk:latest-release-version'
7675
```
7776

77+
Use the latest non-SNAPSHOT release from Maven Central for normal consumption. The current development branch is `0.19.0-SNAPSHOT`; use that version only when you publish or install snapshots yourself, or build from source.
78+
7879
#### Step 2: Create Configuration File
7980

8081
Create `mcp-server.yml` in your `src/main/resources`:

README.zh-CN.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
![Java](https://img.shields.io/badge/Java-17+-blue)
1414
[![Maven Central](https://img.shields.io/maven-central/v/io.github.thought2code/mcp-annotated-java-sdk?color=blue)](https://central.sonatype.com/artifact/io.github.thought2code/mcp-annotated-java-sdk)
15-
[![Commit Activity](https://img.shields.io/github/commit-activity/w/thought2code/mcp-annotated-java-sdk)](https://github.com/thought2code/mcp-annotated-java-sdk/graphs/commit-activity)
1615
[![Coverage](https://img.shields.io/codecov/c/github/thought2code/mcp-annotated-java-sdk?logo=codecov&color=brightgreen)](https://app.codecov.io/github/thought2code/mcp-annotated-java-sdk)
1716
[![GitHub Action](https://github.com/thought2code/mcp-annotated-java-sdk/actions/workflows/maven-build.yml/badge.svg)](https://github.com/thought2code/mcp-annotated-java-sdk/actions/workflows/maven-build.yml)
1817

@@ -67,16 +66,18 @@
6766
<dependency>
6867
<groupId>io.github.thought2code</groupId>
6968
<artifactId>mcp-annotated-java-sdk</artifactId>
70-
<version>0.19.0-SNAPSHOT</version>
69+
<version>latest-release-version</version>
7170
</dependency>
7271
```
7372

7473
**Gradle:**
7574

7675
```gradle
77-
implementation 'io.github.thought2code:mcp-annotated-java-sdk:0.19.0-SNAPSHOT'
76+
implementation 'io.github.thought2code:mcp-annotated-java-sdk:latest-release-version'
7877
```
7978

79+
常规使用请填写 Maven Central 上最新的非 SNAPSHOT 版本。当前开发分支版本是 `0.19.0-SNAPSHOT`;仅在你已自行发布或安装快照,或从源码构建时使用该版本。
80+
8081
#### 第 2 步:创建配置文件
8182

8283
`src/main/resources` 下创建 `mcp-server.yml`

docs/getting-started.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,18 @@ This guide will help you build your first MCP server in 5 minutes.
1919
<dependency>
2020
<groupId>io.github.thought2code</groupId>
2121
<artifactId>mcp-annotated-java-sdk</artifactId>
22-
<version>0.19.0-SNAPSHOT</version>
22+
<version>latest-release-version</version>
2323
</dependency>
2424
```
2525

2626
### Gradle Dependency
2727

2828
```gradle
29-
implementation 'io.github.thought2code:mcp-annotated-java-sdk:0.19.0-SNAPSHOT'
29+
implementation 'io.github.thought2code:mcp-annotated-java-sdk:latest-release-version'
3030
```
3131

32+
Use the latest non-SNAPSHOT release from Maven Central for normal consumption. The current development branch is `0.19.0-SNAPSHOT`; use that version only when you publish or install snapshots yourself, or build from source.
33+
3234
## 5-Minutes Tutorial
3335

3436
### Step 1: Create Configuration File

llms-full.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,18 @@ The Model Context Protocol (MCP) is a standardized protocol for building servers
4141
<dependency>
4242
<groupId>io.github.thought2code</groupId>
4343
<artifactId>mcp-annotated-java-sdk</artifactId>
44-
<version>0.19.0-SNAPSHOT</version>
44+
<version>latest-release-version</version>
4545
</dependency>
4646
```
4747

4848
### Gradle
4949

5050
```gradle
51-
implementation 'io.github.thought2code:mcp-annotated-java-sdk:0.19.0-SNAPSHOT'
51+
implementation 'io.github.thought2code:mcp-annotated-java-sdk:latest-release-version'
5252
```
5353

54+
Use the latest non-SNAPSHOT release from Maven Central for normal consumption. Current development branch version: `0.19.0-SNAPSHOT`.
55+
5456
## Quick Start Tutorial
5557

5658
### Step 1: Create Configuration File

llms.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,18 @@ A lightweight, annotation-based Java framework that simplifies MCP (Model Contex
2424
<dependency>
2525
<groupId>io.github.thought2code</groupId>
2626
<artifactId>mcp-annotated-java-sdk</artifactId>
27-
<version>0.19.0-SNAPSHOT</version>
27+
<version>latest-release-version</version>
2828
</dependency>
2929
```
3030

3131
### Gradle Dependency
3232

3333
```gradle
34-
implementation 'io.github.thought2code:mcp-annotated-java-sdk:0.19.0-SNAPSHOT'
34+
implementation 'io.github.thought2code:mcp-annotated-java-sdk:latest-release-version'
3535
```
3636

37+
Use the latest non-SNAPSHOT release from Maven Central for normal consumption. Current development branch version: `0.19.0-SNAPSHOT`.
38+
3739
### Create MCP Server
3840

3941
```java

0 commit comments

Comments
 (0)