diff --git a/buildCore.sh b/buildCore.sh index f6fcc2042..f284cecdc 100755 --- a/buildCore.sh +++ b/buildCore.sh @@ -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 diff --git a/buildKafkaBinder.sh b/buildKafkaBinder.sh index b18b22946..fcb4816ed 100755 --- a/buildKafkaBinder.sh +++ b/buildKafkaBinder.sh @@ -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 diff --git a/buildKinesisBinder.sh b/buildKinesisBinder.sh index ab15d538f..7b258bad6 100755 --- a/buildKinesisBinder.sh +++ b/buildKinesisBinder.sh @@ -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 diff --git a/buildRabbitBinder.sh b/buildRabbitBinder.sh index 4ca6ea518..d8d56e568 100755 --- a/buildRabbitBinder.sh +++ b/buildRabbitBinder.sh @@ -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 diff --git a/buildSchemaRegistry.sh b/buildSchemaRegistry.sh index 5fac5e896..31356714c 100755 --- a/buildSchemaRegistry.sh +++ b/buildSchemaRegistry.sh @@ -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