File tree Expand file tree Collapse file tree 13 files changed +168
-160
lines changed Expand file tree Collapse file tree 13 files changed +168
-160
lines changed Original file line number Diff line number Diff line change @@ -85,14 +85,14 @@ pipeline {
85
85
}
86
86
}
87
87
}
88
- stage(' Findbugs ' ) {
88
+ stage(' Spotbugs ' ) {
89
89
options {
90
90
timeout(time : 10 , unit : ' MINUTES' )
91
91
}
92
92
steps {
93
93
/* Change treshold to Default or remove treshold to find more bugs */
94
94
withMaven(jdk : " ${ JDK_VERSION} " , maven : ' M3' ) {
95
- sh ' mvn --activate-profiles qa findbugs :check -Dfindbugs .threshold="High"'
95
+ sh ' mvn --activate-profiles qa spotbugs :check -Dspotbugs .threshold="High"'
96
96
}
97
97
}
98
98
}
Original file line number Diff line number Diff line change 29
29
30
30
<build >
31
31
<plugins >
32
+ <plugin >
33
+ <groupId >com.github.spotbugs</groupId >
34
+ <artifactId >spotbugs-maven-plugin</artifactId >
35
+ <version >${spotbugs.version} </version >
36
+ <configuration >
37
+ <threshold >High</threshold >
38
+ <failOnError >true</failOnError >
39
+ <excludeFilterFile >findbugs-filter.xml</excludeFilterFile >
40
+ </configuration >
41
+ </plugin >
32
42
<plugin >
33
43
<groupId >org.apache.maven.plugins</groupId >
34
44
<artifactId >maven-failsafe-plugin</artifactId >
46
56
<groups >${unittests} </groups >
47
57
</configuration >
48
58
</plugin >
49
- <plugin >
50
- <groupId >org.codehaus.mojo</groupId >
51
- <artifactId >findbugs-maven-plugin</artifactId >
52
- <version >${findbugs.version} </version >
53
- <configuration >
54
- <threshold >High</threshold >
55
- <failOnError >true</failOnError >
56
- <excludeFilterFile >findbugs-filter.xml</excludeFilterFile >
57
- </configuration >
58
- </plugin >
59
59
</plugins >
60
60
</build >
61
61
</project >
Original file line number Diff line number Diff line change 48
48
49
49
<build >
50
50
<plugins >
51
+ <plugin >
52
+ <groupId >com.github.spotbugs</groupId >
53
+ <artifactId >spotbugs-maven-plugin</artifactId >
54
+ <version >${spotbugs.version} </version >
55
+ <configuration >
56
+ <threshold >High</threshold >
57
+ <failOnError >true</failOnError >
58
+ <excludeFilterFile >findbugs-filter.xml</excludeFilterFile >
59
+ </configuration >
60
+ </plugin >
51
61
<plugin >
52
62
<groupId >org.apache.maven.plugins</groupId >
53
63
<artifactId >maven-failsafe-plugin</artifactId >
65
75
<groups >${unittests} </groups >
66
76
</configuration >
67
77
</plugin >
68
- <plugin >
69
- <groupId >org.codehaus.mojo</groupId >
70
- <artifactId >findbugs-maven-plugin</artifactId >
71
- <version >${findbugs.version} </version >
72
- <configuration >
73
- <threshold >High</threshold >
74
- <failOnError >true</failOnError >
75
- <excludeFilterFile >findbugs-filter.xml</excludeFilterFile >
76
- </configuration >
77
- </plugin >
78
78
</plugins >
79
79
</build >
80
80
</project >
Original file line number Diff line number Diff line change 45
45
</testResources >
46
46
<plugins >
47
47
<plugin >
48
- <groupId >org.codehaus.mojo </groupId >
49
- <artifactId >findbugs -maven-plugin</artifactId >
50
- <version >${findbugs .version} </version >
48
+ <groupId >com.github.spotbugs </groupId >
49
+ <artifactId >spotbugs -maven-plugin</artifactId >
50
+ <version >${spotbugs .version} </version >
51
51
<configuration >
52
52
<threshold >High</threshold >
53
53
<failOnError >true</failOnError >
Original file line number Diff line number Diff line change 139
139
<plugin >
140
140
<groupId >org.revapi</groupId >
141
141
<artifactId >revapi-maven-plugin</artifactId >
142
- <version >0.8.2</version >
142
+ <version >0.10.4</version >
143
+ <configuration >
144
+ <skip >true</skip >
145
+ </configuration >
146
+ </plugin >
147
+ <plugin >
148
+ <groupId >com.github.spotbugs</groupId >
149
+ <artifactId >spotbugs-maven-plugin</artifactId >
150
+ <version >3.1.11</version >
143
151
<configuration >
144
152
<skip >true</skip >
145
153
</configuration >
Original file line number Diff line number Diff line change 47
47
48
48
<build >
49
49
<plugins >
50
+ <plugin >
51
+ <groupId >com.github.spotbugs</groupId >
52
+ <artifactId >spotbugs-maven-plugin</artifactId >
53
+ <version >${spotbugs.version} </version >
54
+ <configuration >
55
+ <threshold >High</threshold >
56
+ <failOnError >true</failOnError >
57
+ <excludeFilterFile >findbugs-filter.xml</excludeFilterFile >
58
+ </configuration >
59
+ </plugin >
50
60
<plugin >
51
61
<groupId >org.apache.maven.plugins</groupId >
52
62
<artifactId >maven-failsafe-plugin</artifactId >
64
74
<groups >${unittests} </groups >
65
75
</configuration >
66
76
</plugin >
67
- <plugin >
68
- <groupId >org.codehaus.mojo</groupId >
69
- <artifactId >findbugs-maven-plugin</artifactId >
70
- <version >${findbugs.version} </version >
71
- <configuration >
72
- <threshold >High</threshold >
73
- <failOnError >true</failOnError >
74
- <excludeFilterFile >findbugs-filter.xml</excludeFilterFile >
75
- </configuration >
76
- </plugin >
77
77
</plugins >
78
78
</build >
79
79
</project >
Original file line number Diff line number Diff line change 35
35
36
36
<build >
37
37
<plugins >
38
+ <plugin >
39
+ <groupId >com.github.spotbugs</groupId >
40
+ <artifactId >spotbugs-maven-plugin</artifactId >
41
+ <version >${spotbugs.version} </version >
42
+ <configuration >
43
+ <threshold >High</threshold >
44
+ <failOnError >true</failOnError >
45
+ <excludeFilterFile >findbugs-filter.xml</excludeFilterFile >
46
+ </configuration >
47
+ </plugin >
38
48
<plugin >
39
49
<groupId >org.apache.maven.plugins</groupId >
40
50
<artifactId >maven-failsafe-plugin</artifactId >
52
62
<groups >${unittests} </groups >
53
63
</configuration >
54
64
</plugin >
55
- <plugin >
56
- <groupId >org.codehaus.mojo</groupId >
57
- <artifactId >findbugs-maven-plugin</artifactId >
58
- <version >${findbugs.version} </version >
59
- <configuration >
60
- <threshold >High</threshold >
61
- <failOnError >true</failOnError >
62
- <excludeFilterFile >findbugs-filter.xml</excludeFilterFile >
63
- </configuration >
64
- </plugin >
65
65
</plugins >
66
66
</build >
67
67
</project >
Original file line number Diff line number Diff line change 41
41
42
42
<build >
43
43
<plugins >
44
+ <plugin >
45
+ <groupId >com.github.spotbugs</groupId >
46
+ <artifactId >spotbugs-maven-plugin</artifactId >
47
+ <version >${spotbugs.version} </version >
48
+ <configuration >
49
+ <threshold >High</threshold >
50
+ <failOnError >true</failOnError >
51
+ <excludeFilterFile >findbugs-filter.xml</excludeFilterFile >
52
+ </configuration >
53
+ </plugin >
44
54
<plugin >
45
55
<groupId >org.apache.maven.plugins</groupId >
46
56
<artifactId >maven-failsafe-plugin</artifactId >
58
68
<groups >${unittests} </groups >
59
69
</configuration >
60
70
</plugin >
61
- <plugin >
62
- <groupId >org.codehaus.mojo</groupId >
63
- <artifactId >findbugs-maven-plugin</artifactId >
64
- <version >${findbugs.version} </version >
65
- <configuration >
66
- <threshold >High</threshold >
67
- <failOnError >true</failOnError >
68
- <excludeFilterFile >findbugs-filter.xml</excludeFilterFile >
69
- </configuration >
70
- </plugin >
71
71
</plugins >
72
72
</build >
73
73
</project >
Original file line number Diff line number Diff line change 28
28
29
29
<build >
30
30
<plugins >
31
+ <plugin >
32
+ <groupId >com.github.spotbugs</groupId >
33
+ <artifactId >spotbugs-maven-plugin</artifactId >
34
+ <version >${spotbugs.version} </version >
35
+ <configuration >
36
+ <threshold >High</threshold >
37
+ <failOnError >true</failOnError >
38
+ <excludeFilterFile >findbugs-filter.xml</excludeFilterFile >
39
+ </configuration >
40
+ </plugin >
31
41
<plugin >
32
42
<groupId >org.apache.maven.plugins</groupId >
33
43
<artifactId >maven-failsafe-plugin</artifactId >
45
55
<groups >${unittests} </groups >
46
56
</configuration >
47
57
</plugin >
48
- <plugin >
49
- <groupId >org.codehaus.mojo</groupId >
50
- <artifactId >findbugs-maven-plugin</artifactId >
51
- <version >${findbugs.version} </version >
52
- <configuration >
53
- <threshold >High</threshold >
54
- <failOnError >true</failOnError >
55
- <excludeFilterFile >findbugs-filter.xml</excludeFilterFile >
56
- </configuration >
57
- </plugin >
58
58
<plugin >
59
59
<groupId >org.pitest</groupId >
60
60
<artifactId >pitest-maven</artifactId >
You can’t perform that action at this time.
0 commit comments