|
52 | 52 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
53 | 53 | <jackson.version>2.12.3</jackson.version> |
54 | 54 | <slf4j.version>[1.7.2,1.7.100]</slf4j.version> |
55 | | - <checkstyle.plugin.version>3.1.1</checkstyle.plugin.version> |
56 | | - <checkstyle.version>8.31</checkstyle.version> |
57 | 55 | <pluginPluginVersion>3.5.2</pluginPluginVersion> |
58 | 56 | <javadocPluginVersion>3.0.1</javadocPluginVersion> |
59 | 57 | <plexusComponentJavadocVersion>1.7.1</plexusComponentJavadocVersion> |
|
183 | 181 | <build> |
184 | 182 | <pluginManagement> |
185 | 183 | <plugins> |
186 | | - <plugin> |
187 | | - <groupId>org.apache.maven.plugins</groupId> |
188 | | - <artifactId>maven-checkstyle-plugin</artifactId> |
189 | | - <version>${checkstyle.plugin.version}</version> |
190 | | - <dependencies> |
191 | | - <dependency> |
192 | | - <groupId>com.puppycrawl.tools</groupId> |
193 | | - <artifactId>checkstyle</artifactId> |
194 | | - <version>${checkstyle.version}</version> |
195 | | - </dependency> |
196 | | - </dependencies> |
197 | | - </plugin> |
198 | 184 | <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> |
199 | 185 | <plugin> |
200 | 186 | <groupId>org.eclipse.m2e</groupId> |
|
216 | 202 | <ignore></ignore> |
217 | 203 | </action> |
218 | 204 | </pluginExecution> |
219 | | - <pluginExecution> |
220 | | - <pluginExecutionFilter> |
221 | | - <groupId>org.apache.maven.plugins</groupId> |
222 | | - <artifactId>maven-checkstyle-plugin</artifactId> |
223 | | - <versionRange>[3.1.1,)</versionRange> |
224 | | - <goals> |
225 | | - <goal>check</goal> |
226 | | - </goals> |
227 | | - </pluginExecutionFilter> |
228 | | - <action> |
229 | | - <ignore></ignore> |
230 | | - </action> |
231 | | - </pluginExecution> |
232 | 205 | </pluginExecutions> |
233 | 206 | </lifecycleMappingMetadata> |
234 | 207 | </configuration> |
|
273 | 246 | <artifactId>maven-release-plugin</artifactId> |
274 | 247 | <version>2.5.3</version> |
275 | 248 | </plugin> |
276 | | - <plugin> |
277 | | - <groupId>org.apache.maven.plugins</groupId> |
278 | | - <artifactId>maven-checkstyle-plugin</artifactId> |
279 | | - <executions> |
280 | | - <execution> |
281 | | - <id>validate</id> |
282 | | - <phase>validate</phase> |
283 | | - <configuration> |
284 | | - <configLocation>checkstyle.xml</configLocation> |
285 | | - <encoding>UTF-8</encoding> |
286 | | - <consoleOutput>true</consoleOutput> |
287 | | - <failsOnError>true</failsOnError> |
288 | | - <includeTestSourceDirectory>true</includeTestSourceDirectory> |
289 | | - </configuration> |
290 | | - <goals> |
291 | | - <goal>check</goal> |
292 | | - </goals> |
293 | | - </execution> |
294 | | - </executions> |
295 | | - </plugin> |
296 | 249 | <plugin> |
297 | 250 | <groupId>org.sonatype.plugins</groupId> |
298 | 251 | <artifactId>nexus-staging-maven-plugin</artifactId> |
|
325 | 278 | </repository> |
326 | 279 | </distributionManagement> |
327 | 280 |
|
328 | | - <reporting> |
329 | | - <plugins> |
330 | | - <plugin> |
331 | | - <groupId>org.apache.maven.plugins</groupId> |
332 | | - <artifactId>maven-checkstyle-plugin</artifactId> |
333 | | - <version>${checkstyle.plugin.version}</version> |
334 | | - <configuration> |
335 | | - <configLocation>checkstyle.xml</configLocation> |
336 | | - <encoding>UTF-8</encoding> |
337 | | - <consoleOutput>true</consoleOutput> |
338 | | - <includeTestSourceDirectory>true</includeTestSourceDirectory> |
339 | | - </configuration> |
340 | | - <reportSets> |
341 | | - <reportSet> |
342 | | - <reports> |
343 | | - <report>checkstyle</report> |
344 | | - </reports> |
345 | | - </reportSet> |
346 | | - </reportSets> |
347 | | - </plugin> |
348 | | - </plugins> |
349 | | - </reporting> |
350 | 281 | </project> |
0 commit comments