Skip to content

Commit 6b46e25

Browse files
Merge pull request #72 from BorderTech/latest-qa
Latest qa
2 parents c94d712 + c5419bb commit 6b46e25

File tree

4 files changed

+26
-21
lines changed

4 files changed

+26
-21
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Change log
22

33
## Release in-progress
4+
* Update plugin versions
45

56
## 1.0.16
67
* Add quick-build profile that skips tests and QA checks #63

build-tools/src/main/resources/bordertech/bt-checkstyle.xml

+11-7
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
44
"https://checkstyle.org/dtds/configuration_1_3.dtd">
55

6-
<!-- Based on sun_checks.xml (V8.30) -->
6+
<!-- Based on sun_checks.xml V8.37 (https://github.com/checkstyle/checkstyle/blob/checkstyle-8.37/src/main/resources/sun_checks.xml) -->
77

88
<!--
9-
Checkstyle configuration that checks the sun coding conventions from:
9+
Checkstyle configuration that checks the sun coding conventions from:
1010
- the Java Language Specification at
1111
https://docs.oracle.com/javase/specs/jls/se11/html/index.html
12-
- the Sun Code Conventions at https://www.oracle.com/technetwork/java/codeconvtoc-136057.html
12+
- the Sun Code Conventions at https://www.oracle.com/java/technologies/javase/codeconventions-contents.html
1313
- the Javadoc guidelines at
14-
https://www.oracle.com/technetwork/java/javase/documentation/index-137868.html
14+
https://www.oracle.com/technical-resources/articles/java/javadoc-tool.html
1515
- the JDK Api documentation https://docs.oracle.com/en/java/javase/11/
1616
- some best practices
1717
Checkstyle is very configurable. Be sure to read the documentation at
@@ -26,7 +26,7 @@
2626
<!--
2727
If you set the basedir property below, then all reported file
2828
names will be relative to the specified directory. See
29-
https://checkstyle.org/5.x/config.html#Checker
29+
https://checkstyle.org/config.html#Checker
3030
<property name="basedir" value="${basedir}"/>
3131
-->
3232
<property name="severity" value="error"/>
@@ -120,7 +120,11 @@
120120

121121
<!-- Checks for Javadoc comments. -->
122122
<!-- See https://checkstyle.org/config_javadoc.html -->
123-
<module name="InvalidJavadocPosition"/>
123+
<module name="InvalidJavadocPosition">
124+
<!-- BorderTech: Override to warning -->
125+
<property name="severity" value="warning" />
126+
</module>
127+
124128
<module name="JavadocMethod">
125129
<!-- BorderTech: Javadoc not required for methods with these annotations -->
126130
<property name="allowedAnnotations" value="Override,Test,Before,After,BeforeClass,AfterClass"/>
@@ -146,7 +150,7 @@
146150
<module name="TypeName"/>
147151

148152
<!-- Checks for imports -->
149-
<!-- See https://checkstyle.org/config_import.html -->
153+
<!-- See https://checkstyle.org/config_imports.html -->
150154
<module name="AvoidStarImport"/>
151155
<module name="IllegalImport"/> <!-- defaults to sun.* packages -->
152156
<module name="RedundantImport"/>

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@
212212
<dependency>
213213
<groupId>org.codehaus.mojo</groupId>
214214
<artifactId>extra-enforcer-rules</artifactId>
215-
<version>1.2</version>
215+
<version>1.3</version>
216216
</dependency>
217217
</dependencies>
218218
</plugin>

qa-parent/pom.xml

+13-13
Original file line numberDiff line numberDiff line change
@@ -65,18 +65,18 @@
6565
<assemblyAnalyzerEnabled>false</assemblyAnalyzerEnabled>
6666

6767
<!-- Versions -->
68-
<bt.junit.version>5.6.1</bt.junit.version>
69-
<bt.jacoco.plugin.version>0.8.5</bt.jacoco.plugin.version>
68+
<bt.junit.version>5.7.0</bt.junit.version>
69+
<bt.jacoco.plugin.version>0.8.6</bt.jacoco.plugin.version>
7070
<bt.surefire.plugin.version>2.22.2</bt.surefire.plugin.version>
7171
<bt.checkstyle.plugin.version>3.1.1</bt.checkstyle.plugin.version>
72-
<bt.checkstyle.version>8.30</bt.checkstyle.version>
72+
<bt.checkstyle.version>8.37</bt.checkstyle.version>
7373
<bt.pmd.plugin.version>3.13.0</bt.pmd.plugin.version>
74-
<bt.pmd.version>6.22.0</bt.pmd.version>
75-
<bt.spotbugs.plugin.version>4.0.0</bt.spotbugs.plugin.version>
76-
<bt.fb-contrib.plugin.version>7.4.7</bt.fb-contrib.plugin.version>
77-
<bt.spotbugs.version>4.0.1</bt.spotbugs.version>
78-
<bt.findsecbugs.plugin.version>1.10.1</bt.findsecbugs.plugin.version>
79-
<bt.owasp.plugin.version>5.2.4</bt.owasp.plugin.version>
74+
<bt.pmd.version>6.29.0</bt.pmd.version>
75+
<bt.spotbugs.plugin.version>4.1.4</bt.spotbugs.plugin.version>
76+
<bt.sb-contrib.plugin.version>7.4.7</bt.sb-contrib.plugin.version>
77+
<bt.spotbugs.version>4.1.4</bt.spotbugs.version>
78+
<bt.findsecbugs.plugin.version>1.11.0</bt.findsecbugs.plugin.version>
79+
<bt.owasp.plugin.version>6.0.2</bt.owasp.plugin.version>
8080

8181
</properties>
8282

@@ -261,9 +261,9 @@
261261
<plugins>
262262
<!-- Auxilary plugin -->
263263
<plugin>
264-
<groupId>com.mebigfatguy.fb-contrib</groupId>
265-
<artifactId>fb-contrib</artifactId>
266-
<version>${bt.fb-contrib.plugin.version}</version>
264+
<groupId>com.mebigfatguy.sb-contrib</groupId>
265+
<artifactId>sb-contrib</artifactId>
266+
<version>${bt.sb-contrib.plugin.version}</version>
267267
</plugin>
268268
<!-- Security plugin -->
269269
<plugin>
@@ -337,7 +337,7 @@
337337
<plugin>
338338
<groupId>org.codehaus.mojo</groupId>
339339
<artifactId>versions-maven-plugin</artifactId>
340-
<version>2.7</version>
340+
<version>2.8.1</version>
341341
<executions>
342342
<execution>
343343
<id>display-version-updates</id>

0 commit comments

Comments
 (0)