Update build scripts

Update build scripts to allow -Ddisable.checks flag
to disable checkstyle auditing during the build.
This commit is contained in:
Soby Chacko
2022-10-12 14:14:55 -04:00
parent 5cb598a211
commit 9039bdc5e5
5 changed files with 23 additions and 8 deletions

View File

@@ -5,6 +5,9 @@ if [ "$#" -eq 1 ]; then
if [[ $ARGVALUE == *"skipTest"* ]]; then
echo "Skippping Tests"
./mvnw clean install -f core/pom.xml -DskipTests
elif [[ $ARGVALUE == *"disable.checks"* ]]; then
echo "Skippping checkstyle checks"
./mvnw clean install -f core/pom.xml -Ddisable.checks=true
fi
else
./mvnw clean install -f core/pom.xml

View File

@@ -4,8 +4,11 @@ if [ "$#" -eq 1 ]; then
ARGVALUE=$1
if [[ $ARGVALUE == *"skipTest"* ]]; then
echo "Skippping Tests"
./mvnw clean install -f binders/kafka-binder/pom.xml -DskipTests
fi
./mvnw clean install -f core/pom.xml -DskipTests
elif [[ $ARGVALUE == *"disable.checks"* ]]; then
echo "Skippping checkstyle checks"
./mvnw clean install -f core/pom.xml -Ddisable.checks=true
fi
else
./mvnw clean install -f binders/kafka-binder/pom.xml
fi

View File

@@ -4,8 +4,11 @@ if [ "$#" -eq 1 ]; then
ARGVALUE=$1
if [[ $ARGVALUE == *"skipTest"* ]]; then
echo "Skippping Tests"
./mvnw clean install -f binders/kinesis-binder/pom.xml -DskipTests
fi
./mvnw clean install -f core/pom.xml -DskipTests
elif [[ $ARGVALUE == *"disable.checks"* ]]; then
echo "Skippping checkstyle checks"
./mvnw clean install -f core/pom.xml -Ddisable.checks=true
fi
else
./mvnw clean install -f binders/kinesis-binder/pom.xml
fi

View File

@@ -4,8 +4,11 @@ if [ "$#" -eq 1 ]; then
ARGVALUE=$1
if [[ $ARGVALUE == *"skipTest"* ]]; then
echo "Skippping Tests"
./mvnw clean install -f binders/rabbit-binder/pom.xml -DskipTests
fi
./mvnw clean install -f core/pom.xml -DskipTests
elif [[ $ARGVALUE == *"disable.checks"* ]]; then
echo "Skippping checkstyle checks"
./mvnw clean install -f core/pom.xml -Ddisable.checks=true
fi
else
./mvnw clean install -f binders/rabbit-binder/pom.xml
fi

View File

@@ -4,8 +4,11 @@ if [ "$#" -eq 1 ]; then
ARGVALUE=$1
if [[ $ARGVALUE == *"skipTest"* ]]; then
echo "Skippping Tests"
./mvnw clean install -f schema-registry/pom.xml -DskipTests
fi
./mvnw clean install -f core/pom.xml -DskipTests
elif [[ $ARGVALUE == *"disable.checks"* ]]; then
echo "Skippping checkstyle checks"
./mvnw clean install -f core/pom.xml -Ddisable.checks=true
fi
else
./mvnw clean install -f schema-registry/pom.xml
fi