|
128 | 128 | </execution> |
129 | 129 | </executions> |
130 | 130 | </plugin> |
| 131 | + <!-- Checkstyle 13+ requires Java 21+. Run manually or via CI. --> |
| 132 | + <plugin> |
| 133 | + <groupId>org.apache.maven.plugins</groupId> |
| 134 | + <artifactId>maven-checkstyle-plugin</artifactId> |
| 135 | + <version>3.6.0</version> |
| 136 | + <configuration> |
| 137 | + <consoleOutput>true</consoleOutput> |
| 138 | + <configLocation>checkstyle.xml</configLocation> |
| 139 | + <violationSeverity>warning</violationSeverity> |
| 140 | + </configuration> |
| 141 | + <dependencies> |
| 142 | + <dependency> |
| 143 | + <groupId>com.puppycrawl.tools</groupId> |
| 144 | + <artifactId>checkstyle</artifactId> |
| 145 | + <version>13.0.0</version> |
| 146 | + </dependency> |
| 147 | + </dependencies> |
| 148 | + </plugin> |
131 | 149 | <plugin> |
132 | 150 | <groupId>org.apache.maven.plugins</groupId> |
133 | 151 | <artifactId>maven-site-plugin</artifactId> |
|
255 | 273 | <japicmp.baselineVersion>4.0.0</japicmp.baselineVersion> |
256 | 274 | </properties> |
257 | 275 |
|
258 | | - <reporting> |
259 | | - <plugins> |
260 | | - <plugin> |
261 | | - <groupId>org.apache.maven.plugins</groupId> |
262 | | - <artifactId>maven-checkstyle-plugin</artifactId> |
263 | | - <version>3.6.0</version> |
264 | | - <reportSets> |
265 | | - <reportSet> |
266 | | - <reports> |
267 | | - <report>checkstyle</report> |
268 | | - </reports> |
269 | | - <configuration> |
270 | | - <includeTestSourceDirectory>true</includeTestSourceDirectory> |
271 | | - </configuration> |
272 | | - </reportSet> |
273 | | - </reportSets> |
274 | | - </plugin> |
275 | | - </plugins> |
276 | | - </reporting> |
277 | | - |
278 | 276 | <distributionManagement> |
279 | 277 | <repository> |
280 | 278 | <id>sonatype-nexus-staging</id> |
|
344 | 342 | </plugins> |
345 | 343 | </build> |
346 | 344 | </profile> |
347 | | - <!-- Checkstyle 13+ requires Java 21+. --> |
348 | | - <profile> |
349 | | - <id>checkstyle-jdk21</id> |
350 | | - <activation> |
351 | | - <jdk>[21,)</jdk> |
352 | | - </activation> |
353 | | - <build> |
354 | | - <plugins> |
355 | | - <plugin> |
356 | | - <groupId>org.apache.maven.plugins</groupId> |
357 | | - <artifactId>maven-checkstyle-plugin</artifactId> |
358 | | - <version>3.6.0</version> |
359 | | - <configuration> |
360 | | - <consoleOutput>true</consoleOutput> |
361 | | - <configLocation>checkstyle.xml</configLocation> |
362 | | - <violationSeverity>warning</violationSeverity> |
363 | | - </configuration> |
364 | | - <dependencies> |
365 | | - <dependency> |
366 | | - <groupId>com.puppycrawl.tools</groupId> |
367 | | - <artifactId>checkstyle</artifactId> |
368 | | - <version>13.0.0</version> |
369 | | - </dependency> |
370 | | - </dependencies> |
371 | | - <executions> |
372 | | - <execution> |
373 | | - <id>checkstyle</id> |
374 | | - <phase>test</phase> |
375 | | - <goals> |
376 | | - <goal>check</goal> |
377 | | - </goals> |
378 | | - </execution> |
379 | | - </executions> |
380 | | - </plugin> |
381 | | - </plugins> |
382 | | - </build> |
383 | | - </profile> |
384 | 345 | </profiles> |
385 | 346 | </project> |
0 commit comments