Gehel has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/383795 )

Change subject: Exclude $ForbiddenOk inner classes from ForbiddenAPI checks
......................................................................

Exclude $ForbiddenOk inner classes from ForbiddenAPI checks

Change-Id: I10a1e61e34a16c0709e34ee4b966980b13a50aff
---
M pom.xml
1 file changed, 7 insertions(+), 0 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/wikimedia/discovery/discovery-parent-pom 
refs/changes/95/383795/1

diff --git a/pom.xml b/pom.xml
index d48ce4a..6bd2295 100644
--- a/pom.xml
+++ b/pom.xml
@@ -194,6 +194,13 @@
                     <configuration>
                         <targetVersion>${maven.compiler.target}</targetVersion>
                         <failOnMissingClasses>false</failOnMissingClasses>
+                        <excludes>
+                            <!--
+                            Some portions of the project need access to 
System.out and things so we contain them in
+                            inner classes of this form.
+                            -->
+                            <exclude>**/*$ForbiddenOk**.class</exclude>
+                        </excludes>
                         <bundledSignatures>
                             <!-- This will automatically choose the right 
signatures based on 'maven.compiler.target': -->
                             <bundledSignature>jdk-unsafe</bundledSignature>

-- 
To view, visit https://gerrit.wikimedia.org/r/383795
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I10a1e61e34a16c0709e34ee4b966980b13a50aff
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/discovery/discovery-parent-pom
Gerrit-Branch: master
Gerrit-Owner: Gehel <guillaume.leder...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to