Skip to content

feat: Updated Spring AI to 2.0.0, ECJ, build works with Java 25#1298

Merged
copybara-service[bot] merged 1 commit into
google:mainfrom
ddobrin:spring-update
Jun 26, 2026
Merged

feat: Updated Spring AI to 2.0.0, ECJ, build works with Java 25#1298
copybara-service[bot] merged 1 commit into
google:mainfrom
ddobrin:spring-update

Conversation

@ddobrin

@ddobrin ddobrin commented Jun 23, 2026

Copy link
Copy Markdown
Contributor
  • Updated Spring AI to GA version 2.0.0
  • Parent pom.xml
  • Added false to the maven-compiler-plugin config (with an explanatory comment) → makes AutoValue annotation processing deterministic across all modules and JDKs, including JDK 25
  • Removed the unused ecj.version property and the org.eclipse.jdt:ecj dependencyManagement entry.
  • dev/pom.xml
  • Removed the unused org.eclipse.jdt:ecj dependency.

Comment thread contrib/spring-ai/pom.xml Outdated
<scope>test</scope>
</dependency>
<dependency>
<!-- <dependency>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

is it intentional we are commenting out those dependencies?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

These are deprecated libraries. Vertex SDK is at the end of its lifecycle at the end of June.
Will remove from pom.xml

@ddobrin ddobrin changed the title Updated Spring AI to 2.0.0, ECJ, build works with Java 25 fix: Updated Spring AI to 2.0.0, ECJ, build works with Java 25 Jun 25, 2026

@damianmomotgoogle damianmomotgoogle left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

commit message still needs updating with "feat:" - otherwise it will be dropped from release notes

@ddobrin ddobrin changed the title fix: Updated Spring AI to 2.0.0, ECJ, build works with Java 25 feat: Updated Spring AI to 2.0.0, ECJ, build works with Java 25 Jun 26, 2026
@copybara-service copybara-service Bot merged commit d3068c5 into google:main Jun 26, 2026
12 checks passed
@ddobrin ddobrin deleted the spring-update branch June 26, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants