|
273 | 273 | </configuration> |
274 | 274 | </plugin> |
275 | 275 |
|
276 | | - <plugin> |
277 | | - <groupId>org.apache.maven.plugins</groupId> |
278 | | - <artifactId>maven-checkstyle-plugin</artifactId> |
279 | | - <version>2.17</version> |
280 | | - <dependencies> |
281 | | - <dependency> |
282 | | - <groupId>com.puppycrawl.tools</groupId> |
283 | | - <artifactId>checkstyle</artifactId> |
284 | | - <version>6.19</version> |
285 | | - </dependency> |
286 | | - <dependency> |
287 | | - <groupId>com.google.guava</groupId> |
288 | | - <artifactId>guava</artifactId> |
289 | | - <version>${dep.guava.version}</version> |
290 | | - </dependency> |
291 | | - <dependency> |
292 | | - <groupId>org.slf4j</groupId> |
293 | | - <artifactId>jcl-over-slf4j</artifactId> |
294 | | - <version>1.7.5</version> |
295 | | - </dependency> |
296 | | - </dependencies> |
297 | | - <executions> |
298 | | - <execution> |
299 | | - <id>validate</id> |
300 | | - <phase>validate</phase> |
301 | | - <goals> |
302 | | - <goal>check</goal> |
303 | | - </goals> |
304 | | - </execution> |
305 | | - </executions> |
306 | | - <configuration> |
307 | | - <configLocation>google_checks.xml</configLocation> |
308 | | - <encoding>UTF-8</encoding> |
309 | | - <consoleOutput>true</consoleOutput> |
310 | | - <failsOnError>${checkstyle.failOnViolation}</failsOnError> |
311 | | - <failOnViolation>${checkstyle.failOnViolation}</failOnViolation> |
312 | | - <violationSeverity>warning</violationSeverity> |
313 | | - <format>xml</format> |
314 | | - <format>html</format> |
315 | | - <outputFile>${project.build.directory}/test/checkstyle-errors.xml</outputFile> |
316 | | - <linkXRef>false</linkXRef> |
317 | | - </configuration> |
318 | | - </plugin> |
| 276 | + <plugin> |
| 277 | + <groupId>org.apache.maven.plugins</groupId> |
| 278 | + <artifactId>maven-checkstyle-plugin</artifactId> |
| 279 | + <version>2.17</version> |
| 280 | + <dependencies> |
| 281 | + <dependency> |
| 282 | + <groupId>com.puppycrawl.tools</groupId> |
| 283 | + <artifactId>checkstyle</artifactId> |
| 284 | + <version>6.19</version> |
| 285 | + </dependency> |
| 286 | + <dependency> |
| 287 | + <groupId>com.google.guava</groupId> |
| 288 | + <artifactId>guava</artifactId> |
| 289 | + <version>${dep.guava.version}</version> |
| 290 | + </dependency> |
| 291 | + <dependency> |
| 292 | + <groupId>org.slf4j</groupId> |
| 293 | + <artifactId>jcl-over-slf4j</artifactId> |
| 294 | + <version>1.7.5</version> |
| 295 | + </dependency> |
| 296 | + </dependencies> |
| 297 | + <executions> |
| 298 | + <execution> |
| 299 | + <id>validate</id> |
| 300 | + <phase>validate</phase> |
| 301 | + <goals> |
| 302 | + <goal>check</goal> |
| 303 | + </goals> |
| 304 | + </execution> |
| 305 | + </executions> |
| 306 | + <configuration> |
| 307 | + <configLocation>google_checks.xml</configLocation> |
| 308 | + <encoding>UTF-8</encoding> |
| 309 | + <consoleOutput>true</consoleOutput> |
| 310 | + <failsOnError>${checkstyle.failOnViolation}</failsOnError> |
| 311 | + <failOnViolation>${checkstyle.failOnViolation}</failOnViolation> |
| 312 | + <violationSeverity>warning</violationSeverity> |
| 313 | + <format>xml</format> |
| 314 | + <format>html</format> |
| 315 | + <outputFile>${project.build.directory}/test/checkstyle-errors.xml</outputFile> |
| 316 | + <linkXRef>false</linkXRef> |
| 317 | + </configuration> |
| 318 | + </plugin> |
| 319 | + </plugins> |
319 | 320 |
|
| 321 | + <pluginManagement> |
| 322 | + <plugins> |
320 | 323 | <plugin> |
321 | 324 | <groupId>org.apache.maven.plugins</groupId> |
322 | 325 | <artifactId>maven-dependency-plugin</artifactId> |
323 | 326 | <version>3.0.1</version> |
324 | 327 | <executions> |
325 | 328 | <execution> |
| 329 | + <id>analyze</id> |
326 | 330 | <goals> |
327 | 331 | <goal>analyze-only</goal> |
328 | 332 | </goals> |
|
333 | 337 | </execution> |
334 | 338 | </executions> |
335 | 339 | </plugin> |
336 | | - |
337 | | - </plugins> |
338 | | - <pluginManagement> |
339 | | - |
340 | | - <plugins> |
341 | 340 | <plugin> |
342 | 341 | <groupId>org.apache.rat</groupId> |
343 | 342 | <artifactId>apache-rat-plugin</artifactId> |
|
0 commit comments