-
Notifications
You must be signed in to change notification settings - Fork 57
/
linkage-checker-exclusion-rules.xml
161 lines (157 loc) · 5.04 KB
/
linkage-checker-exclusion-rules.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<LinkageCheckerFilter>
<!-- Optional dependencies -->
<LinkageError>
<Source>
<Package name="com.nimbusds.jose"/>
</Source>
<Target>
<Package name="org.bouncycastle"/>
</Target>
<Reason>Bouncy castle is an optional dependency of nimbus-jose-jwt</Reason>
</LinkageError>
<LinkageError>
<Source>
<Package name="com.nimbusds.jose"/>
</Source>
<Target>
<Package name="com.google.crypto.tink.subtle"/>
</Target>
<Reason>Google Crypto Tink is an optional dependency of nimbus-jose-jwt</Reason>
</LinkageError>
<LinkageError>
<Target>
<Class name="org.bouncycastle.asn1.x509.qualified.QCStatement" />
</Target>
<Reason>Seems like a false positive, this class does exist on classpath.</Reason>
</LinkageError>
<LinkageError>
<Target>
<Class name="org.bouncycastle.asn1.x9.X9FieldID" />
</Target>
<Reason>Seems like a false positive, this class does exist on classpath.</Reason>
</LinkageError>
<!-- Hadoop-related linkage errors-->
<LinkageError>
<Source>
<Class name="org.apache.hadoop.http.HttpServer2"/>
</Source>
<Reason>Not used in the SDK</Reason>
</LinkageError>
<LinkageError>
<Target>
<Class name="org.apache.hadoop.util.PlatformName"/>
</Target>
<Source>
<Class name="org.apache.hadoop.security.ssl.SSLFactory"/>
</Source>
<Reason>Relates to security/SSL pulled in by hadoop-auth, not used</Reason>
</LinkageError>
<LinkageError>
<Target>
<Package name="org.apache.hadoop.security.authentication"/>
</Target>
<Reason>We do not need Hadoop authentication</Reason>
</LinkageError>
<!-- Snowflake JDBC linkage errors -->
<LinkageError>
<Source>
<Package name="net.snowflake.client.jdbc"/>
</Source>
<Reason>We don't explicitly exclude any dependency of the JDBC driver.
If some classes are missing, they know what are they doing.
</Reason>
</LinkageError>
<LinkageError>
<Target>
<Package name="com.sun.jna"/>
</Target>
<Source>
<Package name="net.snowflake.client.core"/>
</Source>
<Reason>Optional dependency of Snowflake JDBC driver that the SDK doesn't need</Reason>
</LinkageError>
<!-- Other linkage errors-->
<LinkageError>
<Target>
<Class name="org.eclipse.jetty.servlet.DefaultServlet"/>
</Target>
</LinkageError>
<LinkageError>
<Source>
<Package name="org.apache.hadoop.mapred"/>
</Source>
<Reason>The SDK is not using mapreduce</Reason>
</LinkageError>
<LinkageError>
<Source>
<Class name="org.apache.hadoop.mapreduce.task.reduce.ShuffleClientMetrics"/>
</Source>
<Reason>The SDK is not using mapreduce</Reason>
</LinkageError>
<LinkageError>
<Target>
<Package name="org.apache.hadoop.yarn"/>
</Target>
<Reason>The SDK is not using Hadoop YARN</Reason>
</LinkageError>
<LinkageError>
<Target>
<Package name="org.tukaani.xz"/>
</Target>
<Reason>The SDK does not use XZ compression</Reason>
</LinkageError>
<LinkageError>
<Target>
<Package name="org.apache.curator"/>
</Target>
<Reason>Client library for Apache ZooKeeper, not used in the SDK</Reason>
</LinkageError>
<LinkageError>
<Target>
<Package name="com.jcraft.jsch"/>
</Target>
<Reason>SSH client, not used in the SDK</Reason>
</LinkageError>
<LinkageError>
<Target>
<Package name="org.apache.avro"/>
</Target>
<Reason>The SDK is not using Avro</Reason>
</LinkageError>
<LinkageError>
<Target>
<Package name="org.codehaus.jackson"/>
</Target>
<Reason>Not used, the SDK is using FasterXML Jackson</Reason>
</LinkageError>
<LinkageError>
<Target>
<Package name="org.xbill.DNS"/>
</Target>
<Reason>Comes from dnsjava, which is not used in the SDK</Reason>
</LinkageError>
<LinkageError>
<Target>
<Package name="org.apache.zookeeper"/>
</Target>
<Reason>Not used in the SDK</Reason>
</LinkageError>
<LinkageError>
<Target>
<Package name="org.apache.log4j"/>
</Target>
<Reason>The SDK does not log with log4j</Reason>
</LinkageError>
<LinkageError>
<Target>
<Package name="javax.ws.rs" />
</Target>
<Reason>The SDK does not use web services</Reason>
</LinkageError>
<LinkageError>
<Target>
<Package name="org.eclipse.jetty.server" />
</Target>
<Reason>The SDK does not use Jetty web server</Reason>
</LinkageError>
</LinkageCheckerFilter>