Skip to content

Commit 6e6e524

Browse files
committed
Update dependencies and version to 1.6.0
1 parent 63ac2df commit 6e6e524

File tree

6 files changed

+32
-32
lines changed

6 files changed

+32
-32
lines changed

Building.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,12 @@ OPENAPI_VALIDATION_FILE_PATH=demo/openapi.json \
128128
You can download WireMock standalone jar file and run the project jar file alongside it.
129129

130130
```bash
131-
wget https://repo1.maven.org/maven2/org/wiremock/wiremock-standalone/3.13.1/wiremock-standalone-3.13.1.jar
131+
wget https://repo1.maven.org/maven2/org/wiremock/wiremock-standalone/3.13.2/wiremock-standalone-3.13.2.jar
132132
mvn clean package
133-
java -cp "target/wiremock-openapi-validation-extension-<VERSION>-jar-with-dependencies.jar:wiremock-standalone-3.13.1.jar" wiremock.Run
133+
java -cp "target/wiremock-openapi-validation-extension-<VERSION>-jar-with-dependencies.jar:wiremock-standalone-3.13.2.jar" wiremock.Run
134134

135135
# the same but allowing remote debug
136-
java -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005 -cp "target/wiremock-openapi-validation-extension-<VERSION>-jar-with-dependencies.jar:wiremock-standalone-3.13.1.jar" wiremock.Run
136+
java -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005 -cp "target/wiremock-openapi-validation-extension-<VERSION>-jar-with-dependencies.jar:wiremock-standalone-3.13.2.jar" wiremock.Run
137137
```
138138

139139
## Code Style

Docker.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ Following image tags are supported:
147147

148148
| Tag | Based on WireMock image tag |
149149
|--------------------------------------|-----------------------------|
150-
| 1.5.1<br>1.5<br>latest | 3.13.1-1 |
151-
| 1.5.1-alpine<br>1.5-alpine<br>alpine | 3.13.1-1-alpine |
150+
| 1.6.0<br>1.6<br>latest | 3.13.2-1 |
151+
| 1.6.0-alpine<br>1.6-alpine<br>alpine | 3.13.2-1-alpine |
152152

153153
## Running
154154

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
# limitations under the License.
1515
#
1616

17-
FROM wiremock/wiremock:3.13.1-1
17+
FROM wiremock/wiremock:3.13.2-1
1818
COPY target/wiremock-openapi-validation-extension-*-jar-with-dependencies.jar /var/wiremock/extensions

Dockerfile-alpine

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
# limitations under the License.
1515
#
1616

17-
FROM wiremock/wiremock:3.13.1-1-alpine
17+
FROM wiremock/wiremock:3.13.2-1-alpine
1818
COPY target/wiremock-openapi-validation-extension-*-jar-with-dependencies.jar /var/wiremock/extensions

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ When the request is matched by some stub and response is about to be sent to the
88

99
The extension requires OpenAPI file to be provided in order to work, otherwise, the application won't start. You can create one in current folder (where you'll start the application) or you can specify its name in environment variable `OPENAPI_VALIDATION_FILE_PATH` or Java system property `openapi_validation_file_path`. It can be URL, so defining environment variable `OPENAPI_VALIDATION_FILE_PATH` with value `https://petstore3.swagger.io/api/v3/openapi.json` will make the extension use [swagger petstore](https://github.com/swagger-api/swagger-petstore) sample OpenAPI file. For more info check [configuration section](#openapi-file-path).
1010

11-
The extension is written dependent in WireMock standalone **3.13.1**. It might or might not work with other versions.
11+
The extension is written dependent in WireMock standalone **3.13.2**. It might or might not work with other versions.
1212

1313
### In Java
1414

@@ -20,15 +20,15 @@ For Maven:
2020
<dependency>
2121
<groupId>io.github.dimabarbul</groupId>
2222
<artifactId>wiremock-openapi-validation-extension</artifactId>
23-
<version>1.5.1</version>
23+
<version>1.6.0</version>
2424
</dependency>
2525
```
2626

2727
For Gradle:
2828

2929
```groovy
3030
dependencies {
31-
implementation 'io.github.dimabarbul:wiremock-openapi-validation-extension:1.5.1'
31+
implementation 'io.github.dimabarbul:wiremock-openapi-validation-extension:1.6.0'
3232
}
3333
```
3434

@@ -62,13 +62,13 @@ The extension depends on wiremock package to be provided, so to run it you need
6262

6363
```bash
6464
# download jars
65-
wget https://repo1.maven.org/maven2/org/wiremock/wiremock-standalone/3.13.1/wiremock-standalone-3.13.1.jar
66-
wget https://repo1.maven.org/maven2/io/github/dimabarbul/wiremock-openapi-validation-extension/1.5.1/wiremock-openapi-validation-extension-1.5.1-jar-with-dependencies.jar
65+
wget https://repo1.maven.org/maven2/org/wiremock/wiremock-standalone/3.13.2/wiremock-standalone-3.13.2.jar
66+
wget https://repo1.maven.org/maven2/io/github/dimabarbul/wiremock-openapi-validation-extension/1.6.0/wiremock-openapi-validation-extension-1.6.0-jar-with-dependencies.jar
6767
# run with default file path
68-
java -cp "wiremock-openapi-validation-extension-1.5.1-jar-with-dependencies.jar:wiremock-standalone-3.13.1.jar" \
68+
java -cp "wiremock-openapi-validation-extension-1.6.0-jar-with-dependencies.jar:wiremock-standalone-3.13.2.jar" \
6969
wiremock.Run
7070
# run with specified file path
71-
java -cp "wiremock-openapi-validation-extension-1.5.1-jar-with-dependencies.jar:wiremock-standalone-3.13.1.jar" \
71+
java -cp "wiremock-openapi-validation-extension-1.6.0-jar-with-dependencies.jar:wiremock-standalone-3.13.2.jar" \
7272
-Dopenapi_validation_file_path=https://petstore3.swagger.io/api/v3/openapi.json \
7373
wiremock.Run
7474
```
@@ -231,14 +231,14 @@ Provide configuration when running using downloaded jar files:
231231

232232
```bash
233233
# use Java system properties
234-
java -cp "wiremock-openapi-validation-extension-1.5.1.jar:wiremock-standalone-3.13.1.jar" \
234+
java -cp "wiremock-openapi-validation-extension-1.6.0.jar:wiremock-standalone-3.13.2.jar" \
235235
-Dopenapi_validation_file_path=https://petstore3.swagger.io/api/v3/openapi.json \
236236
-Dopenapi_validation_failure_status_code=418 \
237237
wiremock.Run
238238
# use environment variables
239239
OPENAPI_VALIDATION_FILE_PATH=https://petstore3.swagger.io/api/v3/openapi.json \
240240
OPENAPI_VALIDATION_FAILURE_STATUS_CODE=418 \
241-
java -cp "wiremock-openapi-validation-extension-1.5.1.jar:wiremock-standalone-3.13.1.jar" \
241+
java -cp "wiremock-openapi-validation-extension-1.6.0.jar:wiremock-standalone-3.13.2.jar" \
242242
wiremock.Run
243243
```
244244

pom.xml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -63,22 +63,22 @@
6363
<dependency>
6464
<groupId>org.wiremock</groupId>
6565
<artifactId>wiremock</artifactId>
66-
<version>3.13.1</version>
66+
<version>3.13.2</version>
6767
</dependency>
6868
<dependency>
6969
<groupId>com.atlassian.oai</groupId>
7070
<artifactId>swagger-request-validator-core</artifactId>
71-
<version>2.45.1</version>
71+
<version>2.46.0</version>
7272
</dependency>
7373
<dependency>
7474
<groupId>org.junit.jupiter</groupId>
7575
<artifactId>junit-jupiter</artifactId>
76-
<version>5.13.4</version>
76+
<version>5.14.1</version>
7777
</dependency>
7878
<dependency>
7979
<groupId>org.assertj</groupId>
8080
<artifactId>assertj-core</artifactId>
81-
<version>3.27.4</version>
81+
<version>3.27.6</version>
8282
</dependency>
8383
<dependency>
8484
<groupId>org.slf4j</groupId>
@@ -140,19 +140,19 @@
140140
<plugins>
141141
<plugin>
142142
<artifactId>maven-compiler-plugin</artifactId>
143-
<version>3.14.0</version>
143+
<version>3.14.1</version>
144144
</plugin>
145145
<plugin>
146146
<artifactId>maven-artifact-plugin</artifactId>
147-
<version>3.6.0</version>
147+
<version>3.6.1</version>
148148
</plugin>
149149
<plugin>
150150
<artifactId>maven-surefire-plugin</artifactId>
151-
<version>3.5.3</version>
151+
<version>3.5.4</version>
152152
</plugin>
153153
<plugin>
154154
<artifactId>maven-jar-plugin</artifactId>
155-
<version>3.4.2</version>
155+
<version>3.5.0</version>
156156
</plugin>
157157
<plugin>
158158
<artifactId>maven-install-plugin</artifactId>
@@ -164,41 +164,41 @@
164164
</plugin>
165165
<plugin>
166166
<artifactId>maven-source-plugin</artifactId>
167-
<version>3.3.1</version>
167+
<version>3.4.0</version>
168168
</plugin>
169169
<plugin>
170170
<artifactId>maven-javadoc-plugin</artifactId>
171-
<version>3.11.3</version>
171+
<version>3.12.0</version>
172172
</plugin>
173173
<plugin>
174174
<artifactId>maven-gpg-plugin</artifactId>
175175
<version>3.2.8</version>
176176
</plugin>
177177
<plugin>
178178
<artifactId>maven-assembly-plugin</artifactId>
179-
<version>3.7.1</version>
179+
<version>3.8.0</version>
180180
</plugin>
181181
<plugin>
182182
<artifactId>maven-resources-plugin</artifactId>
183-
<version>3.3.1</version>
183+
<version>3.4.0</version>
184184
</plugin>
185185
<plugin>
186186
<artifactId>maven-release-plugin</artifactId>
187-
<version>3.1.1</version>
187+
<version>3.2.0</version>
188188
</plugin>
189189
<plugin>
190190
<groupId>org.sonatype.central</groupId>
191191
<artifactId>central-publishing-maven-plugin</artifactId>
192-
<version>0.8.0</version>
192+
<version>0.9.0</version>
193193
</plugin>
194194
<plugin>
195195
<groupId>org.codehaus.mojo</groupId>
196196
<artifactId>exec-maven-plugin</artifactId>
197-
<version>3.5.1</version>
197+
<version>3.6.2</version>
198198
</plugin>
199199
<plugin>
200200
<artifactId>maven-failsafe-plugin</artifactId>
201-
<version>3.5.3</version>
201+
<version>3.5.4</version>
202202
</plugin>
203203
<plugin>
204204
<groupId>com.diffplug.spotless</groupId>

0 commit comments

Comments
 (0)