-
Notifications
You must be signed in to change notification settings - Fork 0
/
quickstart-SNAPSHOT.sh
executable file
·38 lines (33 loc) · 1.36 KB
/
quickstart-SNAPSHOT.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/usr/bin/env bash
PACKAGE=quickstart
mvn archetype:generate \
-DarchetypeGroupId=eu.stratosphere \
-DarchetypeArtifactId=quickstart-java-SNAPSHOT \
-DarchetypeVersion=0.5-SNAPSHOT \
-DgroupId=eu.stratosphere \
-DartifactId=$PACKAGE \
-Dversion=0.1 \
-Dpackage=eu.stratosphere.quickstart \
-DinteractiveMode=false \
-DarchetypeCatalog=https://oss.sonatype.org/content/repositories/snapshots/
#
# Give some guidance
#
echo -e "\\n\\n"
echo -e "\\tA sample quickstart Stratosphere Job has been created."
echo -e "\\tSwitch into the directory using"
echo -e "\\t\\t cd $PACKAGE"
echo -e "\\tImport the project there using your favorite IDE (Import it as a maven project)"
echo -e "\\tBuild a jar inside the directory using"
echo -e "\\t\\t mvn clean package"
echo -e "\\tYou will find the runnable jar in $PACKAGE/target"
echo -e "\\tConsult our mailing list if you have any troubles: https://groups.google.com/forum/#!forum/stratosphere-dev"
echo -e "\\n\\n"
# Use this command if you want to specify the coordinates of your generated artifact
# in an interactive menu:
#
# mvn archetype:generate \
# -DarchetypeGroupId=eu.stratosphere \
# -DarchetypeArtifactId=quickstart-java \
# -DarchetypeVersion=0.4-SNAPSHOT \
# -DarchetypeCatalog=https://oss.sonatype.org/content/repositories/snapshots/