Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable maven exclusion semantics in Spring Dependency Management Plugin
Starting with Spring Dependency Management Plugin version 1.1.0, invalid POMs cause the plugin to fail. Unfortunately, Sonar has dependencies that have invalid POMs, and it doesn't appear that Sonar is going to change to use dependencies with valid POMs any time soon. Therefore, in order to continuing using the name.remal.sonarlint plugin, there are only two options: 1. Downgrade Sonar to a version that has dependencies all with valid POMs. That could be done by adding a dependency on: `sonarlintCorePlugins("org.sonarsource.java:sonar-java-plugin:7.18.0.31443")` However, it's not ideal to be stuck on an old version for an indeterminate amount of time. 2. Disable Spring Dependency Management Plugin's new maven exclusion semantics. There doesn't appear to be a downside for this project in doing so. See: spring-gradle-plugins/dependency-management-plugin#365 See: https://community.sonarsource.com/t/sonar-java-plugin-has-dependencies-with-invalid-poms/96334/6
- Loading branch information