David Yan created BEAM-7215:
-------------------------------

             Summary: 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


[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
(v7.6.3#76005)

Reply via email to