build script for schema registry components

This commit is contained in:
Soby Chacko
2022-08-26 14:29:22 -04:00
parent db8b797e11
commit 1aef594cc9
2 changed files with 11 additions and 0 deletions

11
buildSchemaRegistry.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
if [ "$#" -eq 1 ]; then
ARGVALUE=$1
if [[ $ARGVALUE == *"skipTest"* ]]; then
echo "Skippping Tests"
./mvnw clean install -f schema-registry/pom.xml -DskipTests
fi
else
./mvnw clean install -f schema-registry/pom.xml
fi