mirror of
https://github.com/RAIRLab/Spectra.git
synced 2024-11-09 11:10:34 -05:00
Maven command check
This commit is contained in:
parent
8790ccde66
commit
0e3de64cdd
1 changed files with 5 additions and 0 deletions
|
@ -13,6 +13,11 @@ if [ "$#" -ne 1 ]; then
|
||||||
show_usage
|
show_usage
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ! command -v mvn &> /dev/null; then
|
||||||
|
echo "Maven (mvn) is not found in the path"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
mvn -q exec:java -Dexec.mainClass="com.naveensundarg.planner.utils.Runner" -Dexec.args="$1"
|
mvn -q exec:java -Dexec.mainClass="com.naveensundarg.planner.utils.Runner" -Dexec.args="$1"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue