Skip to content

Commit

Permalink
Update the downloads page after the release
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-nenashev committed Aug 30, 2023
1 parent c0e217f commit 4ac708a
Showing 1 changed file with 11 additions and 34 deletions.
45 changes: 11 additions & 34 deletions _docs/download-and-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,58 +25,35 @@ conflicting versions of its dependencies. The standalone JAR is also runnable (s

## Standalone Service

### WireMock 3.x Beta (recommended)

#### Maven

```xml
<dependency>
<groupId>org.wiremock</groupId>
<artifactId>wiremock-standalone</artifactId>
<version>{{ site.wiremock_beta_version }}</version>
<scope>test</scope>
</dependency>
```

#### Gradle

```groovy
testImplementation "org.wiremock:wiremock-standalone:{{ site.wiremock_beta_version }}"
```

### WireMock 2.x Stable

#### Docker
### Docker

Run the following in a terminal:

```bash
docker run -it --rm \
-p 8080:8080 \
--name wiremock \
docker run -it --rm -p 8080:8080 --name wiremock \
wiremock/wiremock:{{ site.wiremock_version }}
```

Learn more in the [Docker guide](../docker).

#### Maven - stable
### Maven

```xml
<dependency>
<groupId>com.github.tomakehurst</groupId>
<artifactId>wiremock-jre8-standalone</artifactId>
<version>{{ site.wiremock_version }}</version>
<groupId>org.wiremock</groupId>
<artifactId>wiremock-standalone</artifactId>
<version>{{ site.wiremock_beta_version }}</version>
<scope>test</scope>
</dependency>
```

#### Gradle - stable
### Gradle

```groovy
testImplementation "com.github.tomakehurst:wiremock-jre8-standalone:{{ site.wiremock_version }}"
testImplementation "org.wiremock:wiremock-standalone:{{ site.wiremock_beta_version }}"
```

## Direct download
Learn more in the [Docker guide](../docker).

### Direct download

If you want to run WireMock as a standalone process you can
<a id="wiremock-standalone-download" href="https://repo1.maven.org/maven2/org/wiremock/wiremock-standalone/{{ site.wiremock_beta_version }}/wiremock-standalone-{{ site.wiremock_beta_version }}.jar">download the standalone JAR from
Expand Down

0 comments on commit 4ac708a

Please sign in to comment.