Declare spring-context as optional in web, webflux, messaging, jms [SPR-15733] #20289
Labels
in: messaging
Issues in messaging modules (jms, messaging)
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: task
A general task
Milestone
Juergen Hoeller opened SPR-15733 and commented
spring-context
is actually not required for web or messaging clients, and not for minimal functional server applications with WebFlux either. Let's consistently declare that dependency as optional so that it doesn't transitively appear in minimal scenarios.Some existing consumers of
spring-web
andspring-jms
may have to declarespring-context
explicitly if needed, which shouldn't be too big a deal.Affects: 5.0 RC2
Referenced from: commits 1306bb9
The text was updated successfully, but these errors were encountered: