Initialize Spring Boot docker branch with Drone pipeline
This commit is contained in:
15
mvnw
vendored
Executable file
15
mvnw
vendored
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
BASE_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
|
||||
WRAPPER_DIR="$BASE_DIR/.mvn/wrapper"
|
||||
WRAPPER_JAR="$WRAPPER_DIR/maven-wrapper.jar"
|
||||
PROPERTIES_FILE="$WRAPPER_DIR/maven-wrapper.properties"
|
||||
|
||||
if [ ! -f "$WRAPPER_JAR" ]; then
|
||||
URL=$(sed -n 's/^wrapperUrl=//p' "$PROPERTIES_FILE")
|
||||
mkdir -p "$WRAPPER_DIR"
|
||||
curl -fsSL "$URL" -o "$WRAPPER_JAR"
|
||||
fi
|
||||
|
||||
exec java -classpath "$WRAPPER_JAR" org.apache.maven.wrapper.MavenWrapperMain "$@"
|
||||
Reference in New Issue
Block a user