Skip to content

Refresh Spring Boot and Couchbase dependencies#148

Open
dex-the-ai wants to merge 1 commit intomainfrom
deps/update-2026-05-04
Open

Refresh Spring Boot and Couchbase dependencies#148
dex-the-ai wants to merge 1 commit intomainfrom
deps/update-2026-05-04

Conversation

@dex-the-ai
Copy link
Copy Markdown

Summary

  • bump Spring Boot parent from 4.0.1 to 4.0.3
  • bump Couchbase Java client from 3.10.0 to 3.11.1, dotenv-java to 3.2.0, maven-compiler-plugin to 3.15.0, and surefire/failsafe to 3.5.5
  • fix .env.example comment drift so it references the current Spring Boot 4.0+ Couchbase property surface

Verification

  • JAVA_HOME=/usr/lib/jvm/java-21-openjdk-arm64 ./mvnw clean test -B
  • JAVA_HOME=/usr/lib/jvm/java-17-openjdk-arm64 ./mvnw clean test -B
  • JAVA_HOME=/usr/lib/jvm/java-17-openjdk-arm64 ./mvnw spring-boot:run -Dspring-boot.run.arguments=--server.port=18080
  • curl -I http://127.0.0.1:18080/
  • curl -s http://127.0.0.1:18080/swagger-ui/index.html
  • curl -s http://127.0.0.1:18080/v3/api-docs
  • curl -s http://127.0.0.1:18080/api/v1/airport/airport_1255
  • curl -s "http://127.0.0.1:18080/api/v1/airline/list?country=France&limit=2&offset=0"

Evidence

  • Baseline main passed locally on JDK 21: 18 tests, 0 failures, 0 errors
  • Updated branch passed locally on JDK 17: 18 tests, 0 failures, 0 errors
  • Live walkthrough on the updated branch succeeded against local Couchbase / travel-sample
  • / redirected to Swagger UI, /v3/api-docs reported Quickstart in Couchbase with Spring Boot with 8 paths, and the airport / airline endpoints returned expected live data
  • First spring-boot:run attempt on the default port hit a local 8080 port conflict, so the walkthrough was re-run successfully on 18080
  • tutorial-maintenance/runs/java-springboot-quickstart/2026-05-05T0145Z-subagent/verification.md
  • tutorial-maintenance/runs/java-springboot-quickstart/2026-05-05T0145Z-subagent/commands.txt
  • tutorial-maintenance/runs/java-springboot-quickstart/2026-05-05T0145Z-subagent/baseline-test.log
  • tutorial-maintenance/runs/java-springboot-quickstart/2026-05-05T0145Z-subagent/updated-test-jdk17.log
  • tutorial-maintenance/runs/java-springboot-quickstart/2026-05-05T0145Z-subagent/app-run-18080.log
  • tutorial-maintenance/runs/java-springboot-quickstart/2026-05-05T0145Z-subagent/walkthrough-requests-3.txt

Notes

  • No active Dex-owned PR existed for this repo when this pass started.
  • I did not attach a Swagger screenshot because browser/screenshot tooling was not available in this subagent runtime; request/response proof and startup logs are included instead.

@dex-the-ai dex-the-ai requested review from jdmuntacb and teetangh May 5, 2026 02:13
@dex-the-ai
Copy link
Copy Markdown
Author

Owner ping for this maintenance PR: @teetangh @jdmuntacb

Requesting review from the manifest-listed owner(s) where GitHub does not already show a pending review request.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates several dependency and plugin versions in the pom.xml and modifies the Spring Boot version reference in .env.example. However, the review identifies that most of the proposed versions—including those for Spring Boot, the Couchbase SDK, and various Maven plugins—do not exist in Maven Central and will cause build failures. Additionally, the documentation update refers to a non-existent Spring Boot 4.0 release and should be corrected to a valid version.

Comment thread pom.xml
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>4.0.1</version>
<version>4.0.3</version>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

The version 4.0.3 for spring-boot-starter-parent does not exist in Maven Central. The current stable major version is 3.x (e.g., 3.4.3). Using a non-existent version will prevent the project from building as the parent POM cannot be resolved.

Suggested change
<version>4.0.3</version>
<version>3.4.3</version>

Comment thread pom.xml
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<couchbase.version>3.10.0</couchbase.version>
<couchbase.version>3.11.1</couchbase.version>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

The version 3.11.1 for couchbase.version (Couchbase Java SDK) is not a valid release. The latest stable version in the 3.x series is 3.7.7. Additionally, other versions in this block like lombok.version 1.18.42 and springdoc.version 3.0.1 also appear to be non-existent.

Suggested change
<couchbase.version>3.11.1</couchbase.version>
<couchbase.version>3.7.7</couchbase.version>

Comment thread pom.xml
<springdoc.version>3.0.1</springdoc.version>
<junit.version>4.13.2</junit.version>
<maven-surefire.version>3.5.4</maven-surefire.version>
<maven-surefire.version>3.5.5</maven-surefire.version>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The version 3.5.5 for maven-surefire-plugin is not available. The latest stable release is 3.5.2. Using non-existent plugin versions will cause build failures during the test phase.

Suggested change
<maven-surefire.version>3.5.5</maven-surefire.version>
<maven-surefire.version>3.5.2</maven-surefire.version>

Comment thread pom.xml
<groupId>io.github.cdimascio</groupId>
<artifactId>dotenv-java</artifactId>
<version>3.0.2</version>
<version>3.2.0</version>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The version 3.2.0 for dotenv-java does not exist on Maven Central. The latest stable version is 3.0.0. It appears several dependency versions in this PR are invalid and will break the build.

Suggested change
<version>3.2.0</version>
<version>3.0.0</version>

Comment thread pom.xml
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.14.0</version>
<version>3.15.0</version>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The version 3.15.0 for maven-compiler-plugin is not a valid release. The latest stable version is 3.13.0. Using an invalid version will prevent the project from compiling.

Suggested change
<version>3.15.0</version>
<version>3.13.0</version>

Comment thread .env.example
#
# These environment variables are used for database connection
# and correspond to the Spring Boot 3.5+ Couchbase properties:
# and correspond to the Spring Boot 4.0+ Couchbase properties:
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The reference to 'Spring Boot 4.0+' is incorrect as Spring Boot 4 has not been released. The properties listed (e.g., spring.couchbase.connection-string) were introduced in Spring Boot 3.0. This should be updated to 'Spring Boot 3.0+' to avoid confusion.

# and correspond to the Spring Boot 3.0+ Couchbase properties:

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.

1 participant