From d459a2f42ce33ce4647af1c334dc2e241f12a718 Mon Sep 17 00:00:00 2001 From: Soby Chacko Date: Mon, 28 Mar 2022 15:04:55 -0400 Subject: [PATCH] Adding build scripts --- buildCore.sh | 11 +++++++++++ buildDependencies.sh | 3 +++ buildKafkaBinder.sh | 11 +++++++++++ buildRabbitBinder.sh | 11 +++++++++++ 4 files changed, 36 insertions(+) create mode 100755 buildCore.sh create mode 100755 buildDependencies.sh create mode 100755 buildKafkaBinder.sh create mode 100755 buildRabbitBinder.sh diff --git a/buildCore.sh b/buildCore.sh new file mode 100755 index 000000000..f6fcc2042 --- /dev/null +++ b/buildCore.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +if [ "$#" -eq 1 ]; then + ARGVALUE=$1 + if [[ $ARGVALUE == *"skipTest"* ]]; then + echo "Skippping Tests" + ./mvnw clean install -f core/pom.xml -DskipTests + fi +else + ./mvnw clean install -f core/pom.xml +fi diff --git a/buildDependencies.sh b/buildDependencies.sh new file mode 100755 index 000000000..2611686ab --- /dev/null +++ b/buildDependencies.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +./mvnw clean install -f bom/pom.xml diff --git a/buildKafkaBinder.sh b/buildKafkaBinder.sh new file mode 100755 index 000000000..b18b22946 --- /dev/null +++ b/buildKafkaBinder.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +if [ "$#" -eq 1 ]; then + ARGVALUE=$1 + if [[ $ARGVALUE == *"skipTest"* ]]; then + echo "Skippping Tests" + ./mvnw clean install -f binders/kafka-binder/pom.xml -DskipTests + fi +else + ./mvnw clean install -f binders/kafka-binder/pom.xml +fi diff --git a/buildRabbitBinder.sh b/buildRabbitBinder.sh new file mode 100755 index 000000000..4ca6ea518 --- /dev/null +++ b/buildRabbitBinder.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +if [ "$#" -eq 1 ]; then + ARGVALUE=$1 + if [[ $ARGVALUE == *"skipTest"* ]]; then + echo "Skippping Tests" + ./mvnw clean install -f binders/rabbit-binder/pom.xml -DskipTests + fi +else + ./mvnw clean install -f binders/rabbit-binder/pom.xml +fi