Skip to content

Commit

Permalink
build(flagd): reduce build time by excluding protobug files from spot…
Browse files Browse the repository at this point in the history
…bugs (#1140)

Signed-off-by: Simon Schrottner <[email protected]>
  • Loading branch information
aepfli authored Jan 3, 2025
1 parent 15f8e59 commit 761a3d8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
9 changes: 8 additions & 1 deletion providers/flagd/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,14 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<version>4.8.6.6</version>
<configuration>
<onlyAnalyze>dev.openfeature.contrib.-</onlyAnalyze>
</configuration>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>3.3.1</version>
Expand Down
6 changes: 3 additions & 3 deletions spotbugs-exclusions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@

<!-- Ignore generated dev.openfeature.flagd.grpc schemas -->
<Match>
<Package name="~dev.openfeature.flagd.grpc.*" />
<Package name="~dev\.openfeature\.flagd\.grpc.*" />
</Match>

<!-- Ignore generated dev.openfeature.flagd.sync schemas -->
<Match>
<Package name="dev.openfeature.flagd.sync.*" />
<Package name="~dev\.openfeature\.flagd\.sync.*" />
</Match>

<!-- Allow predictable random for backoff jitter generation -->
Expand All @@ -24,4 +24,4 @@
<Bug code="IJU" />
</Not>
</Match>
</FindBugsFilter>
</FindBugsFilter>

0 comments on commit 761a3d8

Please sign in to comment.