Skip to content

Commit

Permalink
Really don't shade slf4j-sonar-log
Browse files Browse the repository at this point in the history
  • Loading branch information
henryju committed Feb 11, 2021
1 parent ef42a74 commit 6768a41
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
<groupId>${project.groupId}</groupId>
<artifactId>sonarlint-slf4j-sonar-log</artifactId>
<version>${project.version}</version>
<!-- Not needed in classpath, will be packaged as JAR by m-dep-p -->
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.sonarsource.sonarqube</groupId>
Expand Down Expand Up @@ -323,6 +321,13 @@
<exclude>*.proto</exclude>
</excludes>
</filter>
<filter>
<artifact>${project.groupId}:sonarlint-slf4j-sonar-log</artifact>
<excludes>
<!-- Don't shade anything, but still remove the dependency from the pom -->
<exclude>**</exclude>
</excludes>
</filter>
<filter>
<artifact>org.sonarsource.sonarqube:sonar-plugin-api</artifact>
<includes>
Expand All @@ -331,6 +336,8 @@
<excludes>
<exclude>**/JsonWriter.class</exclude>
<exclude>**/internal/google/gson/**</exclude>
<!-- Overridden by SonarLint -->
<exclude>org/sonar/api/utils/log/Loggers.class</exclude>
</excludes>
</filter>
</filters>
Expand Down

0 comments on commit 6768a41

Please sign in to comment.