File tree 4 files changed +27
-0
lines changed
4 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -6,3 +6,13 @@ org.jboss.jandex.AnnotationValue#toString()
6
6
@defaultMessage Replace this by using InputStream.transferTo(OutputStream)
7
7
org.apache.commons.io.IOUtils#copy(java.io.InputStream,java.io.OutputStream)
8
8
org.apache.commons.compress.utils.IOUtils#copy(java.io.InputStream,java.io.OutputStream)
9
+
10
+ @defaultMessage We should avoid using WildFly Common APIs
11
+ org.wildfly.common.Assert
12
+ org.wildfly.common.net.**
13
+ org.wildfly.common.os.**
14
+
15
+ @defaultMessage Use JUnit asserts
16
+ io.smallrye.common.Assert.assertTrue(**)
17
+ io.smallrye.common.Assert.assertFalse(**)
18
+ io.smallrye.common.Assert.assertNotNull(**)
Original file line number Diff line number Diff line change 303
303
</execution >
304
304
</executions >
305
305
</plugin >
306
+ <plugin >
307
+ <groupId >de.thetaphi</groupId >
308
+ <artifactId >forbiddenapis</artifactId >
309
+ <configuration >
310
+ <excludes >
311
+ <exclude >**/Target_org_wildfly_common_net*</exclude >
312
+ </excludes >
313
+ </configuration >
314
+ </plugin >
306
315
</plugins >
307
316
</build >
308
317
Original file line number Diff line number Diff line change 138
138
</execution >
139
139
</executions >
140
140
</plugin >
141
+ <plugin >
142
+ <groupId >de.thetaphi</groupId >
143
+ <artifactId >forbiddenapis</artifactId >
144
+ </plugin >
141
145
</plugins >
142
146
</build >
143
147
</project >
Original file line number Diff line number Diff line change 118
118
</execution >
119
119
</executions >
120
120
</plugin >
121
+ <plugin >
122
+ <groupId >de.thetaphi</groupId >
123
+ <artifactId >forbiddenapis</artifactId >
124
+ </plugin >
121
125
</plugins >
122
126
</build >
123
127
</project >
You can’t perform that action at this time.
0 commit comments