Skip to content

Commit edbdea8

Browse files
committed
Keep hamcrest
1 parent f887039 commit edbdea8

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

pom.xml

+8-10
Original file line numberDiff line numberDiff line change
@@ -249,12 +249,6 @@
249249
<groupId>org.apache.beam</groupId>
250250
<artifactId>beam-runners-direct-java</artifactId>
251251
<version>${beam.version}</version>
252-
<exclusions>
253-
<exclusion>
254-
<groupId>org.hamcrest</groupId>
255-
<artifactId>hamcrest</artifactId>
256-
</exclusion>
257-
</exclusions>
258252
</dependency>
259253
<dependency>
260254
<groupId>org.apache.beam</groupId>
@@ -265,10 +259,6 @@
265259
<groupId>junit</groupId>
266260
<artifactId>junit</artifactId>
267261
</exclusion>
268-
<exclusion>
269-
<groupId>org.hamcrest</groupId>
270-
<artifactId>hamcrest</artifactId>
271-
</exclusion>
272262
<exclusion>
273263
<groupId>com.google.api.grpc</groupId>
274264
<artifactId>grpc-google-cloud-pubsub-v1</artifactId>
@@ -380,6 +370,14 @@
380370
<artifactId>mysql-socket-factory-connector-j-8</artifactId>
381371
<version>${socket-factory.version}</version>
382372
</dependency>
373+
<dependency>
374+
<groupId>org.hamcrest</groupId>
375+
<artifactId>hamcrest</artifactId>
376+
<version>${hamcrest.version}</version>
377+
<!-- Needed for PipelineOptionRegistrar auto-service that registered TestPipelineOptions interfaces-->
378+
<!--https://github.com/apache/beam/issues/18593-->
379+
<!--https://github.com/apache/beam/pull/30637/files-->
380+
</dependency>
383381

384382
<!-- Test Deps -->
385383

0 commit comments

Comments
 (0)