Skip to content

Update contributor doc reflecting #33954 #34640

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions contributor-docs/code-change-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,8 @@ Follow these steps for Gradle projects.

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

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

2. Run the pipeline with the following options:

```
--experiments=use_runner_v2 \
--sdkContainerImage="us.gcr.io/apache-beam-testing/beam_java11_sdk:2.49.0-custom"
--experiments=use_runner_v2,use_staged_dataflow_worker_jar
```

#### Snapshot Version Containers
Expand Down
Loading