diff --git a/buildPulsarBinder.sh b/buildPulsarBinder.sh new file mode 100755 index 000000000..5bcce600a --- /dev/null +++ b/buildPulsarBinder.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +if [ "$#" -eq 1 ]; then + ARGVALUE=$1 + if [[ $ARGVALUE == *"skipTest"* ]]; then + echo "Skippping Tests" + ./mvnw clean install -f binders/pulsar-binder/pom.xml -DskipTests + elif [[ $ARGVALUE == *"disable.checks"* ]]; then + echo "Skippping checkstyle checks" + ./mvnw clean install -f binders/pulsar-binder/pom.xml -Ddisable.checks=true + fi +else + ./mvnw clean install -f binders/pulsar-binder/pom.xml +fi