diff --git a/config/releaser.yml b/config/releaser.yml index 3b7005f0ac..547cd9982c 100644 --- a/config/releaser.yml +++ b/config/releaser.yml @@ -1,3 +1,3 @@ -releaser.maven.buildCommand: ./scripts/noIntegration.sh +releaser.maven.buildCommand: ./scripts/noIntegration.sh {{systemProps}} releaser.gradle.gradlePropsSubstitution: verifierVersion: spring-cloud-contract \ No newline at end of file diff --git a/scripts/generateDocs.sh b/scripts/generateDocs.sh index c730dd17c3..cf55f0fe64 100755 --- a/scripts/generateDocs.sh +++ b/scripts/generateDocs.sh @@ -7,10 +7,10 @@ set -e echo "Generating docs for Spring Cloud Contract" echo "Building main docs" -./mvnw clean install -P docs -DskipTests=true --pl docs +./mvnw clean install -P docs -DskipTests=true --pl docs ${@} echo "Building maven plugin docs" -./mvnw site -DskipTests=true --pl spring-cloud-contract-tools/spring-cloud-contract-maven-plugin +./mvnw site -DskipTests=true --pl spring-cloud-contract-tools/spring-cloud-contract-maven-plugin ${@} echo "Copying generated maven plugin docs to main docs" cp -r spring-cloud-contract-tools/spring-cloud-contract-maven-plugin/target/site docs/target/generated-docs/spring-cloud-contract-maven-plugin \ No newline at end of file diff --git a/scripts/noIntegration.sh b/scripts/noIntegration.sh index ce46fbd90e..e8dad9c611 100755 --- a/scripts/noIntegration.sh +++ b/scripts/noIntegration.sh @@ -6,5 +6,5 @@ FOLDER=`pwd` set -e -./mvnw clean install -${FOLDER}/scripts/generateDocs.sh \ No newline at end of file +./mvnw clean install ${@} +${FOLDER}/scripts/generateDocs.sh ${@} \ No newline at end of file