|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | + <modelVersion>4.0.0</modelVersion> |
| 6 | + <parent> |
| 7 | + <groupId>org.evomaster</groupId> |
| 8 | + <artifactId>evomaster-e2e-tests-spring</artifactId> |
| 9 | + <version>5.1.1-SNAPSHOT</version> |
| 10 | + </parent> |
| 11 | + |
| 12 | + <artifactId>evomaster-e2e-tests-spring-mcp-bb</artifactId> |
| 13 | + <packaging>jar</packaging> |
| 14 | + |
| 15 | + <properties> |
| 16 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 17 | + <spring.ai.version>1.1.0</spring.ai.version> |
| 18 | + <!-- |
| 19 | + Spring AI 1.x requires Spring Boot 3.3+. |
| 20 | + springboot3.version in the root pom is 3.1.5 which is too old, |
| 21 | + so we define a local version for this module. |
| 22 | + --> |
| 23 | + <springboot.mcp.version>3.5.7</springboot.mcp.version> |
| 24 | + <!-- |
| 25 | + Spring Boot 3.3.x requires Logback 1.5.x and SLF4J 2.0.x. |
| 26 | + The root pom pins logback-classic to 1.2.3 and slf4j-api to 1.7.24, |
| 27 | + so we override them here. |
| 28 | + --> |
| 29 | + <logback.mcp.version>1.5.8</logback.mcp.version> |
| 30 | + <slf4j.mcp.version>2.0.16</slf4j.mcp.version> |
| 31 | + </properties> |
| 32 | + |
| 33 | + <dependencyManagement> |
| 34 | + <dependencies> |
| 35 | + <!-- |
| 36 | + The parent pom pins spring-boot to ${springboot.version} (2.5.4). |
| 37 | + Override all Spring Boot artifacts to 3.3.x needed by Spring AI 1.x. |
| 38 | + --> |
| 39 | + <dependency> |
| 40 | + <groupId>org.springframework.boot</groupId> |
| 41 | + <artifactId>spring-boot</artifactId> |
| 42 | + <version>${springboot.mcp.version}</version> |
| 43 | + </dependency> |
| 44 | + <dependency> |
| 45 | + <groupId>org.springframework.boot</groupId> |
| 46 | + <artifactId>spring-boot-autoconfigure</artifactId> |
| 47 | + <version>${springboot.mcp.version}</version> |
| 48 | + </dependency> |
| 49 | + <!-- |
| 50 | + The root pom pins logback to 1.2.3 and slf4j to 1.7.24 globally. |
| 51 | + Spring Boot 3.3.x requires Logback 1.5.x (Configurator interface changed) |
| 52 | + and SLF4J 2.0.x. Override here to avoid AbstractMethodError at startup. |
| 53 | + --> |
| 54 | + <dependency> |
| 55 | + <groupId>ch.qos.logback</groupId> |
| 56 | + <artifactId>logback-classic</artifactId> |
| 57 | + <version>${logback.mcp.version}</version> |
| 58 | + </dependency> |
| 59 | + <dependency> |
| 60 | + <groupId>ch.qos.logback</groupId> |
| 61 | + <artifactId>logback-core</artifactId> |
| 62 | + <version>${logback.mcp.version}</version> |
| 63 | + </dependency> |
| 64 | + <dependency> |
| 65 | + <groupId>org.slf4j</groupId> |
| 66 | + <artifactId>slf4j-api</artifactId> |
| 67 | + <version>${slf4j.mcp.version}</version> |
| 68 | + </dependency> |
| 69 | + <dependency> |
| 70 | + <groupId>org.springframework.ai</groupId> |
| 71 | + <artifactId>spring-ai-bom</artifactId> |
| 72 | + <version>${spring.ai.version}</version> |
| 73 | + <type>pom</type> |
| 74 | + <scope>import</scope> |
| 75 | + </dependency> |
| 76 | + </dependencies> |
| 77 | + </dependencyManagement> |
| 78 | + |
| 79 | + <dependencies> |
| 80 | + <dependency> |
| 81 | + <groupId>org.jetbrains.kotlin</groupId> |
| 82 | + <artifactId>kotlin-stdlib</artifactId> |
| 83 | + </dependency> |
| 84 | + <dependency> |
| 85 | + <groupId>org.jetbrains.kotlin</groupId> |
| 86 | + <artifactId>kotlin-reflect</artifactId> |
| 87 | + </dependency> |
| 88 | + |
| 89 | + <dependency> |
| 90 | + <groupId>org.springframework.boot</groupId> |
| 91 | + <artifactId>spring-boot-starter-validation</artifactId> |
| 92 | + <version>${springboot.mcp.version}</version> |
| 93 | + </dependency> |
| 94 | + <dependency> |
| 95 | + <groupId>org.springframework.boot</groupId> |
| 96 | + <artifactId>spring-boot-starter-web</artifactId> |
| 97 | + <version>${springboot.mcp.version}</version> |
| 98 | + </dependency> |
| 99 | + <dependency> |
| 100 | + <groupId>org.springframework.boot</groupId> |
| 101 | + <artifactId>spring-boot-starter-test</artifactId> |
| 102 | + <version>${springboot.mcp.version}</version> |
| 103 | + <scope>test</scope> |
| 104 | + </dependency> |
| 105 | + <dependency> |
| 106 | + <groupId>org.springframework.ai</groupId> |
| 107 | + <artifactId>spring-ai-starter-mcp-server-webmvc</artifactId> |
| 108 | + </dependency> |
| 109 | + |
| 110 | + <dependency> |
| 111 | + <groupId>org.evomaster</groupId> |
| 112 | + <artifactId>evomaster-e2e-tests-utils</artifactId> |
| 113 | + <version>${project.version}</version> |
| 114 | + </dependency> |
| 115 | + <dependency> |
| 116 | + <groupId>org.evomaster</groupId> |
| 117 | + <artifactId>evomaster-e2e-tests-utils</artifactId> |
| 118 | + <type>test-jar</type> |
| 119 | + </dependency> |
| 120 | + <dependency> |
| 121 | + <groupId>org.evomaster</groupId> |
| 122 | + <artifactId>evomaster-client-java-controller</artifactId> |
| 123 | + </dependency> |
| 124 | + <dependency> |
| 125 | + <groupId>org.evomaster</groupId> |
| 126 | + <artifactId>evomaster-client-java-controller</artifactId> |
| 127 | + <scope>test</scope> |
| 128 | + <exclusions> |
| 129 | + <exclusion> |
| 130 | + <groupId>javax.validation</groupId> |
| 131 | + <artifactId>validation-api</artifactId> |
| 132 | + </exclusion> |
| 133 | + </exclusions> |
| 134 | + </dependency> |
| 135 | + <dependency> |
| 136 | + <groupId>org.evomaster</groupId> |
| 137 | + <artifactId>evomaster-core</artifactId> |
| 138 | + <scope>test</scope> |
| 139 | + </dependency> |
| 140 | + |
| 141 | + <dependency> |
| 142 | + <groupId>org.junit.jupiter</groupId> |
| 143 | + <artifactId>junit-jupiter-engine</artifactId> |
| 144 | + </dependency> |
| 145 | + <dependency> |
| 146 | + <groupId>org.junit.jupiter</groupId> |
| 147 | + <artifactId>junit-jupiter-params</artifactId> |
| 148 | + </dependency> |
| 149 | + <dependency> |
| 150 | + <groupId>io.rest-assured</groupId> |
| 151 | + <artifactId>rest-assured</artifactId> |
| 152 | + </dependency> |
| 153 | + <dependency> |
| 154 | + <groupId>org.hamcrest</groupId> |
| 155 | + <artifactId>hamcrest-all</artifactId> |
| 156 | + </dependency> |
| 157 | + </dependencies> |
| 158 | + |
| 159 | + <build> |
| 160 | + <plugins> |
| 161 | + <plugin> |
| 162 | + <artifactId>kotlin-maven-plugin</artifactId> |
| 163 | + <groupId>org.jetbrains.kotlin</groupId> |
| 164 | + <configuration> |
| 165 | + <jvmTarget>${java.version}</jvmTarget> |
| 166 | + <args> |
| 167 | + <arg>-java-parameters</arg> |
| 168 | + </args> |
| 169 | + </configuration> |
| 170 | + </plugin> |
| 171 | + <plugin> |
| 172 | + <groupId>org.apache.maven.plugins</groupId> |
| 173 | + <artifactId>maven-compiler-plugin</artifactId> |
| 174 | + </plugin> |
| 175 | + <plugin> |
| 176 | + <groupId>org.apache.maven.plugins</groupId> |
| 177 | + <artifactId>maven-surefire-plugin</artifactId> |
| 178 | + <configuration> |
| 179 | + <!-- Otherwise tests using mvn will not work --> |
| 180 | + <redirectTestOutputToFile>false</redirectTestOutputToFile> |
| 181 | + <environmentVariables> |
| 182 | + <SKIP_INSTRUMENTATION>true</SKIP_INSTRUMENTATION> |
| 183 | + </environmentVariables> |
| 184 | + </configuration> |
| 185 | + </plugin> |
| 186 | + </plugins> |
| 187 | + </build> |
| 188 | + |
| 189 | +</project> |
0 commit comments