Skip to content

cloudevents-bom pulls in jakarta.jakartaee-bom from the parent #749

Description

@AdzerKI

cloudevents-bom has cloudevents-parent as its parent, and the parent's dependencyManagement imports jakarta.platform:jakarta.jakartaee-bom. The BOM inherits that import, so every project that imports cloudevents-bom also gets the whole Jakarta EE BOM.

In a Spring Boot 4 build this overrides the Jakarta API versions Spring Boot manages with the ones from the CloudEvents release (5.0.0 brings Jakarta EE 10). We had to stop importing the BOM and pin the CloudEvents modules one by one.

Only the restful-ws-jakarta modules need the Jakarta EE BOM, so the import can live there. With that change ./mvnw verify passes and help:effective-pom -pl bom no longer manages Jakarta artifacts. I'll open a PR.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    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