@@ -51,106 +51,7 @@ limitations under the License.
51
51
</dependencyManagement >
52
52
53
53
<dependencies >
54
- <!-- List implementation deps first -->
55
- <dependency >
56
- <groupId >${project.groupId} </groupId >
57
- <artifactId >bigtable-metrics-api</artifactId >
58
- <version >${bigtable-metrics-api.version} </version >
59
- <exclusions >
60
- <exclusion >
61
- <groupId >com.google.api</groupId >
62
- <artifactId >api-common</artifactId >
63
- </exclusion >
64
- </exclusions >
65
- </dependency >
66
-
67
- <dependency >
68
- <groupId >com.google.protobuf</groupId >
69
- <artifactId >protobuf-java</artifactId >
70
- </dependency >
71
-
72
- <dependency >
73
- <groupId >com.google.guava</groupId >
74
- <artifactId >guava</artifactId >
75
- </dependency >
76
-
77
- <dependency >
78
- <groupId >com.google.cloud</groupId >
79
- <artifactId >google-cloud-bigtable</artifactId >
80
- </dependency >
81
-
82
- <dependency >
83
- <groupId >com.google.api.grpc</groupId >
84
- <artifactId >proto-google-cloud-bigtable-v2</artifactId >
85
- </dependency >
86
- <dependency >
87
- <groupId >com.google.api.grpc</groupId >
88
- <artifactId >proto-google-cloud-bigtable-admin-v2</artifactId >
89
- </dependency >
90
- <dependency >
91
- <groupId >com.google.api.grpc</groupId >
92
- <artifactId >grpc-google-cloud-bigtable-v2</artifactId >
93
- </dependency >
94
- <dependency >
95
- <groupId >com.google.api.grpc</groupId >
96
- <artifactId >grpc-google-cloud-bigtable-admin-v2</artifactId >
97
- </dependency >
98
- <dependency >
99
- <groupId >com.google.auth</groupId >
100
- <artifactId >google-auth-library-credentials</artifactId >
101
- </dependency >
102
- <dependency >
103
- <groupId >io.grpc</groupId >
104
- <artifactId >grpc-api</artifactId >
105
- </dependency >
106
- <dependency >
107
- <groupId >io.grpc</groupId >
108
- <artifactId >grpc-stub</artifactId >
109
- </dependency >
110
- <dependency >
111
- <groupId >com.google.api</groupId >
112
- <artifactId >gax</artifactId >
113
- </dependency >
114
- <dependency >
115
- <groupId >io.opencensus</groupId >
116
- <artifactId >opencensus-api</artifactId >
117
- </dependency >
118
- <dependency >
119
- <groupId >org.threeten</groupId >
120
- <artifactId >threetenbp</artifactId >
121
- </dependency >
122
- <dependency >
123
- <groupId >com.google.code.findbugs</groupId >
124
- <artifactId >jsr305</artifactId >
125
- </dependency >
126
- <dependency >
127
- <groupId >com.google.api</groupId >
128
- <artifactId >api-common</artifactId >
129
- </dependency >
130
- <dependency >
131
- <groupId >commons-logging</groupId >
132
- <artifactId >commons-logging</artifactId >
133
- <version >${commons-logging.version} </version >
134
- </dependency >
135
- <dependency >
136
- <groupId >com.google.api.grpc</groupId >
137
- <artifactId >proto-google-common-protos</artifactId >
138
- </dependency >
139
-
140
- <!-- For veneer client settings configurations -->
141
- <dependency >
142
- <groupId >io.grpc</groupId >
143
- <artifactId >grpc-core</artifactId >
144
- </dependency >
145
- <dependency >
146
- <groupId >com.google.api</groupId >
147
- <artifactId >gax-grpc</artifactId >
148
- </dependency >
149
- <dependency >
150
- <groupId >com.google.auth</groupId >
151
- <artifactId >google-auth-library-oauth2-http</artifactId >
152
- </dependency >
153
-
54
+ <!-- Api/HBase deps first -->
154
55
<dependency >
155
56
<groupId >org.apache.hbase</groupId >
156
57
<artifactId >hbase-shaded-client</artifactId >
@@ -166,7 +67,18 @@ limitations under the License.
166
67
<groupId >ch.qos.reload4j</groupId >
167
68
<artifactId >reload4j</artifactId >
168
69
<version >${reload4j.version} </version >
169
- <scope >runtime</scope >
70
+ </dependency >
71
+
72
+ <!-- Implementation deps -->
73
+ <dependency >
74
+ <groupId >com.google.cloud</groupId >
75
+ <artifactId >google-cloud-bigtable</artifactId >
76
+ </dependency >
77
+
78
+ <dependency >
79
+ <groupId >${project.groupId} </groupId >
80
+ <artifactId >bigtable-metrics-api</artifactId >
81
+ <version >${bigtable-metrics-api.version} </version >
170
82
</dependency >
171
83
172
84
<!-- Test -->
@@ -181,6 +93,11 @@ limitations under the License.
181
93
<artifactId >grpc-google-common-protos</artifactId >
182
94
<scope >test</scope >
183
95
</dependency >
96
+ <dependency >
97
+ <groupId >com.google.api.grpc</groupId >
98
+ <artifactId >grpc-google-cloud-bigtable-admin-v2</artifactId >
99
+ <scope >test</scope >
100
+ </dependency >
184
101
<dependency >
185
102
<groupId >commons-lang</groupId >
186
103
<artifactId >commons-lang</artifactId >
@@ -193,12 +110,6 @@ limitations under the License.
193
110
<version >${mockito.version} </version >
194
111
<scope >test</scope >
195
112
</dependency >
196
- <dependency >
197
- <groupId >org.hamcrest</groupId >
198
- <artifactId >hamcrest-core</artifactId >
199
- <version >${hamcrest.version} </version >
200
- <scope >test</scope >
201
- </dependency >
202
113
<dependency >
203
114
<groupId >com.google.truth</groupId >
204
115
<artifactId >truth</artifactId >
@@ -234,6 +145,7 @@ limitations under the License.
234
145
</systemProperties >
235
146
</configuration >
236
147
</plugin >
148
+
237
149
<plugin >
238
150
<groupId >com.google.cloud.bigtable.test</groupId >
239
151
<artifactId >bigtable-build-helper</artifactId >
@@ -253,6 +165,23 @@ limitations under the License.
253
165
</targetDependencies >
254
166
</configuration >
255
167
</execution >
168
+ <execution >
169
+ <id >verify-mirror-deps-hbase</id >
170
+ <phase >verify</phase >
171
+ <goals >
172
+ <goal >verify-mirror-deps</goal >
173
+ </goals >
174
+ <configuration >
175
+ <targetDependencies >
176
+ <!-- make sure that we are a strict superset of hbase -->
177
+ <targetDependency >org.apache.hbase:hbase-shaded-client</targetDependency >
178
+ </targetDependencies >
179
+ <ignoredDependencies >
180
+ <!-- forcefully replaced with reload4j -->
181
+ <dependency >log4j:log4j</dependency >
182
+ </ignoredDependencies >
183
+ </configuration >
184
+ </execution >
256
185
</executions >
257
186
</plugin >
258
187
</plugins >
0 commit comments