From e2b61cd1253293caeeed44a08aea3c704ee9d698 Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Mon, 19 Feb 2018 15:56:47 +0100 Subject: [PATCH] Added Stub Runner entry in the readme fixes gh-530 --- spring-cloud-contract-stub-runner/README.adoc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/spring-cloud-contract-stub-runner/README.adoc b/spring-cloud-contract-stub-runner/README.adoc index 1cedb81239..a940b177d2 100644 --- a/spring-cloud-contract-stub-runner/README.adoc +++ b/spring-cloud-contract-stub-runner/README.adoc @@ -470,6 +470,16 @@ Annotate a class with `@EnableStubRunnerServer`, build a fat-jar and you're read For the properties check the *Stub Runner Spring* section. +===== Stub Runner Server Fat Jar + +You can download a standalone JAR from Maven (for example, for version 1.2.3.RELEASE), as follows: + +[source,bash,indent=0] +---- +$ wget -O stub-runner.jar 'https://search.maven.org/remote_content?g=org.springframework.cloud&a=spring-cloud-contract-stub-runner-boot&v=1.2.3.RELEASE' +$ java -jar stub-runner.jar --stubrunner.ids=... --stubrunner.repositoryRoot=... +---- + ===== Spring Cloud CLI Starting from `1.4.0.RELEASE` version of the http://cloud.spring.io/spring-cloud-cli[Spring Cloud CLI]