Update build scripts
Update build scripts to allow -Ddisable.checks flag to disable checkstyle auditing during the build.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user