au.com.dius:pact-jvm-provider-maven_2.11:3.5.0-beta.3

Group / Artifact / Version au.com.dius / pact-jvm-provider-maven_2.11 / 3.5.0-beta.3
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.3.4 [...] [...] ``` ### 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.3.4 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 au.com.dius pact-jvm-provider-maven_2.11 3.3.4 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.3.4 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.3.4 provider1 path/to/pac
Last modified2017-02-05 06:00:19 UTC
URL https://github.com/DiUS/pact-jvm
Repository URL https://oss.sonatype.org/content/repositories/releases/au/com/dius/pact-jvm-provider-maven_2.11/3.5.0-beta.3/
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.5.0-beta.3</version>
</dependency>
'au.com.dius:pact-jvm-provider-maven_2.11:jar:3.5.0-beta.3'
<dependency org="au.com.dius" name="pact-jvm-provider-maven_2.11" rev="3.5.0-beta.3" />
@Grapes(@Grab(group='au.com.dius', module='pact-jvm-provider-maven_2.11', version='3.5.0-beta.3'))
compile 'au.com.dius:pact-jvm-provider-maven_2.11:3.5.0-beta.3'
libraryDependencies += "au.com.dius" % "pact-jvm-provider-maven_2.11" % "3.5.0-beta.3"
Repository tag
  <repository>
    <id>central</id>
    <url>http://repo1.maven.org/maven2/</url>
  </repository>
  <repository>
    <id>sonatype-releases</id>
    <url>https://oss.sonatype.org/content/repositories/releases/</url>
  </repository>
  <repository>
    <id>sonatype-staging</id>
    <url>https://oss.sonatype.org/content/repositories/staging/</url>
  </repository>
  <repository>
    <id>spring-milestones</id>
    <url>http://repo.spring.io/libs-milestone/</url>
  </repository>
  <repository>
    <id>spring-plugin-releases</id>
    <url>http://repo.spring.io/plugins-release/</url>
  </repository>
  <repository>
    <id>spring-releases</id>
    <url>http://repo.spring.io/libs-release-remote/</url>
  </repository>
Packages

au.com.dius.pact.provider.maven