Files
spring-cloud-stream/buildSchemaRegistry.sh
Soby Chacko fad684c2d7 Schema Registry cleanup
* AutoConfiguration.imports in-lieu of spring.factories and related changes.
* Build script cleanup.
2022-10-31 11:52:25 -04:00

15 lines
412 B
Bash
Executable File

#!/bin/bash
if [ "$#" -eq 1 ]; then
ARGVALUE=$1
if [[ $ARGVALUE == *"skipTest"* ]]; then
echo "Skippping Tests"
./mvnw clean install -f schema-registry/pom.xml -DskipTests
elif [[ $ARGVALUE == *"disable.checks"* ]]; then
echo "Skippping checkstyle checks"
./mvnw clean install -f schema-registry/pom.xml -Ddisable.checks=true
fi
else
./mvnw clean install -f schema-registry/pom.xml
fi