[ 
https://issues.apache.org/jira/browse/BEAM-7215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17506609#comment-17506609
 ] 

David Huntsperger commented on BEAM-7215:
-----------------------------------------

As noted in [~altay] 's comment, we should point back to the quickstart for 
instructions on how to create the project using the Maven archetype.

> Wordcount example page does not tell the user to create the maven project 
> using archetype
> -----------------------------------------------------------------------------------------
>
>                 Key: BEAM-7215
>                 URL: https://issues.apache.org/jira/browse/BEAM-7215
>             Project: Beam
>          Issue Type: Improvement
>          Components: website
>            Reporter: David Yan
>            Priority: P3
>
> [https://beam.apache.org/get-started/wordcount-example/#wordcount-example] 
> does not have a link back to 
> [https://beam.apache.org/get-started/quickstart-java/#get-the-wordcount-code].
>  If the user just follows the instructions in the first link (from a search 
> engine let's say), they would get:
> {{$ mvn compile exec:java -Dexec.mainClass=org.apache.beam.examples.WordCount 
> -Dexec.args="--runner=DataflowRunner 
> --gcpTempLocation=gs://clouddfe-test/staging-$USER 
> --inputFile=gs://apache-beam-samples/shakespeare/* 
> --output=gs://world-readable-mkcq69tkcu/$USER/result.txt" -Pdataflow-runner 
> [INFO] Scanning for projects... [INFO] 
> ------------------------------------------------------------------------ 
> [INFO] BUILD FAILURE [INFO] 
> ------------------------------------------------------------------------ 
> [INFO] Total time: 0.068 s [INFO] Finished at: 2019-05-02T13:32:15-07:00 
> [INFO] Final Memory: 23M/1948M [INFO] 
> ------------------------------------------------------------------------ 
> [WARNING] The requested profile "dataflow-runner" could not be activated 
> because it does not exist. [ERROR] The goal you specified requires a project 
> to execute but there is no POM in this directory 
> (/usr/local/google/home/davidyan/beam). Please verify you invoked Maven from 
> the correct directory. -> [Help 1]}}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to