Skip to content

chore(deps): update @AutoConfigureMockMvc import for Spring Boot 4 modularization#218

Closed
Copilot wants to merge 2 commits intodependabot/maven/spring-boot.version-4.0.1from
copilot/sub-pr-217
Closed

chore(deps): update @AutoConfigureMockMvc import for Spring Boot 4 modularization#218
Copilot wants to merge 2 commits intodependabot/maven/spring-boot.version-4.0.1from
copilot/sub-pr-217

Conversation

Copy link

Copilot AI commented Jan 25, 2026

Spring Boot 4 relocated @AutoConfigureMockMvc to a new package as part of its modularization effort.

Changes

  • Updated import path: org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvcorg.springframework.boot.webmvc.test.autoconfigure.AutoConfigureMockMvc
  • Added dependency: spring-boot-webmvc-test module (test scope) to support the relocated annotation

Files affected:

  • kotlin-asyncapi-spring-web/pom.xml
  • kotlin-asyncapi-spring-web/src/test/kotlin/com/asyncapi/kotlinasyncapi/springweb/controller/AsyncApiControllerIntegrationTest.kt

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: lorenzsimon <39913716+lorenzsimon@users.noreply.github.com>
Copy link
Author

Copilot AI commented Jan 25, 2026

Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • docs.oracle.com
    • Triggering command: /usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java --enable-native-access=ALL-UNNAMED -classpath /usr/share/apache-maven-3.9.12/boot/plexus-classworlds-2.9.0.jar -Dclassworlds.conf=/usr/share/apache-maven-3.9.12/bin/m2.conf -Dmaven.home=/usr/share/apache-maven-3.9.12 -Dlibrary.jansi.path=/usr/share/apache-maven-3.9.12/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/REDACTED/work/kotlin-asyncapi/kotlin-asyncapi org.codehaus.plexus.classworlds.launcher.Launcher clean install -DskipTests (dns block)
  • kotlinlang.org
    • Triggering command: /usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java --enable-native-access=ALL-UNNAMED -classpath /usr/share/apache-maven-3.9.12/boot/plexus-classworlds-2.9.0.jar -Dclassworlds.conf=/usr/share/apache-maven-3.9.12/bin/m2.conf -Dmaven.home=/usr/share/apache-maven-3.9.12 -Dlibrary.jansi.path=/usr/share/apache-maven-3.9.12/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/REDACTED/work/kotlin-asyncapi/kotlin-asyncapi org.codehaus.plexus.classworlds.launcher.Launcher clean install -DskipTests (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI changed the title [WIP] Update spring-boot version from 3.5.7 to 4.0.1 chore(deps): update @AutoConfigureMockMvc import for Spring Boot 4 modularization Jan 25, 2026
Copilot AI requested a review from lorenzsimon January 25, 2026 09:30
@lorenzsimon
Copy link
Member

Handled in another pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants