diff --git a/CHANGELOG.md b/CHANGELOG.md index ae012a30c68e3f326845ff405b6f3e0ed6781e11..ea88496047403449aad3a6125de18020c608839e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,5 @@ # embedmongo-maven-plugin Changelog -## 0.1.8 - -* Add support for random port allocation - new configuration option `randomPort` - ## 0.1.7 * Add `logFile`/`logFileEncoding` configuration options (thanks @matthewadams) diff --git a/README.md b/README.md index 1d441adda2f55b6a6ffa726403ec13e7c201f907..d8a7079caf6ac339e3b23ff59b5190a6e670d701 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,6 @@ Usage </goals> <configuration> <port>37017</port> <!-- optional, default 27017 --> - <randomPort>true</randomPort> <!-- optional, default is false, if true overrides "static" port configuration --> <version>2.0.4</version> <!-- optional, default 2.2.1 --> <databaseDirectory>/tmp/mongotest</databaseDirectory> <!-- optional, default is a new dir in java.io.tmpdir --> <logging>file</logging> <!-- optional (file|console|none), default console --> @@ -49,8 +48,7 @@ Notes * By default, the `start` goal is bound to `pre-integration-test`, the `stop` goal is bound to `post-integration-test`. You can of course bind to different phases if required. * If you omit/forget the `stop` goal, any Mongo process spawned by the `start` goal will be stopped when the JVM terminates. -* If you want to run many Maven builds in parallel you can use `randomPort` to avoid port conflicts. - If you are using Jenkins, you can also try the [Port Allocator Plugin](https://wiki.jenkins-ci.org/display/JENKINS/Port+Allocator+Plugin). +* If you want to run many Maven builds in parallel using Jenkins, try the [Port Allocator Plugin](https://wiki.jenkins-ci.org/display/JENKINS/Port+Allocator+Plugin) to avoid port conflicts. * If you need to use a proxy to download MongoDB then you can either use `-Dhttp.proxyHost` and `-Dhttp.proxyPort` as additional Maven arguments (this will affect the entire build) or instruct the plugin to use a proxy when downloading Mongo by adding the `proxyHost` and `proxyPort` configuration properties. * Using the `file` logging mode results in a new log file created at `./embedmongo.log` unless you specify via `<logFile>` (where `.` means the curent working directory, usually the same as `${basedir}`). * If you'd like the start goal to start mongodb and wait, you can add `-Dembedmongo.wait` to your Maven command line arguments