readme about running stubs

[ci skip]
This commit is contained in:
Mariusz Smykula
2016-04-14 22:46:11 +02:00
parent cbd3362088
commit 77faffce48

View File

@@ -16,15 +16,23 @@ For more information please go to the [Accurest Wiki](https://github.com/Codeart
Accurest Runner
Accurest Stub Runner
---
Run contracts from current directory:
mvn io.codearte.accurest:accurest-maven-plugin:run
or shortly <sup>*</sup>
mvn accurest:run
Running stubs from repository:
mvn accurest:run -Dstubs="org.springframework:gs-rest-service"
where `org.springframework:gs-rest-service` is artifact with 'stubs` classifier contains wiremock mappings.
---
<sup>*</sup> Additional configuration inside `~/.m2/settings.xml` is required.