You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by se...@apache.org on 2016/09/21 15:54:15 UTC

[2/6] flink git commit: [hotfix] [docs] Parametrized version of quickstart script and artifacts in the quickstart docs

[hotfix] [docs] Parametrized version of quickstart script and artifacts in the quickstart docs

This closes #2522


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/db45da7d
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/db45da7d
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/db45da7d

Branch: refs/heads/master
Commit: db45da7d70aa1b84f7fbf0e74263e7e115f5ddd5
Parents: 7212202
Author: chobeat <si...@gmail.com>
Authored: Tue Sep 20 16:27:16 2016 +0200
Committer: Stephan Ewen <se...@apache.org>
Committed: Wed Sep 21 17:53:32 2016 +0200

----------------------------------------------------------------------
 docs/quickstart/java_api_quickstart.md    | 2 +-
 docs/quickstart/run_example_quickstart.md | 2 +-
 docs/quickstart/scala_api_quickstart.md   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/db45da7d/docs/quickstart/java_api_quickstart.md
----------------------------------------------------------------------
diff --git a/docs/quickstart/java_api_quickstart.md b/docs/quickstart/java_api_quickstart.md
index 389c25a..1c7bd8a 100644
--- a/docs/quickstart/java_api_quickstart.md
+++ b/docs/quickstart/java_api_quickstart.md
@@ -71,7 +71,7 @@ A note to Mac OS X users: The default JVM heapsize for Java is too small for Fli
 
 ## Build Project
 
-If you want to __build your project__, go to your project directory and issue the `mvn clean install -Pbuild-jar` command. You will __find a jar__ that runs on every Flink cluster in __target/your-artifact-id-1.0-SNAPSHOT.jar__. There is also a fat-jar,  __target/your-artifact-id-1.0-SNAPSHOT-flink-fat-jar.jar__. This
+If you want to __build your project__, go to your project directory and issue the `mvn clean install -Pbuild-jar` command. You will __find a jar__ that runs on every Flink cluster in __target/your-artifact-id-{{ site.version }}.jar__. There is also a fat-jar,  __target/your-artifact-id-{{ site.version }}-flink-fat-jar.jar__. This
 also contains all dependencies that get added to the maven project.
 
 ## Next Steps

http://git-wip-us.apache.org/repos/asf/flink/blob/db45da7d/docs/quickstart/run_example_quickstart.md
----------------------------------------------------------------------
diff --git a/docs/quickstart/run_example_quickstart.md b/docs/quickstart/run_example_quickstart.md
index e079280..a64e87f 100644
--- a/docs/quickstart/run_example_quickstart.md
+++ b/docs/quickstart/run_example_quickstart.md
@@ -44,7 +44,7 @@ about this. For our purposes, the command to run is this:
 $ mvn archetype:generate\
     -DarchetypeGroupId=org.apache.flink\
     -DarchetypeArtifactId=flink-quickstart-java\
-    -DarchetypeVersion=1.0.0\
+    -DarchetypeVersion={{ site.version }}\
     -DgroupId=wiki-edits\
     -DartifactId=wiki-edits\
     -Dversion=0.1\

http://git-wip-us.apache.org/repos/asf/flink/blob/db45da7d/docs/quickstart/scala_api_quickstart.md
----------------------------------------------------------------------
diff --git a/docs/quickstart/scala_api_quickstart.md b/docs/quickstart/scala_api_quickstart.md
index 16101d5..22562f4 100644
--- a/docs/quickstart/scala_api_quickstart.md
+++ b/docs/quickstart/scala_api_quickstart.md
@@ -171,7 +171,7 @@ The IntelliJ IDE also supports Maven and offers a plugin for Scala development.
 
 ### Build Project
 
-If you want to __build your project__, go to your project directory and issue the `mvn clean package -Pbuild-jar` command. You will __find a jar__ that runs on every Flink cluster in __target/your-artifact-id-1.0-SNAPSHOT.jar__. There is also a fat-jar,  __target/your-artifact-id-1.0-SNAPSHOT-flink-fat-jar.jar__. This
+If you want to __build your project__, go to your project directory and issue the `mvn clean package -Pbuild-jar` command. You will __find a jar__ that runs on every Flink cluster in __target/your-artifact-id-{{ site.version }}.jar__. There is also a fat-jar,  __target/your-artifact-id-{{ site.version }}-flink-fat-jar.jar__. This
 also contains all dependencies that get added to the maven project.
 
 ## Next Steps