1. The latest maven for examples is 2.22.0
2. One needs to provide –region=us-east1 among the other parameters in mvn archetype:generate. Otherwise they will get:
dataflow-lab: An exception occured while executing the Java class. Failed to co<span style="font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;">nstruct instance from factory method DataflowRunner#fromOptions(interface org.apache.beam.sdk.options.PipelineOptions): InvocationTargetException: Missing required values: region -></span>
Thanks for these comments 🙂 I hope to update the lab soon but hopefully this will help everyone out in the meantime.