-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathall.sh
executable file
·46 lines (43 loc) · 1.04 KB
/
all.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
39
40
41
42
43
44
45
46
#!/usr/bin/env bash
set -e
set -x
pushd third-party-code
mvn clean
mvn install
popd
pushd legacy-code
mvn clean
mvn install
popd
pushd module-d1
mvn clean
mvn install
popd
pushd module-d2
mvn clean
mvn install
popd
pushd module-c
mvn clean
mvn install
popd
pushd module-b
mvn clean
mvn install
popd
pushd module-a
mvn clean
mvn install
popd
pushd entry-point
mvn clean
mvn package
popd
java -jar entry-point/target/learn-module-entry-point-1-SNAPSHOT-jar-with-dependencies.jar
java -jar module-a/target/learn-module-a-1-SNAPSHOT-jar-with-dependencies.jar
java -jar module-b/target/learn-module-b-1-SNAPSHOT-jar-with-dependencies.jar
java -jar module-c/target/learn-module-c-1-SNAPSHOT-jar-with-dependencies.jar
java -jar module-d1/target/learn-module-d-1-SNAPSHOT-jar-with-dependencies.jar
java -jar module-d2/target/learn-module-d-2-SNAPSHOT-jar-with-dependencies.jar
java -jar legacy-code/target/learn-module-legacy-code-1-SNAPSHOT-jar-with-dependencies.jar
java -jar third-party-code/target/learn-module-third-party-code-1-SNAPSHOT-jar-with-dependencies.jar