Skip to content

Commit 7499229

Browse files
authored
build: Remove unused dependencies and set test scope where necessary (#71)
1 parent d76afa3 commit 7499229

File tree

1 file changed

+1
-31
lines changed

1 file changed

+1
-31
lines changed

pom.xml

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@
3838
<testng-version>6.14.3</testng-version>
3939
<surefire-version>3.0.0-M3</surefire-version>
4040
<checkstyle-plugin-version>3.0.0</checkstyle-plugin-version>
41-
<findbugs-plugin-version>3.0.5</findbugs-plugin-version>
42-
<findbugs-version>3.0.1</findbugs-version>
4341
<jacoco-plugin-version>0.8.3</jacoco-plugin-version>
4442
<compiler-plugin-version>3.8.0</compiler-plugin-version>
4543
<okhttp3-version>3.12.1</okhttp3-version>
@@ -117,16 +115,6 @@
117115
<version>${testng-version}</version>
118116
<scope>test</scope>
119117
</dependency>
120-
<dependency>
121-
<groupId>com.google.code.findbugs</groupId>
122-
<artifactId>annotations</artifactId>
123-
<version>${findbugs-version}</version>
124-
</dependency>
125-
<dependency>
126-
<groupId>com.google.code.findbugs</groupId>
127-
<artifactId>jsr305</artifactId>
128-
<version>${findbugs-version}</version>
129-
</dependency>
130118
<dependency>
131119
<groupId>com.google.guava</groupId>
132120
<artifactId>guava</artifactId>
@@ -146,6 +134,7 @@
146134
<groupId>org.mockito</groupId>
147135
<artifactId>mockito-core</artifactId>
148136
<version>${mockito-version}</version>
137+
<scope>test</scope>
149138
</dependency>
150139
<dependency>
151140
<groupId>org.powermock</groupId>
@@ -208,25 +197,6 @@
208197
<consoleOutput>true</consoleOutput>
209198
</configuration>
210199
</plugin>
211-
<plugin>
212-
<groupId>org.codehaus.mojo</groupId>
213-
<artifactId>findbugs-maven-plugin</artifactId>
214-
<version>${findbugs-plugin-version}</version>
215-
<configuration>
216-
<xmlOutput>true</xmlOutput>
217-
<excludeFilterFile>build/findbugs-exclude.xml</excludeFilterFile>
218-
<effort>Max</effort>
219-
<threshold>Low</threshold>
220-
</configuration>
221-
<executions>
222-
<execution>
223-
<phase>verify</phase>
224-
<goals>
225-
<goal>findbugs</goal>
226-
</goals>
227-
</execution>
228-
</executions>
229-
</plugin>
230200
<plugin>
231201
<groupId>org.jacoco</groupId>
232202
<artifactId>jacoco-maven-plugin</artifactId>

0 commit comments

Comments
 (0)