Full name:
org.springframework.cloud:spring-cloud-contract-maven-plugin:1.2.0.BUILD-SNAPSHOT:convert
Description:
This goal allows you to generate `stubs-jar` or execute `spring-cloud-contract:run` with generated WireMock mappings.
Attributes:
| Name | Type | Since | Description |
|---|---|---|---|
| contractDependency | Dependency | - | (no description) User property is: contractDependency. |
| contractsDirectory | File | - | Directory containing Spring Cloud Contract Verifier contracts
written using the GroovyDSL Default value is: ${project.basedir}/src/test/resources/contracts. User property is: spring.cloud.contract.verifier.contractsDirectory. |
| contractsPath | String | - | The path in the JAR with all the contracts where contracts for this
particular service lay. If not provided will be resolved to
groupid/artifactid. Example: If groupid is com.example and artifactid is service then the resolved path will be /com/example/artifactid User property is: contractsPath. |
| contractsRepositoryUrl | String | - | The URL from which a JAR containing the contracts should get
downloaded. If not provided but artifactid / coordinates notation
was provided then the current Maven's build repositories will be
taken into consideration User property is: contractsRepositoryUrl. |
| contractsWorkOffline | boolean | - | If true then JAR with contracts will be taken from
local maven repository Default value is: false. User property is: contractsWorkOffline. |
| destination | File | - | (no description) Default value is: ${basedir}. User property is: stubsDirectory. |
| excludeBuildFolders | boolean | - | If true then any file laying in a path that contains
build or target will get excluded in
further processing. Default value is: false. User property is: excludeBuildFolders. |
| skip | boolean | - | (no description) Default value is: false. User property is: spring.cloud.contract.verifier.skip. |
| source | File | - | Directory containing contracts written using the GroovyDSL
This parameter is only used when goal is executed outside of maven project. Default value is: ${basedir}. User property is: contractsDirectory. |
| stubsDirectory | File | - | Directory where the generated WireMock stubs from Groovy DSL should
be placed. You can then mention them in your packaging task to
create jar with stubs Default value is: ${project.build.directory}/stubs/. |
skip:
This parameter is only used when goal is executed outside of maven project.