Skip to content

Commit abb75a7

Browse files
authored
HBASE-30239 Use hamcrest instead of deprecated hamcrest-core and hamcrest-library (#8385)
Signed-off-by: Xiao Liu <liuxiaocs@apache.org>
1 parent be5f228 commit abb75a7

20 files changed

Lines changed: 43 additions & 45 deletions

File tree

hbase-asyncfs/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
</dependency>
8686
<dependency>
8787
<groupId>org.hamcrest</groupId>
88-
<artifactId>hamcrest-library</artifactId>
88+
<artifactId>hamcrest</artifactId>
8989
<scope>test</scope>
9090
</dependency>
9191
<dependency>

hbase-client/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@
193193
</dependency>
194194
<dependency>
195195
<groupId>org.hamcrest</groupId>
196-
<artifactId>hamcrest-library</artifactId>
196+
<artifactId>hamcrest</artifactId>
197197
<scope>test</scope>
198198
</dependency>
199199
<dependency>

hbase-common/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
</dependency>
139139
<dependency>
140140
<groupId>org.hamcrest</groupId>
141-
<artifactId>hamcrest-library</artifactId>
141+
<artifactId>hamcrest</artifactId>
142142
<scope>test</scope>
143143
</dependency>
144144
<dependency>

hbase-compression/hbase-compression-aircompressor/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
</dependency>
123123
<dependency>
124124
<groupId>org.hamcrest</groupId>
125-
<artifactId>hamcrest-library</artifactId>
125+
<artifactId>hamcrest</artifactId>
126126
<scope>test</scope>
127127
</dependency>
128128
<dependency>

hbase-compression/hbase-compression-brotli/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
</dependency>
108108
<dependency>
109109
<groupId>org.hamcrest</groupId>
110-
<artifactId>hamcrest-library</artifactId>
110+
<artifactId>hamcrest</artifactId>
111111
<scope>test</scope>
112112
</dependency>
113113
<dependency>

hbase-compression/hbase-compression-lz4/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
</dependency>
107107
<dependency>
108108
<groupId>org.hamcrest</groupId>
109-
<artifactId>hamcrest-library</artifactId>
109+
<artifactId>hamcrest</artifactId>
110110
<scope>test</scope>
111111
</dependency>
112112
<dependency>

hbase-compression/hbase-compression-snappy/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
</dependency>
107107
<dependency>
108108
<groupId>org.hamcrest</groupId>
109-
<artifactId>hamcrest-library</artifactId>
109+
<artifactId>hamcrest</artifactId>
110110
<scope>test</scope>
111111
</dependency>
112112
<dependency>

hbase-compression/hbase-compression-zstd/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
</dependency>
107107
<dependency>
108108
<groupId>org.hamcrest</groupId>
109-
<artifactId>hamcrest-library</artifactId>
109+
<artifactId>hamcrest</artifactId>
110110
<scope>test</scope>
111111
</dependency>
112112
<dependency>

hbase-dev-generate-classpath/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
maven dependency resolution won't pick it up for us. -->
5757
<dependency>
5858
<groupId>org.hamcrest</groupId>
59-
<artifactId>hamcrest-core</artifactId>
59+
<artifactId>hamcrest</artifactId>
6060
<!-- Overriding the scope in depMgmt -->
6161
<scope>compile</scope>
6262
</dependency>

hbase-endpoint/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@
201201
them manually. -->
202202
<dependency>
203203
<groupId>org.hamcrest</groupId>
204-
<artifactId>hamcrest-library</artifactId>
204+
<artifactId>hamcrest</artifactId>
205205
<scope>test</scope>
206206
</dependency>
207207
<dependency>

0 commit comments

Comments
 (0)