From 44d98f973487aa7bf86e23f25b13140efa835f16 Mon Sep 17 00:00:00 2001 From: Jordi Llach <33347279+jordillachmrf@users.noreply.github.com> Date: Mon, 15 Mar 2021 10:45:13 +0100 Subject: [PATCH] Fixing typo on contractsProperties (#1622) Fixing typo on contractsProperties and adding a use case sample --- docs/src/main/asciidoc/maven-project.adoc | 48 ++++++++++++++++++++++- 1 file changed, 46 insertions(+), 2 deletions(-) diff --git a/docs/src/main/asciidoc/maven-project.adoc b/docs/src/main/asciidoc/maven-project.adoc index 72f5a00700..00970bef31 100644 --- a/docs/src/main/asciidoc/maven-project.adoc +++ b/docs/src/main/asciidoc/maven-project.adoc @@ -520,8 +520,52 @@ goal. The following example shows how to do so: Under <>, you can find all possible configuration options that you can pass through -the `` map, a system property, -or an environment variable. +the `` map, a system property, +or an environment variable. For instance, you could specify a concrete branch to checkout, instead of the default one + +==== +[source,xml,indent=0] +---- + + org.springframework.cloud + spring-cloud-contract-maven-plugin + ${spring-cloud-contract.version} + true + + + + + git://https://github.com/spring-cloud-samples/spring-cloud-contract-nodejs-contracts-git.git + + another_branch + + + + + ${project.groupId} + ${project.artifactId} + ${project.version} + + + + REMOTE + + + + package + + + pushStubsToScm + + + + +---- +==== + [[maven-sts]] == Maven Plugin and STS