au.com.dius:pact-jvm-provider-maven_2.11:3.2.11

Group / Artifact / Version au.com.dius / pact-jvm-provider-maven_2.11 / 3.2.11
Namepact-jvm-provider-maven_2.11
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 [...] [...] au.com.dius pact-jvm-provider-maven_2.11 3.2.10 [...] [...] ``` ### 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 au.com.dius pact-jvm-provider-maven_2.11 3.2.10 provider1 http localhost 8080 / consumer1 path/to/provider1-consumer1-pact.json ``` ### 3. Execute `mvn au.com.dius:pact-jvm-provider-maven_2.11: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 au.com.dius pact-jvm-provider-maven_2.11 3.2.10 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 au.com.dius pact-jvm-provider-maven_2.11 3.2.10 provider1 path/to/pacts true ``` ## Specifying a custom trust store [version 2.2.8+] For environments that are running their own certificate chains: ```xml au.com.dius pact-jvm-provider-maven_2.11 3.2.10 provider1
Last modified2016-07-31 06:31:55 UTC
URL https://github.com/DiUS/pact-jvm
Repository URL http://repo1.maven.org/maven2/au/com/dius/pact-jvm-provider-maven_2.11/3.2.11/
Packaging jar
POM File View
Effective POM File View
Dependency tag
<dependency>
  <groupId>au.com.dius</groupId>
  <artifactId>pact-jvm-provider-maven_2.11</artifactId>
  <version>3.2.11</version>
</dependency>
'au.com.dius:pact-jvm-provider-maven_2.11:jar:3.2.11'
<dependency org="au.com.dius" name="pact-jvm-provider-maven_2.11" rev="3.2.11" />
@Grapes(@Grab(group='au.com.dius', module='pact-jvm-provider-maven_2.11', version='3.2.11'))
compile 'au.com.dius:pact-jvm-provider-maven_2.11:3.2.11'
libraryDependencies += "au.com.dius" % "pact-jvm-provider-maven_2.11" % "3.2.11"
Repository tag
  <repository>
    <id>central</id>
    <url>http://repo1.maven.org/maven2/</url>
  </repository>
Packages

au.com.dius.pact.provider.maven