|
| 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>aiagent</artifactId> |
| 13 | + <version>0.0.1-SNAPSHOT</version> |
| 14 | + <name>aiagent</name> |
| 15 | + <description>AI Agent with Spring AI and Amazon Bedrock AgentCore</description> |
| 16 | + |
| 17 | + <properties> |
| 18 | + <java.version>25</java.version> |
| 19 | + <spring-ai.version>2.0.0-M2</spring-ai.version> |
| 20 | + </properties> |
| 21 | + |
| 22 | + <dependencies> |
| 23 | + <dependency> |
| 24 | + <groupId>org.springframework.boot</groupId> |
| 25 | + <artifactId>spring-boot-starter-web</artifactId> |
| 26 | + </dependency> |
| 27 | + <dependency> |
| 28 | + <groupId>org.springframework.boot</groupId> |
| 29 | + <artifactId>spring-boot-starter-webflux</artifactId> |
| 30 | + </dependency> |
| 31 | + <dependency> |
| 32 | + <groupId>org.springframework.boot</groupId> |
| 33 | + <artifactId>spring-boot-starter-actuator</artifactId> |
| 34 | + </dependency> |
| 35 | + |
| 36 | + <!-- Bedrock model --> |
| 37 | + <dependency> |
| 38 | + <groupId>org.springframework.ai</groupId> |
| 39 | + <artifactId>spring-ai-starter-model-bedrock-converse</artifactId> |
| 40 | + </dependency> |
| 41 | + |
| 42 | + <!-- AgentCore Starter - auto-configures /invocations and /ping endpoints --> |
| 43 | + <dependency> |
| 44 | + <groupId>org.springaicommunity</groupId> |
| 45 | + <artifactId>spring-ai-bedrock-agentcore-starter</artifactId> |
| 46 | + <version>1.0.0-RC5</version> |
| 47 | + </dependency> |
| 48 | + <!-- AgentCore Memory - ChatMemoryRepository implementation --> |
| 49 | + <dependency> |
| 50 | + <groupId>org.springaicommunity</groupId> |
| 51 | + <artifactId>spring-ai-memory-bedrock-agentcore</artifactId> |
| 52 | + <version>1.0.0-RC5</version> |
| 53 | + </dependency> |
| 54 | + |
| 55 | + <!-- Vector Store for RAG (Knowledge Base) --> |
| 56 | + <dependency> |
| 57 | + <groupId>org.springframework.ai</groupId> |
| 58 | + <artifactId>spring-ai-starter-vector-store-bedrock-knowledgebase</artifactId> |
| 59 | + </dependency> |
| 60 | + <dependency> |
| 61 | + <groupId>org.springframework.ai</groupId> |
| 62 | + <artifactId>spring-ai-advisors-vector-store</artifactId> |
| 63 | + </dependency> |
| 64 | + |
| 65 | + <!-- Security - OAuth2 Resource Server for JWT validation --> |
| 66 | + <dependency> |
| 67 | + <groupId>org.springframework.boot</groupId> |
| 68 | + <artifactId>spring-boot-starter-oauth2-resource-server</artifactId> |
| 69 | + </dependency> |
| 70 | + |
| 71 | + <!-- AWS Bedrock Runtime SDK (for Web Grounding) --> |
| 72 | + <dependency> |
| 73 | + <groupId>software.amazon.awssdk</groupId> |
| 74 | + <artifactId>bedrockruntime</artifactId> |
| 75 | + </dependency> |
| 76 | + |
| 77 | + <!-- Playwright for Browser automation --> |
| 78 | + <dependency> |
| 79 | + <groupId>com.microsoft.playwright</groupId> |
| 80 | + <artifactId>playwright</artifactId> |
| 81 | + <version>1.49.0</version> |
| 82 | + </dependency> |
| 83 | + |
| 84 | + <!-- Caffeine cache for Code Interpreter file store --> |
| 85 | + <dependency> |
| 86 | + <groupId>com.github.ben-manes.caffeine</groupId> |
| 87 | + <artifactId>caffeine</artifactId> |
| 88 | + </dependency> |
| 89 | + |
| 90 | + <!-- MCP Client dependencies --> |
| 91 | + <dependency> |
| 92 | + <groupId>org.springframework.ai</groupId> |
| 93 | + <artifactId>spring-ai-starter-mcp-client</artifactId> |
| 94 | + </dependency> |
| 95 | + <!-- MCP Client Security - OAuth2 support for remote MCP servers --> |
| 96 | + <dependency> |
| 97 | + <groupId>org.springaicommunity</groupId> |
| 98 | + <artifactId>mcp-client-security</artifactId> |
| 99 | + <version>0.1.1</version> |
| 100 | + </dependency> |
| 101 | + <!-- OAuth2 Client - required for MCP client OAuth --> |
| 102 | + <dependency> |
| 103 | + <groupId>org.springframework.boot</groupId> |
| 104 | + <artifactId>spring-boot-starter-oauth2-client</artifactId> |
| 105 | + </dependency> |
| 106 | + |
| 107 | + <!-- Testing --> |
| 108 | + <dependency> |
| 109 | + <groupId>org.springframework.boot</groupId> |
| 110 | + <artifactId>spring-boot-starter-test</artifactId> |
| 111 | + <scope>test</scope> |
| 112 | + </dependency> |
| 113 | + <dependency> |
| 114 | + <groupId>org.awaitility</groupId> |
| 115 | + <artifactId>awaitility</artifactId> |
| 116 | + <scope>test</scope> |
| 117 | + </dependency> |
| 118 | + </dependencies> |
| 119 | + |
| 120 | + <dependencyManagement> |
| 121 | + <dependencies> |
| 122 | + <dependency> |
| 123 | + <groupId>org.springframework.ai</groupId> |
| 124 | + <artifactId>spring-ai-bom</artifactId> |
| 125 | + <version>${spring-ai.version}</version> |
| 126 | + <type>pom</type> |
| 127 | + <scope>import</scope> |
| 128 | + </dependency> |
| 129 | + <dependency> |
| 130 | + <groupId>software.amazon.awssdk</groupId> |
| 131 | + <artifactId>bom</artifactId> |
| 132 | + <version>2.40.3</version> |
| 133 | + <type>pom</type> |
| 134 | + <scope>import</scope> |
| 135 | + </dependency> |
| 136 | + </dependencies> |
| 137 | + </dependencyManagement> |
| 138 | + |
| 139 | + <build> |
| 140 | + <plugins> |
| 141 | + <plugin> |
| 142 | + <groupId>org.springframework.boot</groupId> |
| 143 | + <artifactId>spring-boot-maven-plugin</artifactId> |
| 144 | + </plugin> |
| 145 | + <plugin> |
| 146 | + <groupId>io.spring.javaformat</groupId> |
| 147 | + <artifactId>spring-javaformat-maven-plugin</artifactId> |
| 148 | + <version>0.0.43</version> |
| 149 | + </plugin> |
| 150 | + <plugin> |
| 151 | + <groupId>org.apache.maven.plugins</groupId> |
| 152 | + <artifactId>maven-failsafe-plugin</artifactId> |
| 153 | + <configuration> |
| 154 | + <skipITs>${skipITs}</skipITs> |
| 155 | + </configuration> |
| 156 | + <executions> |
| 157 | + <execution> |
| 158 | + <goals> |
| 159 | + <goal>integration-test</goal> |
| 160 | + <goal>verify</goal> |
| 161 | + </goals> |
| 162 | + </execution> |
| 163 | + </executions> |
| 164 | + </plugin> |
| 165 | + </plugins> |
| 166 | + </build> |
| 167 | + |
| 168 | + <profiles> |
| 169 | + <profile> |
| 170 | + <id>skip-integration-tests</id> |
| 171 | + <activation> |
| 172 | + <property> |
| 173 | + <name>!env.AGENTCORE_IT</name> |
| 174 | + </property> |
| 175 | + </activation> |
| 176 | + <properties> |
| 177 | + <skipITs>true</skipITs> |
| 178 | + </properties> |
| 179 | + </profile> |
| 180 | + </profiles> |
| 181 | + |
| 182 | +</project> |
0 commit comments