Skip to content

Remove JetBrains annotations dependency from Spring AOT module #4997

Closed

Description

@brendandburns

Summary

spring-aot declares org.jetbrains:annotations but the only production use is @NotNull on the beanFactory parameter in KubernetesBeanFactoryInitializationAotProcessor.processAheadOfTime. The annotation can be removed (or replaced with an already available Spring annotation if required), allowing the direct dependency to be dropped.

Scope

  • Remove the single JetBrains @NotNull use from the Spring AOT processor.
  • Remove org.jetbrains:annotations from spring-aot/pom.xml and related dependency management if no longer needed elsewhere.
  • Verify the Spring AOT module compiles and its tests/build pass.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions