File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 173173 <artifactId >maven-surefire-plugin</artifactId >
174174 <version >3.2.5</version >
175175 </plugin >
176+ <plugin >
177+ <groupId >de.thetaphi</groupId >
178+ <artifactId >forbiddenapis</artifactId >
179+ <version >3.10</version >
180+ <configuration >
181+ <!-- if the used Java version is too new, don't fail, just do nothing: -->
182+ <failOnUnsupportedJava >false</failOnUnsupportedJava >
183+ <bundledSignatures >
184+ <bundledSignature >jdk-unsafe</bundledSignature >
185+ <bundledSignature >jdk-deprecated</bundledSignature >
186+ <bundledSignature >jdk-non-portable</bundledSignature >
187+ </bundledSignatures >
188+ <signaturesFiles >
189+ <signaturesFile >src/test/resources/forbidden-apis-signatures.txt</signaturesFile >
190+ </signaturesFiles >
191+ </configuration >
192+ <executions >
193+ <execution >
194+ <goals >
195+ <goal >check</goal >
196+ <goal >testCheck</goal >
197+ </goals >
198+ </execution >
199+ </executions >
200+ </plugin >
176201 </plugins >
177202
178203 <resources >
Original file line number Diff line number Diff line change 1+ java.net.URL#equals(java.lang.Object) @ may trigger a DNS lookup to resolve the host part
2+ java.net.URL#hashCode() @ may trigger a DNS lookup to resolve the host part
You can’t perform that action at this time.
0 commit comments