Skip to content

Commit 78ec130

Browse files
author
Yuriy Bezsonov
committed
feat(aiagent-agentcore): add backoffice tools pom configuration
1 parent 87a8236 commit 78ec130

2 files changed

Lines changed: 79 additions & 0 deletions

File tree

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
<parent>
6+
<groupId>org.springframework.boot</groupId>
7+
<artifactId>spring-boot-starter-parent</artifactId>
8+
<version>4.0.1</version>
9+
<relativePath/>
10+
</parent>
11+
<groupId>com.example</groupId>
12+
<artifactId>backoffice</artifactId>
13+
<version>1.0.0</version>
14+
<name>backoffice</name>
15+
<description>Backoffice Service</description>
16+
17+
<properties>
18+
<java.version>25</java.version>
19+
<spring-cloud-aws.version>4.0.0-RC1</spring-cloud-aws.version>
20+
</properties>
21+
22+
<dependencyManagement>
23+
<dependencies>
24+
<dependency>
25+
<groupId>io.awspring.cloud</groupId>
26+
<artifactId>spring-cloud-aws-dependencies</artifactId>
27+
<version>${spring-cloud-aws.version}</version>
28+
<type>pom</type>
29+
<scope>import</scope>
30+
</dependency>
31+
<dependency>
32+
<groupId>org.springframework.ai</groupId>
33+
<artifactId>spring-ai-bom</artifactId>
34+
<version>1.1.2</version>
35+
<type>pom</type>
36+
<scope>import</scope>
37+
</dependency>
38+
</dependencies>
39+
</dependencyManagement>
40+
41+
<dependencies>
42+
<!-- MCP Server -->
43+
<dependency>
44+
<groupId>org.springframework.ai</groupId>
45+
<artifactId>spring-ai-starter-mcp-server-webmvc</artifactId>
46+
</dependency>
47+
<!-- Web -->
48+
<dependency>
49+
<groupId>org.springframework.boot</groupId>
50+
<artifactId>spring-boot-starter-web</artifactId>
51+
</dependency>
52+
<dependency>
53+
<groupId>org.springframework.boot</groupId>
54+
<artifactId>spring-boot-starter-validation</artifactId>
55+
</dependency>
56+
<dependency>
57+
<groupId>org.springframework.boot</groupId>
58+
<artifactId>spring-boot-starter-actuator</artifactId>
59+
</dependency>
60+
61+
<!-- DynamoDB -->
62+
<dependency>
63+
<groupId>io.awspring.cloud</groupId>
64+
<artifactId>spring-cloud-aws-starter-dynamodb</artifactId>
65+
</dependency>
66+
</dependencies>
67+
68+
<build>
69+
<plugins>
70+
<plugin>
71+
<groupId>org.springframework.boot</groupId>
72+
<artifactId>spring-boot-maven-plugin</artifactId>
73+
</plugin>
74+
</plugins>
75+
</build>
76+
</project>

apps/java-spring-ai-agents/scripts/01-setup.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ else
5858
echo "Adding ExpenseTools.java..."
5959
cp "${SCRIPT_DIR}/../backoffice/tools/ExpenseTools.java" \
6060
~/environment/backoffice/src/main/java/com/example/backoffice/expense/ExpenseTools.java
61+
62+
echo "Updating pom.xml with tools dependencies..."
63+
cp "${SCRIPT_DIR}/../backoffice/tools/pom.xml" ~/environment/backoffice/pom.xml
6164
fi
6265

6366
# Add basic variables if not present

0 commit comments

Comments
 (0)