Skip to content

Commit

Permalink
Fix dependency analyze
Browse files Browse the repository at this point in the history
It doesn't detect inlined string constants as dependency use.
  • Loading branch information
freemanjp committed Mar 3, 2024
1 parent 7727c1c commit 66d81ca
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,23 @@
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>analyze-dependencies</id>
<goals>
<goal>analyze-only</goal>
</goals>
<configuration>
<ignoredUnusedDeclaredDependencies combine.children="append">
<dependency>com.pinterest.ktlint:ktlint-cli-reporter-plain</dependency>
</ignoredUnusedDeclaredDependencies>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
Expand Down

0 comments on commit 66d81ca

Please sign in to comment.