Repository: flink-web
Updated Branches:
  refs/heads/asf-site 6c1ec7b82 -> 155a1d0f6


[hotfix] Update quickstarts to Flink 1.4.1


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

Branch: refs/heads/asf-site
Commit: 155a1d0f6344bf6f8205470d5f3f3b808b6254ce
Parents: 6c1ec7b
Author: Timo Walther <twal...@apache.org>
Authored: Fri Feb 23 17:26:11 2018 +0100
Committer: Timo Walther <twal...@apache.org>
Committed: Fri Feb 23 17:26:11 2018 +0100

----------------------------------------------------------------------
 q/quickstart-SNAPSHOT.sh       | 18 +++++++++---------
 q/quickstart-scala-SNAPSHOT.sh | 18 +++++++++---------
 q/quickstart-scala.sh          |  2 +-
 q/quickstart.sh                |  2 +-
 q/sbt-quickstart.sh            |  8 ++++----
 5 files changed, 24 insertions(+), 24 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink-web/blob/155a1d0f/q/quickstart-SNAPSHOT.sh
----------------------------------------------------------------------
diff --git a/q/quickstart-SNAPSHOT.sh b/q/quickstart-SNAPSHOT.sh
index 69dd94e..511954b 100755
--- a/q/quickstart-SNAPSHOT.sh
+++ b/q/quickstart-SNAPSHOT.sh
@@ -21,15 +21,15 @@
 
 PACKAGE=quickstart
 
-mvn archetype:generate                                                         
\
-  -DarchetypeGroupId=org.apache.flink                          \
-  -DarchetypeArtifactId=flink-quickstart-java          \
-  -DarchetypeVersion=1.4-SNAPSHOT                                      \
-  -DgroupId=org.myorg.quickstart                                       \
-  -DartifactId=$PACKAGE                                                        
        \
-  -Dversion=0.1                                                                
                \
-  -Dpackage=org.myorg.quickstart                                       \
-  -DinteractiveMode=false                                                      
\
+mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate       \
+  -DarchetypeGroupId=org.apache.flink                                          
                \
+  -DarchetypeArtifactId=flink-quickstart-java                                  
        \
+  -DarchetypeVersion=1.5-SNAPSHOT                                              
                        \
+  -DgroupId=org.myorg.quickstart                                               
                        \
+  -DartifactId=$PACKAGE                                                        
                                        \
+  -Dversion=0.1                                                                
                                                \
+  -Dpackage=org.myorg.quickstart                                               
                        \
+  -DinteractiveMode=false                                                      
                                \
   
-DarchetypeCatalog=https://repository.apache.org/content/repositories/snapshots/
 
 #

http://git-wip-us.apache.org/repos/asf/flink-web/blob/155a1d0f/q/quickstart-scala-SNAPSHOT.sh
----------------------------------------------------------------------
diff --git a/q/quickstart-scala-SNAPSHOT.sh b/q/quickstart-scala-SNAPSHOT.sh
index de9fb2a..2e8ad97 100755
--- a/q/quickstart-scala-SNAPSHOT.sh
+++ b/q/quickstart-scala-SNAPSHOT.sh
@@ -21,15 +21,15 @@
 
 PACKAGE=quickstart
 
-mvn archetype:generate                                                         
\
-  -DarchetypeGroupId=org.apache.flink                          \
-  -DarchetypeArtifactId=flink-quickstart-scala         \
-  -DarchetypeVersion=1.4-SNAPSHOT                                      \
-  -DgroupId=org.myorg.quickstart                                       \
-  -DartifactId=$PACKAGE                                                        
        \
-  -Dversion=0.1                                                                
                \
-  -Dpackage=org.myorg.quickstart                                       \
-  -DinteractiveMode=false                                                      
\
+mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate       \
+  -DarchetypeGroupId=org.apache.flink                                          
                \
+  -DarchetypeArtifactId=flink-quickstart-scala                                 
        \
+  -DarchetypeVersion=1.5-SNAPSHOT                                              
                        \
+  -DgroupId=org.myorg.quickstart                                               
                        \
+  -DartifactId=$PACKAGE                                                        
                                        \
+  -Dversion=0.1                                                                
                                                \
+  -Dpackage=org.myorg.quickstart                                               
                        \
+  -DinteractiveMode=false                                                      
                                \
   
-DarchetypeCatalog=https://repository.apache.org/content/repositories/snapshots/
 
 #

http://git-wip-us.apache.org/repos/asf/flink-web/blob/155a1d0f/q/quickstart-scala.sh
----------------------------------------------------------------------
diff --git a/q/quickstart-scala.sh b/q/quickstart-scala.sh
index 8df488a..38e5f8e 100755
--- a/q/quickstart-scala.sh
+++ b/q/quickstart-scala.sh
@@ -24,7 +24,7 @@ PACKAGE=quickstart
 mvn archetype:generate                                                         
\
   -DarchetypeGroupId=org.apache.flink                          \
   -DarchetypeArtifactId=flink-quickstart-scala         \
-  -DarchetypeVersion=1.3.0                                                     
\
+  -DarchetypeVersion=1.4.1                                                     
\
   -DgroupId=org.myorg.quickstart                                       \
   -DartifactId=$PACKAGE                                                        
        \
   -Dversion=0.1                                                                
                \

http://git-wip-us.apache.org/repos/asf/flink-web/blob/155a1d0f/q/quickstart.sh
----------------------------------------------------------------------
diff --git a/q/quickstart.sh b/q/quickstart.sh
index 36811da..ce40ad8 100755
--- a/q/quickstart.sh
+++ b/q/quickstart.sh
@@ -24,7 +24,7 @@ PACKAGE=quickstart
 mvn archetype:generate                                                         
\
   -DarchetypeGroupId=org.apache.flink                          \
   -DarchetypeArtifactId=flink-quickstart-java          \
-  -DarchetypeVersion=1.3.0                                                     
\
+  -DarchetypeVersion=1.4.1                                                     
\
   -DgroupId=org.myorg.quickstart                                       \
   -DartifactId=$PACKAGE                                                        
        \
   -Dversion=0.1                                                                
                \

http://git-wip-us.apache.org/repos/asf/flink-web/blob/155a1d0f/q/sbt-quickstart.sh
----------------------------------------------------------------------
diff --git a/q/sbt-quickstart.sh b/q/sbt-quickstart.sh
index 7746aea..19eb080 100755
--- a/q/sbt-quickstart.sh
+++ b/q/sbt-quickstart.sh
@@ -42,7 +42,7 @@ defaultProjectName="Flink Project"
 defaultOrganization="org.example"
 defaultVersion="0.1-SNAPSHOT"
 defaultScalaVersion="2.11.7"
-defaultFlinkVersion="1.3.2"
+defaultFlinkVersion="1.4.1"
 
 echo "This script creates a Flink project using Scala and SBT."
 
@@ -116,7 +116,7 @@ lazy val root = (project in file(\".\")).
 mainClass in assembly := Some(\"$organization.Job\")
 
 // make run command include the provided dependencies
-run in Compile <<= Defaults.runTask(fullClasspath in Compile, mainClass in 
(Compile, run), runner in (Compile, run))
+run in Compile := Defaults.runTask(fullClasspath in Compile, mainClass in 
(Compile, run), runner in (Compile, run)).evaluated
 
 // exclude Scala library from assembly
 assemblyOption in assembly := (assemblyOption in 
assembly).value.copy(includeScala = false)" > ${directoryName}/build.sbt
@@ -128,7 +128,7 @@ echo "lazy val mainRunner = 
project.in(file(\"mainRunner\")).dependsOn(RootProje
   libraryDependencies := (libraryDependencies in 
RootProject(file(\".\"))).value.map{
     module =>
       if (module.configurations.equals(Some(\"provided\"))) {
-        module.copy(configurations = None)
+        module.withConfigurations(None)
       } else {
         module
       }
@@ -137,7 +137,7 @@ echo "lazy val mainRunner = 
project.in(file(\"mainRunner\")).dependsOn(RootProje
 
 # Create assembly plugin file
 
-echo "addSbtPlugin(\"com.eed3si9n\" % \"sbt-assembly\" % \"0.14.1\")" > 
${directoryName}/project/assembly.sbt
+echo "addSbtPlugin(\"com.eed3si9n\" % \"sbt-assembly\" % \"0.14.6\")" > 
${directoryName}/project/assembly.sbt
 
 # Create package structure
 

Reply via email to