Skip to content

Allow dependencies that are prohibited by default to be permitted #45920

@wilkinsona

Description

@wilkinsona
Member

org.apache.maven.plugins.annotations.Component has been deprecated in favor of using constructor injection with javax.inject.Inject. By default, javax.inject:javax.inject is a prohibited dependency as it doesn't align with our Jakarta EE baseline. We need to be able to allow it in spring-boot-maven-plugin so that we can migrate away from the deprecated @Component annotation.

Activity

added this to the 3.5.x milestone on Jun 12, 2025
self-assigned this
on Jun 12, 2025
modified the milestones: 3.5.x, 3.5.1 on Jun 12, 2025
added a commit that references this issue on Jun 12, 2025
f68e5b3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @wilkinsona

      Issue actions

        Allow dependencies that are prohibited by default to be permitted · Issue #45920 · spring-projects/spring-boot