Repository navigation
Expand file tree
/
Copy pathpom.xml
More file actions
105 lines (100 loc) · 4.58 KB
/
Copy pathpom.xml
File metadata and controls
105 lines (100 loc) · 4.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<?xml version="1.0" encoding="UTF-8"?>
<!--
The Spring Boot programs of the framework smoke cells (integration-testing/smoke.json): an
@AcpAgent bean served by acp-spring-boot-starter (interop.spring.agent: stdio, or Streamable HTTP
and WebSocket on server.port, through the servlet in a servlet web application or the WebFlux
host in a reactive one), and an ACP client bean
the starter builds from spring.acp.client.* (interop.spring.client). The agent's handlers and the
client's steps are the shared sources of programs/framework. Not a module of the SDK reactor:
launch/build.sh builds it against the SDK installed from this checkout (-Dacp.version) and the
starter's Spring Boot version (-Dspring-boot.version).
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.agentclientprotocol.integration</groupId>
<artifactId>acp-integration-spring</artifactId>
<version>1</version>
<properties>
<!-- Both set by launch/build.sh; never literals here, so the release workflow's SNAPSHOT check stays clean. -->
<acp.version>set-by-build.sh</acp.version>
<spring-boot.version>set-by-build.sh</spring-boot.version>
<maven.compiler.release>17</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>com.agentclientprotocol</groupId>
<artifactId>acp-spring-boot-starter</artifactId>
<version>${acp.version}</version>
</dependency>
<!-- spring.acp.agent.transport.type=http in a servlet web application: the SDK's servlet,
mounted on the application's own server (server.port), Streamable HTTP and WebSocket -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-webmvc</artifactId>
</dependency>
<dependency>
<groupId>com.agentclientprotocol</groupId>
<artifactId>acp-http-servlet</artifactId>
<version>${acp.version}</version>
</dependency>
<!-- With the reactive web flag, a WebFlux application: the SDK's WebFlux host routed on the
application's own Reactor Netty server (server.port), Streamable HTTP and WebSocket -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-webflux</artifactId>
</dependency>
<dependency>
<groupId>com.agentclientprotocol</groupId>
<artifactId>acp-http-webflux</artifactId>
<version>${acp.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.8.1</version>
</plugin>
<!-- The shared smoke agent handlers and client steps -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.6.0</version>
<executions>
<execution>
<id>framework-sources</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${project.basedir}/../framework/src/main/java</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>