ben-manes commented on PR #1198: URL: https://github.com/apache/solr/pull/1198#issuecomment-1336503053
Solr worked around the same issue wrt managed dependencies being unintentionally exported. While this fixes the pom, the gradle module metadata still includes these and, as Gradle prefers that over the pom file, it takes precedence for consumers who use a Gradle build. To resolve that, I [switched](https://github.com/ben-manes/caffeine/commit/7321a56a0fe92308c5b20c2a789ab77907ca480e) to not applying constraint to the published configuration, which removed the section from the metadata files. https://github.com/apache/solr/blob/1a940ade468074fb6bfed8acf699d2f2c570edf5/gradle/maven/defaults-maven.gradle#L152-L161 -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
