@@ -53,23 +53,6 @@ limitations under the License.
53
53
</dependencyManagement >
54
54
55
55
<dependencies >
56
- <dependency >
57
- <groupId >com.google.cloud.bigtable</groupId >
58
- <artifactId >bigtable-hbase</artifactId >
59
- <version >2.12.1-SNAPSHOT</version > <!-- {x-version-update:bigtable-client-parent:current} -->
60
- </dependency >
61
- <dependency >
62
- <groupId >com.google.cloud.bigtable</groupId >
63
- <artifactId >bigtable-metrics-api</artifactId >
64
- <version >${bigtable-metrics-api.version} </version >
65
- <exclusions >
66
- <exclusion >
67
- <groupId >com.google.api</groupId >
68
- <artifactId >api-common</artifactId >
69
- </exclusion >
70
- </exclusions >
71
- </dependency >
72
-
73
56
<dependency >
74
57
<groupId >org.apache.hbase</groupId >
75
58
<artifactId >hbase-shaded-client</artifactId >
@@ -85,94 +68,32 @@ limitations under the License.
85
68
<groupId >ch.qos.reload4j</groupId >
86
69
<artifactId >reload4j</artifactId >
87
70
<version >${reload4j.version} </version >
88
- <scope >runtime</scope >
89
71
</dependency >
90
72
91
73
<dependency >
92
- <groupId >com.google.api</groupId >
93
- <artifactId >api-common</artifactId >
94
- </dependency >
95
- <dependency >
96
- <groupId >com.google.protobuf</groupId >
97
- <artifactId >protobuf-java</artifactId >
98
- </dependency >
99
- <dependency >
100
- <groupId >com.google.guava</groupId >
101
- <artifactId >guava</artifactId >
102
- </dependency >
103
-
104
- <!-- deps for metrics instrumentation, these should be removed once we expose more hooks in veneer metrics -->
105
- <dependency >
106
- <groupId >com.google.api</groupId >
107
- <artifactId >gax</artifactId >
108
- </dependency >
109
- <dependency >
110
- <groupId >com.google.auth</groupId >
111
- <artifactId >google-auth-library-credentials</artifactId >
74
+ <groupId >com.google.cloud.bigtable</groupId >
75
+ <artifactId >bigtable-hbase</artifactId >
76
+ <version >2.12.1-SNAPSHOT</version > <!-- {x-version-update:bigtable-client-parent:current} -->
112
77
</dependency >
113
78
114
- <!-- These are direct dependencies of TestBigtableConnection.java which is in test scope,
115
- but they are transitive dependencies of bigtable-client-core, which needs them during runtime.
116
- For more information please see https://github.com/googleapis/java-bigtable-hbase/pull/2447 -->
117
- <dependency >
118
- <groupId >io.grpc</groupId >
119
- <artifactId >grpc-api</artifactId >
120
- <scope >compile</scope >
121
- </dependency >
122
- <dependency >
123
- <groupId >io.grpc</groupId >
124
- <artifactId >grpc-core</artifactId >
125
- <scope >compile</scope >
126
- </dependency >
127
- <dependency >
128
- <groupId >io.grpc</groupId >
129
- <artifactId >grpc-stub</artifactId >
130
- <scope >compile</scope >
131
- </dependency >
132
- <dependency >
133
- <groupId >com.google.api.grpc</groupId >
134
- <artifactId >grpc-google-cloud-bigtable-admin-v2</artifactId >
135
- <scope >compile</scope >
136
- </dependency >
137
- <dependency >
138
- <groupId >com.google.api.grpc</groupId >
139
- <artifactId >proto-google-cloud-bigtable-admin-v2</artifactId >
140
- <scope >compile</scope >
141
- </dependency >
142
- <dependency >
143
- <groupId >com.google.api.grpc</groupId >
144
- <artifactId >proto-google-cloud-bigtable-v2</artifactId >
145
- <scope >compile</scope >
146
- </dependency >
147
- <dependency >
148
- <groupId >com.google.cloud</groupId >
149
- <artifactId >google-cloud-bigtable</artifactId >
150
- <scope >compile</scope >
151
- </dependency >
152
- <dependency >
153
- <groupId >com.google.cloud</groupId >
154
- <artifactId >google-cloud-core</artifactId >
155
- <scope >compile</scope >
156
- </dependency >
157
- <dependency >
158
- <groupId >com.google.api.grpc</groupId >
159
- <artifactId >grpc-google-cloud-bigtable-v2</artifactId >
160
- <scope >compile</scope >
161
- </dependency >
162
79
<dependency >
163
80
<groupId >net.bytebuddy</groupId >
164
81
<artifactId >byte-buddy</artifactId >
165
82
<version >${byte.buddy.version} </version >
166
83
</dependency >
167
84
168
-
169
85
<!-- Test dependencies-->
170
86
<dependency >
171
87
<groupId >com.google.cloud.bigtable</groupId >
172
88
<artifactId >bigtable-internal-test-helper</artifactId >
173
89
<version >2.12.1-SNAPSHOT</version > <!-- {x-version-update:bigtable-client-parent:current} -->
174
90
<scope >test</scope >
175
91
</dependency >
92
+ <dependency >
93
+ <groupId >com.google.api.grpc</groupId >
94
+ <artifactId >grpc-google-cloud-bigtable-admin-v2</artifactId >
95
+ <scope >test</scope >
96
+ </dependency >
176
97
<dependency >
177
98
<groupId >io.dropwizard.metrics</groupId >
178
99
<artifactId >metrics-graphite</artifactId >
@@ -191,12 +112,6 @@ limitations under the License.
191
112
</exclusion >
192
113
</exclusions >
193
114
</dependency >
194
- <dependency >
195
- <groupId >io.dropwizard.metrics</groupId >
196
- <artifactId >metrics-graphite</artifactId >
197
- <version >${dropwizard-metrics.version} </version >
198
- <scope >test</scope >
199
- </dependency >
200
115
<dependency >
201
116
<groupId >junit</groupId >
202
117
<artifactId >junit</artifactId >
@@ -211,4 +126,46 @@ limitations under the License.
211
126
</dependency >
212
127
</dependencies >
213
128
129
+ <build >
130
+ <plugins >
131
+ <plugin >
132
+ <groupId >com.google.cloud.bigtable.test</groupId >
133
+ <artifactId >bigtable-build-helper</artifactId >
134
+ <version >2.12.1-SNAPSHOT</version > <!-- {x-version-update:bigtable-client-parent:current} -->
135
+
136
+ <executions >
137
+ <execution >
138
+ <id >verify-mirror-deps-cbt</id >
139
+ <phase >verify</phase >
140
+ <goals >
141
+ <goal >verify-mirror-deps</goal >
142
+ </goals >
143
+ <configuration >
144
+ <targetDependencies >
145
+ <!-- make sure that we are a strict superset of veneer -->
146
+ <targetDependency >com.google.cloud:google-cloud-bigtable</targetDependency >
147
+ </targetDependencies >
148
+ </configuration >
149
+ </execution >
150
+ <execution >
151
+ <id >verify-mirror-deps-hbase</id >
152
+ <phase >verify</phase >
153
+ <goals >
154
+ <goal >verify-mirror-deps</goal >
155
+ </goals >
156
+ <configuration >
157
+ <targetDependencies >
158
+ <!-- make sure that we are a strict superset of hbase -->
159
+ <targetDependency >org.apache.hbase:hbase-shaded-client</targetDependency >
160
+ </targetDependencies >
161
+ <ignoredDependencies >
162
+ <!-- forcefully replaced with reload4j -->
163
+ <dependency >log4j:log4j</dependency >
164
+ </ignoredDependencies >
165
+ </configuration >
166
+ </execution >
167
+ </executions >
168
+ </plugin >
169
+ </plugins >
170
+ </build >
214
171
</project >
0 commit comments