Skip to content

Commit efdca95

Browse files
committed
Update contributor doc reflecting #33954
1 parent 458d7a7 commit efdca95

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

contributor-docs/code-change-guide.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,8 @@ Follow these steps for Gradle projects.
395395

396396
```groovy
397397
repositories {
398+
mavenCentral()
399+
mavenLocal()
398400
maven { url "https://repository.apache.org/content/groups/snapshots" }
399401
}
400402
```
@@ -428,18 +430,13 @@ If you're using Dataflow Runner v2 and `sdks/java/harness` or its dependencies (
428430
1. Use the following command to build the SDK harness container:
429431

430432
```shell
431-
./gradlew :sdks:java:container:java11:docker # java8, java11, java17, etc
432-
# change version number to the actual tag below
433-
docker tag apache/beam_java8_sdk:2.64.0.dev \
434-
"us.gcr.io/apache-beam-testing/beam_java11_sdk:2.64.0-custom" # change to your container registry
435-
docker push "us.gcr.io/apache-beam-testing/beam_java11_sdk:2.64.0-custom"
433+
./gradlew :sdks:java:harness:publishToMavenLocal -pPublishing
436434
```
437435

438436
2. Run the pipeline with the following options:
439437

440438
```
441-
--experiments=use_runner_v2 \
442-
--sdkContainerImage="us.gcr.io/apache-beam-testing/beam_java11_sdk:2.49.0-custom"
439+
--experiments=use_runner_v2,use_staged_dataflow_worker_jar
443440
```
444441

445442
#### Snapshot Version Containers

0 commit comments

Comments
 (0)