File tree Expand file tree Collapse file tree 10 files changed +36
-26
lines changed
start-mcp-java-hello-world-sse
start-mcp-java-hello-world Expand file tree Collapse file tree 10 files changed +36
-26
lines changed Original file line number Diff line number Diff line change 1
1
Edition : 3.0.0
2
2
Type : Project
3
3
Name : start-mcp-java-hello-world-sse
4
- Version : 0.0.1
4
+ Version : 0.0.2
5
5
Provider :
6
6
- 阿里云 # 取值内容参考:https://api.devsapp.cn/v3/common/args.html
7
7
Description : 基于 Java 的 FC MCP SSE Server 案例
Original file line number Diff line number Diff line change 1
1
start-mcp-java-hello-world :
2
2
default :
3
3
languages :
4
- - java21
4
+ - java17
5
+ cache :
6
+ paths :
7
+ - " ~/.m2"
8
+ rootPath : ./code
5
9
steps :
6
- - run : chmod +x ./mvnw
10
+ - run : mvn clean install -DskipTests
7
11
path : ./code
8
- - run : ./mvnw clean install -DskipTests
9
- path : ./code
12
+
Original file line number Diff line number Diff line change 17
17
wrapperVersion =3.3.2
18
18
distributionType =only-script
19
19
distributionUrl =https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip
20
+ # https://github.com/spring-projects/spring-ai-examples/issues/20
21
+ spring.ai.mcp.client.toolcallback.enabled =true
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<groupId >org.springframework.boot</groupId >
8
8
<artifactId >spring-boot-starter-parent</artifactId >
9
- <version >3.3.6 </version >
9
+ <version >3.4.5 </version >
10
10
<relativePath /> <!-- lookup parent from repository -->
11
11
</parent >
12
12
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ resources:
8
8
component : fc3
9
9
actions :
10
10
pre-deploy :
11
- - run : chmod +x ./mvnw && ./mvnw clean install -DskipTests
11
+ - run : mvn clean install -DskipTests
12
12
path : ./code
13
13
props :
14
14
region : ${vars.region}
Original file line number Diff line number Diff line change 1
1
Edition : 3.0.0
2
2
Type : Project
3
3
Name : start-mcp-java-hello-world
4
- Version : 0.0.5
4
+ Version : 0.0.6
5
5
Provider :
6
6
- 阿里云 # 取值内容参考:https://api.devsapp.cn/v3/common/args.html
7
7
Description : 基于 Java 的 FC MCP Server 案例
Original file line number Diff line number Diff line change 1
1
start-mcp-java-hello-world :
2
2
default :
3
3
languages :
4
- - java21
4
+ - java17
5
+ cache :
6
+ paths :
7
+ - " ~/.m2"
8
+ rootPath : ./code
5
9
steps :
6
- - run : chmod +x ./mvnw
10
+ - run : mvn clean install -DskipTests
7
11
path : ./code
8
- - run : ./mvnw clean install -DskipTests
9
- path : ./code
12
+
Original file line number Diff line number Diff line change 16
16
# under the License.
17
17
wrapperVersion =3.3.2
18
18
distributionType =only-script
19
- distributionUrl =https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip
19
+ distributionUrl =https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip
20
+ # https://github.com/spring-projects/spring-ai-examples/issues/20
21
+ spring.ai.mcp.client.toolcallback.enabled =true
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<groupId >org.springframework.boot</groupId >
8
8
<artifactId >spring-boot-starter-parent</artifactId >
9
- <version >3.3.6 </version >
9
+ <version >3.4.5 </version >
10
10
<relativePath /> <!-- lookup parent from repository -->
11
11
</parent >
12
12
53
53
</build >
54
54
55
55
<repositories >
56
- <repository >
57
- <name >Central Portal Snapshots</name >
58
- <id >central-portal-snapshots</id >
59
- <url >https://central.sonatype.com/repository/maven-snapshots/</url >
60
- <releases >
61
- <enabled >false</enabled >
62
- </releases >
63
- <snapshots >
64
- <enabled >true</enabled >
65
- </snapshots >
66
- </repository >
67
56
<repository >
68
57
<id >spring-milestones</id >
69
58
<name >Spring Milestones</name >
80
69
<enabled >false</enabled >
81
70
</releases >
82
71
</repository >
72
+ <repository >
73
+ <id >central-portal-snapshots</id >
74
+ <name >Central Portal Snapshots</name >
75
+ <url >https://central.sonatype.com/repository/maven-snapshots/</url >
76
+ <releases >
77
+ <enabled >false</enabled >
78
+ </releases >
79
+ <snapshots >
80
+ <enabled >true</enabled >
81
+ </snapshots >
82
+ </repository >
83
83
</repositories >
84
84
85
85
</project >
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ resources:
8
8
component : fc3
9
9
actions :
10
10
pre-deploy :
11
- - run : chmod +x ./mvnw && ./mvnw clean install -DskipTests
11
+ - run : mvn clean install -DskipTests
12
12
path : ./code
13
13
props :
14
14
region : ${vars.region}
You can’t perform that action at this time.
0 commit comments