From dc7ba34fbae3e46cff9374180be626074a7470a3 Mon Sep 17 00:00:00 2001 From: Ronald Holshausen Date: Sun, 20 Jul 2014 09:52:34 +1000 Subject: [PATCH] updated the readmes --- CHANGELOG.md | 4 ++++ README.md | 3 ++- pact-jvm-consumer-groovy/README.md | 2 +- pact-jvm-consumer-junit/README.md | 2 +- pact-jvm-consumer-sbt/README.md | 3 +++ pact-jvm-consumer-specs2/README.md | 8 ++++---- pact-jvm-consumer/README.md | 4 ++-- pact-jvm-provider-sbt/README.md | 2 +- pact-jvm-provider-specs2/README.md | 3 +++ pact-jvm-server/README.md | 2 +- 10 files changed, 22 insertions(+), 11 deletions(-) create mode 100644 pact-jvm-consumer-sbt/README.md create mode 100644 pact-jvm-provider-specs2/README.md diff --git a/CHANGELOG.md b/CHANGELOG.md index b7ff136b1c..8cc771dcc9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 2.0.0 + + + # 2.0 RC5 - More Java DSL tweaks, started pact specification 2 matcher implementation * 0682fe2 - update changelog (Ronald Holshausen, Fri Jul 11 13:10:38 2014 +1000) diff --git a/README.md b/README.md index d2cbfc16f6..c425023691 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ Which is a project that aims at providing tooling to coordinate pact generation ## Building the library -Most of pact-jvm is written in Scala. You can build it using SBT (the old way). We are moving the build to Gradle, +Most of Pact-JVM is written in Scala. You can build it using SBT (the old way). We are moving the build to Gradle, so you can build it with that too. To build the libraries: @@ -107,6 +107,7 @@ To publish to a nexus repo, change the url in project/Build.scala then run: $ sbt clean test publish or + $ ./gradlew clean check uploadArchives You will need to be added to the nexus project to be able to do this. diff --git a/pact-jvm-consumer-groovy/README.md b/pact-jvm-consumer-groovy/README.md index 5e3bead240..2fe6d12f01 100644 --- a/pact-jvm-consumer-groovy/README.md +++ b/pact-jvm-consumer-groovy/README.md @@ -11,7 +11,7 @@ group-id = `au.com.dius` artifact-id = `pact-jvm-consumer-groovy_2.10` -version-id = `2.0-RC5` +version-id = `2.0.0` ##Usage diff --git a/pact-jvm-consumer-junit/README.md b/pact-jvm-consumer-junit/README.md index 6a905aceb0..15230a7de5 100644 --- a/pact-jvm-consumer-junit/README.md +++ b/pact-jvm-consumer-junit/README.md @@ -11,7 +11,7 @@ group-id = `au.com.dius` artifact-id = `pact-jvm-consumer-junit_2.10` -version-id = `2.0-RC5` +version-id = `2.0.0` ##Usage diff --git a/pact-jvm-consumer-sbt/README.md b/pact-jvm-consumer-sbt/README.md new file mode 100644 index 0000000000..158297e17a --- /dev/null +++ b/pact-jvm-consumer-sbt/README.md @@ -0,0 +1,3 @@ +pact-jvm-consumer-sbt +===================== + diff --git a/pact-jvm-consumer-specs2/README.md b/pact-jvm-consumer-specs2/README.md index c00e13f9fc..08ffcf9689 100644 --- a/pact-jvm-consumer-specs2/README.md +++ b/pact-jvm-consumer-specs2/README.md @@ -1,16 +1,16 @@ pact-jvm-consumer-specs2 ======================== -##Specs2 Bindings for the pact-jvm library +## Specs2 Bindings for the pact-jvm library -##Dependency +## Dependency In the root folder of your project in build.sbt add the line: ``` -libraryDependencies += "au.com.dius" %% "pact-jvm-consumer-specs2" % "2.0-RC4" +libraryDependencies += "au.com.dius" %% "pact-jvm-consumer-specs2" % "2.0.0" ``` -##Usage +## Usage To author a test, extend `PactSpec` diff --git a/pact-jvm-consumer/README.md b/pact-jvm-consumer/README.md index ba47ae9802..c76c670fe4 100644 --- a/pact-jvm-consumer/README.md +++ b/pact-jvm-consumer/README.md @@ -5,6 +5,6 @@ Pact Consumer is used by projects that are consumers of an API. Most projects will want to use pact-consumer via one of the test framework specific projects above. -If your favourite framework is not implemented, this module should give you all the hooks you need +If your favourite framework is not implemented, this module should give you all the hooks you need. -Please let us know if you build one and we'll link to you from the main page +Please let us know if you build one and we'll link to you from the main page. diff --git a/pact-jvm-provider-sbt/README.md b/pact-jvm-provider-sbt/README.md index 9be1306a90..10edb8adfa 100644 --- a/pact-jvm-provider-sbt/README.md +++ b/pact-jvm-provider-sbt/README.md @@ -5,7 +5,7 @@ The sbt plugin adds an sbt task for running all provider pacts against a running To use the pact sbt plugin, add the following to your project/plugins.sbt - addSbtPlugin("com.dius" %% "pact-jvm-provider-sbt" % "2.0-RC5") + addSbtPlugin("com.dius" %% "pact-jvm-provider-sbt" % "2.0.0") and the following to your build.sbt diff --git a/pact-jvm-provider-specs2/README.md b/pact-jvm-provider-specs2/README.md new file mode 100644 index 0000000000..4de53624dc --- /dev/null +++ b/pact-jvm-provider-specs2/README.md @@ -0,0 +1,3 @@ +pact-jvm-provider-specs2 +======================== + diff --git a/pact-jvm-server/README.md b/pact-jvm-server/README.md index 342710c34d..5702aaaca7 100644 --- a/pact-jvm-server/README.md +++ b/pact-jvm-server/README.md @@ -15,7 +15,7 @@ The server implements a `JSON` `REST` Admin API with the following endpoints. ## Running the server - sbt pact-jvm-server/run + $ sbt pact-jvm-server/run By default will run on port `29999` but a port number can be optionally supplied.