Skip to content

Commit a93750f

Browse files
Minor
1 parent 402dbef commit a93750f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

scripts/setup.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,15 @@ install_apache_spark() {
6666
fi
6767
}
6868

69+
install_mvn() {
70+
if [ ! $(type -p mvn) ]; then
71+
error "'mvn' not found. Installing it now ..."
72+
brew install mvn
73+
else
74+
log "'mvn' found ..."
75+
fi
76+
}
77+
6978
conda_init() {
7079
conda init --all || error "Unable to conda init ..."
7180
if [[ $SHELL == *"zsh"* ]]; then
@@ -96,6 +105,7 @@ log "Starting Setup Service"
96105

97106
install_brew
98107
install_apache_spark
108+
install_mvn
99109
install_conda
100110
create_conda_env
101111

0 commit comments

Comments
 (0)