Group / Artifact / Version / pact-jvm-provider-maven_2.11 / 3.5.0-rc.2
DescriptionMaven plugin to verify a provider [version 2.1.9+] ================================================== Maven plugin for verifying pacts against a provider. The Maven plugin provides a `verify` goal which will verify all configured pacts against your provider. ## To Use It ### 1. Add the pact-jvm-provider-maven plugin to your `build` section of your pom file. ```xml [...] [...] pact-jvm-provider-maven_2.11 3.3.8 [...] [...] ``` ### 2. Define the pacts between your consumers and providers You define all the providers and consumers within the configuration element of the maven plugin. ```xml pact-jvm-provider-maven_2.11 3.3.8 provider1 http localhost 8080 / consumer1 path/to/provider1-consumer1-pact.json ``` ### 3. Execute `mvn pact:verify` You will have to have your provider running for this to pass. ## Verifying all pact files in a directory for a provider. [2.1.10+] You can specify a directory that contains pact files, and the Pact plugin will scan for all pact files that match that provider and define a consumer for each pact file in the directory. Consumer name is read from contents of pact file. ```xml pact-jvm-provider-maven_2.11 3.3.8 provider1 http localhost 8080 / path/to/pacts ``` ## Enabling insecure SSL [version 2.2.8+] For providers that are running on SSL with self-signed certificates, you need to enable insecure SSL mode by setting `true` on the provider. ```xml pact-jvm-provider-maven_2.11 3.3.8 provider1 path/to/pacts true ``` ## Specifying a custom trust store [version 2.2.8+] For environments that are running their own certificate chains: ```xml pact-jvm-provider-maven_2.11 3.3.8 provider1 path/to/pac
Last modified2017-06-11 07:15:23 UTC
Repository URL
Packaging jar
POM File View
Effective POM File View
Dependency tag
<dependency org="" name="pact-jvm-provider-maven_2.11" rev="3.5.0-rc.2" />
@Grapes(@Grab(group='', module='pact-jvm-provider-maven_2.11', version='3.5.0-rc.2'))
compile ''
libraryDependencies += "" % "pact-jvm-provider-maven_2.11" % "3.5.0-rc.2"
Repository tag