Skip to content

Commit 27f259e

Browse files
HerrDerbbitwiseman
andauthored
Include optional dependecies to avoid compile warnings (#2113)
* Include optional dependecies to avoid warnings * Sort pom --------- Co-authored-by: Liam Newman <[email protected]>
1 parent 8644e37 commit 27f259e

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

pom.xml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -146,11 +146,15 @@
146146
<groupId>com.fasterxml.jackson.datatype</groupId>
147147
<artifactId>jackson-datatype-jsr310</artifactId>
148148
</dependency>
149+
<dependency>
150+
<groupId>com.github.spotbugs</groupId>
151+
<artifactId>spotbugs-annotations</artifactId>
152+
<version>${spotbugs.version}</version>
153+
</dependency>
149154
<dependency>
150155
<groupId>com.infradna.tool</groupId>
151156
<artifactId>bridge-method-annotation</artifactId>
152157
<version>1.31</version>
153-
<optional>true</optional>
154158
</dependency>
155159
<dependency>
156160
<groupId>com.squareup.okhttp3</groupId>
@@ -192,12 +196,6 @@
192196
<artifactId>commons-lang3</artifactId>
193197
<version>3.18.0</version>
194198
</dependency>
195-
<dependency>
196-
<groupId>com.github.spotbugs</groupId>
197-
<artifactId>spotbugs-annotations</artifactId>
198-
<version>${spotbugs.version}</version>
199-
<scope>provided</scope>
200-
</dependency>
201199
<dependency>
202200
<groupId>com.github.npathai</groupId>
203201
<artifactId>hamcrest-optional</artifactId>
@@ -494,10 +492,10 @@
494492
<importOrder>
495493
<file>${basedir}/src/build/eclipse/eclipse.importorder</file>
496494
</importOrder>
497-
495+
498496
<removeUnusedImports></removeUnusedImports>
499-
<formatAnnotations />
500-
497+
<formatAnnotations></formatAnnotations>
498+
501499
<trimTrailingWhitespace></trimTrailingWhitespace>
502500
<endWithNewline></endWithNewline>
503501

0 commit comments

Comments
 (0)