-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmvnw
More file actions
executable file
·26 lines (23 loc) · 805 Bytes
/
Copy pathmvnw
File metadata and controls
executable file
·26 lines (23 loc) · 805 Bytes
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
#!/bin/sh
# 3Z Insta Cart Maven Wrapper Launcher
PRG="$0"
while [ -h "$PRG" ]; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`/"$link"
fi
done
PRGDIR=`dirname "$PRG"`
if [ -x "/Users/peterperez/.gemini/antigravity/scratch/tools/apache-maven-3.9.9/bin/mvn" ]; then
export PATH="/opt/homebrew/opt/openjdk/bin:/Users/peterperez/.gemini/antigravity/scratch/tools/apache-maven-3.9.9/bin:$PATH"
export JAVA_HOME="/opt/homebrew/opt/openjdk"
exec /Users/peterperez/.gemini/antigravity/scratch/tools/apache-maven-3.9.9/bin/mvn "$@"
fi
if command -v mvn >/dev/null 2>&1; then
exec mvn "$@"
fi
echo "Maven not found on system PATH. Please ensure Maven or OpenJDK is configured." >&2
exit 1