mvn spring-cloud-contract-verifier:convert+
mvn spring-cloud-contract:convert
diff --git a/spring-cloud-contract-maven-plugin/usage.html b/spring-cloud-contract-maven-plugin/usage.html index 5cb61831bb..a6632e5894 100644 --- a/spring-cloud-contract-maven-plugin/usage.html +++ b/spring-cloud-contract-maven-plugin/usage.html @@ -268,7 +268,7 @@
mvn spring-cloud-contract-verifier:convert+
mvn spring-cloud-contract:convert
mvn spring-cloud-contract-verifier:run+
mvn spring-cloud-contract:run
mvn spring-cloud-contract-verifier:run -Dstubs="org.springframework:gs-rest-service"+
mvn spring-cloud-contract:run -Dstubs="org.springframework:gs-rest-service"
where org.springframework:gs-rest-service is artifact with stubs classifier contains WireMock mappings.
In order for the goal to be executed correctly, target/stubs subdirectory should be added in the directory from which
+the command will be executed.
~/.m2/settings.xml is required: <pluginGroups><pluginGroup> org.springframework.cloud:spring-cloud-contract-maven-plugin</pluginGroup></pluginGroups>.
+1. Additional configuration inside ~/.m2/settings.xml is required: <pluginGroups><pluginGroup>org.springframework.cloud</pluginGroup></pluginGroups>.