matrei commented on PR #15320: URL: https://github.com/apache/grails-core/pull/15320#issuecomment-3772902313
> So it looks like the exclusions added to grails-gsp are now being properly applied. The side effect is several of the libraries that are included by Gradle are not being included when using spring dependency management plugin. > > These appear the ones needed under grails-gsp: > > 1. grails-encoder exports groovy-json > > 2. grails-web-common exports spring-webmvc > > > Removing the excludes fixes the interceptor tests. I suspect we'll find more as we test. I'm not sure this is the right solution. Why is it the responsibility of `grails-encoder` to provide `groovy-json` via `grails-gsp`, even though it is not used in `grails-gsp` API scope? And why is it the responsibility of `grails-gsp` to provide `spring-webmvc` from `grails-web-common`? What if the application does not use the GSP plugin? I think we can do this workaround for now, but keep the exclusions (commented out) with a comment explaining why they are not excluded. I'll add that change for review. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
