|
211 | 211 | <commons.jacoco.version>0.8.7</commons.jacoco.version> |
212 | 212 | <commons.surefire-report.version>3.0.0-M5</commons.surefire-report.version> |
213 | 213 | <commons.surefire.version>3.0.0-M5</commons.surefire.version> |
| 214 | + <spotbugs.plugin.version>4.4.1</spotbugs.plugin.version> |
| 215 | + <spotbugs.impl.version>4.4.1</spotbugs.impl.version> |
214 | 216 | </properties> |
215 | 217 |
|
216 | 218 | <build> |
217 | | - <defaultGoal>clean package apache-rat:check clirr:check checkstyle:check findbugs:check javadoc:javadoc</defaultGoal> |
| 219 | + <defaultGoal>clean package apache-rat:check clirr:check checkstyle:check spotbugs:check javadoc:javadoc</defaultGoal> |
218 | 220 | <pluginManagement> |
219 | 221 | <plugins> |
220 | 222 | <plugin> |
|
246 | 248 | </dependency> |
247 | 249 | </dependencies> |
248 | 250 | </plugin> |
249 | | - <plugin> |
250 | | - <groupId>org.codehaus.mojo</groupId> |
251 | | - <artifactId>findbugs-maven-plugin</artifactId> |
252 | | - <version>${commons.findbugs.version}</version> |
253 | | - <configuration> |
254 | | - <threshold>Normal</threshold> |
255 | | - <effort>Default</effort> |
256 | | - <excludeFilterFile>${basedir}/src/conf/findbugs-exclude-filter.xml</excludeFilterFile> |
257 | | - </configuration> |
258 | | - </plugin> |
| 251 | + <plugin> |
| 252 | + <groupId>com.github.spotbugs</groupId> |
| 253 | + <artifactId>spotbugs-maven-plugin</artifactId> |
| 254 | + <version>${spotbugs.plugin.version}</version> |
| 255 | + <dependencies> |
| 256 | + <dependency> |
| 257 | + <groupId>com.github.spotbugs</groupId> |
| 258 | + <artifactId>spotbugs</artifactId> |
| 259 | + <version>${spotbugs.impl.version}</version> |
| 260 | + </dependency> |
| 261 | + </dependencies> |
| 262 | + <configuration> |
| 263 | + <excludeFilterFile>${basedir}/src/conf/spotbugs-exclude-filter.xml</excludeFilterFile> |
| 264 | + </configuration> |
| 265 | + </plugin> |
259 | 266 | <plugin> |
260 | 267 | <groupId>org.apache.maven.plugins</groupId> |
261 | 268 | <artifactId>maven-scm-publish-plugin</artifactId> |
|
272 | 279 | <groupId>org.apache.maven.plugins</groupId> |
273 | 280 | <artifactId>maven-checkstyle-plugin</artifactId> |
274 | 281 | </plugin> |
| 282 | + <plugin> |
| 283 | + <groupId>com.github.spotbugs</groupId> |
| 284 | + <artifactId>spotbugs-maven-plugin</artifactId> |
| 285 | + </plugin> |
275 | 286 | <plugin> |
276 | 287 | <artifactId>maven-assembly-plugin</artifactId> |
277 | 288 | <configuration> |
|
313 | 324 | <groupId>org.apache.maven.plugins</groupId> |
314 | 325 | <artifactId>maven-checkstyle-plugin</artifactId> |
315 | 326 | </plugin> |
| 327 | + <plugin> |
| 328 | + <groupId>com.github.spotbugs</groupId> |
| 329 | + <artifactId>spotbugs-maven-plugin</artifactId> |
| 330 | + </plugin> |
316 | 331 | <plugin> |
317 | 332 | <groupId>org.apache.rat</groupId> |
318 | 333 | <artifactId>apache-rat-plugin</artifactId> |
|
0 commit comments