bvolpato opened a new pull request, #29447:
URL: https://github.com/apache/beam/pull/29447

   Generates POM following 
https://beam.apache.org/blog/managing-beam-dependencies-in-java/
   
   This will allow more runner-specific project so profiles don't have to be 
used. It allows a user to get started on Dataflow with 2 commands:
   
   ```
   mvn archetype:generate \
       -DarchetypeGroupId=org.apache.beam \
       -DarchetypeArtifactId=beam-sdks-java-maven-archetypes-dataflow-examples \
       -DarchetypeVersion=2.53.0-SNAPSHOT \
       -DtargetPlatform=11 \
       -DgroupId=org.example \
       -DartifactId=word-count-beam \
       -Dversion="0.1" \
       -Dpackage=org.apache.beam.dataflow.examples \
       -DinteractiveMode=false
   ```
   
   And
   
   ```
   mvn clean package exec:java 
-Dexec.mainClass="org.apache.beam.dataflow.examples.WordCount" 
-Dexec.args='--runner=DataflowRunner --project={PROJECT} 
--output=gs://{BUCKET}/output'
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to