You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by yh...@apache.org on 2025/04/24 22:39:42 UTC

(beam) branch master updated: Update contributor doc reflecting #33954 (#34640)

This is an automated email from the ASF dual-hosted git repository.

yhu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 5832c61f769 Update contributor doc reflecting #33954 (#34640)
5832c61f769 is described below

commit 5832c61f7693cf9983604378f5204da5635e845d
Author: Yi Hu <ya...@google.com>
AuthorDate: Thu Apr 24 18:39:35 2025 -0400

    Update contributor doc reflecting #33954 (#34640)
---
 contributor-docs/code-change-guide.md | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/contributor-docs/code-change-guide.md b/contributor-docs/code-change-guide.md
index 2d36827e130..8a0cca4559a 100644
--- a/contributor-docs/code-change-guide.md
+++ b/contributor-docs/code-change-guide.md
@@ -395,6 +395,8 @@ Follow these steps for Gradle projects.
 
     ```groovy
     repositories {
+    mavenCentral()
+    mavenLocal()
     maven { url "https://repository.apache.org/content/groups/snapshots" }
     }
     ```
@@ -428,18 +430,18 @@ 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:
+2. add `org.apache.beam:beam-sdks-java-harness:2.XX.0-SNAPSHOT` as your project dependency. e.g. for Gradle project, add
+    ```
+    implementation("org.apache.beam:beam-sdks-java-harness:2.XX.0-SNAPSHOT")
+    ```
+
+3. 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