Skip to content

Commit a629dde

Browse files
committed
Checkstyle variations
1 parent 226c26c commit a629dde

38 files changed

+807
-474
lines changed

pom.xml

Lines changed: 62 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -214,23 +214,6 @@
214214
<artifactId>coveralls-maven-plugin</artifactId>
215215
<version>4.2.0</version>
216216
</plugin>
217-
<plugin>
218-
<groupId>au.com.acegi</groupId>
219-
<artifactId>xml-format-maven-plugin</artifactId>
220-
<version>3.0.2</version>
221-
<executions>
222-
<execution>
223-
<id>xml-format</id>
224-
<phase>package</phase>
225-
<goals>
226-
<goal>xml-format</goal>
227-
</goals>
228-
<configuration>
229-
<indentSize>2</indentSize>
230-
</configuration>
231-
</execution>
232-
</executions>
233-
</plugin>
234217
<plugin>
235218
<artifactId>maven-source-plugin</artifactId>
236219
<version>3.0.1</version>
@@ -333,6 +316,68 @@
333316
</rules>
334317
</configuration>
335318
</plugin>
319+
<plugin>
320+
<groupId>au.com.acegi</groupId>
321+
<artifactId>xml-format-maven-plugin</artifactId>
322+
<version>3.0.2</version>
323+
<executions>
324+
<execution>
325+
<id>xml-format</id>
326+
<phase>process-sources</phase>
327+
<goals>
328+
<goal>xml-format</goal>
329+
</goals>
330+
<configuration>
331+
<indentSize>2</indentSize>
332+
</configuration>
333+
</execution>
334+
</executions>
335+
</plugin>
336+
<plugin>
337+
<groupId>org.codehaus.mojo</groupId>
338+
<artifactId>license-maven-plugin</artifactId>
339+
<version>1.9</version>
340+
<executions>
341+
<execution>
342+
<id>download-licenses</id>
343+
<goals>
344+
<goal>update-file-header</goal>
345+
<goal>update-project-license</goal>
346+
<goal>add-third-party</goal>
347+
</goals>
348+
<phase>process-sources</phase>
349+
<configuration>
350+
<licenseName>apache_v2</licenseName>
351+
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
352+
<canUpdateCopyright>true</canUpdateCopyright>
353+
<canUpdateDescription>true</canUpdateDescription>
354+
<emptyLineAfterHeader>true</emptyLineAfterHeader>
355+
<generateBundle>true</generateBundle>
356+
<failIfWarning>true</failIfWarning>
357+
</configuration>
358+
</execution>
359+
</executions>
360+
</plugin>
361+
<plugin>
362+
<groupId>org.apache.maven.plugins</groupId>
363+
<artifactId>maven-checkstyle-plugin</artifactId>
364+
<version>2.17</version>
365+
<executions>
366+
<execution>
367+
<id>check-style</id>
368+
<phase>process-sources</phase>
369+
<goals>
370+
<goal>check</goal>
371+
</goals>
372+
<configuration>
373+
<configLocation>${basedir}/src/main/config/checkstyle.xml</configLocation>
374+
<consoleOutput>true</consoleOutput>
375+
<failsOnError>true</failsOnError>
376+
<includeTestSourceDirectory>true</includeTestSourceDirectory>
377+
</configuration>
378+
</execution>
379+
</executions>
380+
</plugin>
336381
<plugin>
337382
<artifactId>maven-pmd-plugin</artifactId>
338383
<version>3.6</version>
@@ -372,26 +417,6 @@
372417
<includeTests>true</includeTests>
373418
</configuration>
374419
</plugin>
375-
<plugin>
376-
<groupId>org.apache.maven.plugins</groupId>
377-
<artifactId>maven-checkstyle-plugin</artifactId>
378-
<version>2.17</version>
379-
<executions>
380-
<execution>
381-
<id>check-style</id>
382-
<phase>verify</phase>
383-
<goals>
384-
<goal>check</goal>
385-
</goals>
386-
<configuration>
387-
<configLocation>${basedir}/src/main/config/checkstyle.xml</configLocation>
388-
<consoleOutput>true</consoleOutput>
389-
<failsOnError>true</failsOnError>
390-
<includeTestSourceDirectory>true</includeTestSourceDirectory>
391-
</configuration>
392-
</execution>
393-
</executions>
394-
</plugin>
395420
<plugin>
396421
<groupId>org.basepom.maven</groupId>
397422
<artifactId>duplicate-finder-maven-plugin</artifactId>
@@ -415,31 +440,6 @@
415440
</ignoredResourcePatterns>
416441
</configuration>
417442
</plugin>
418-
<plugin>
419-
<groupId>org.codehaus.mojo</groupId>
420-
<artifactId>license-maven-plugin</artifactId>
421-
<version>1.9</version>
422-
<executions>
423-
<execution>
424-
<id>download-licenses</id>
425-
<goals>
426-
<goal>update-file-header</goal>
427-
<goal>update-project-license</goal>
428-
<goal>add-third-party</goal>
429-
</goals>
430-
<phase>process-sources</phase>
431-
<configuration>
432-
<licenseName>apache_v2</licenseName>
433-
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
434-
<canUpdateCopyright>true</canUpdateCopyright>
435-
<canUpdateDescription>true</canUpdateDescription>
436-
<emptyLineAfterHeader>true</emptyLineAfterHeader>
437-
<generateBundle>true</generateBundle>
438-
<failIfWarning>true</failIfWarning>
439-
</configuration>
440-
</execution>
441-
</executions>
442-
</plugin>
443443
<plugin>
444444
<groupId>org.codehaus.mojo</groupId>
445445
<artifactId>versions-maven-plugin</artifactId>

0 commit comments

Comments
 (0)