diff --git a/bin/utils/release_version_update_docs.sh b/bin/utils/release_version_update_docs.sh
index 709666e68b3..0209e837a62 100755
--- a/bin/utils/release_version_update_docs.sh
+++ b/bin/utils/release_version_update_docs.sh
@@ -36,6 +36,9 @@ echo "IMPORTANT: this script works on Mac only"
echo "Release preparation: replacing $FROM with $TO in different files"
declare -a files=("modules/openapi-generator-maven-plugin/README.md"
+ "modules/openapi-generator-maven-plugin/examples/java-client.xml"
+ "modules/openapi-generator-maven-plugin/examples/non-java-invalid-spec.xml"
+ "modules/openapi-generator-maven-plugin/examples/non-java.xml"
"modules/openapi-generator-gradle-plugin/README.adoc"
"modules/openapi-generator-gradle-plugin/samples/local-spec/gradle.properties"
"modules/openapi-generator-gradle-plugin/samples/local-spec/build.gradle"
diff --git a/modules/openapi-generator-maven-plugin/examples/java-client.xml b/modules/openapi-generator-maven-plugin/examples/java-client.xml
index 475f9cfa665..0c460241fa7 100644
--- a/modules/openapi-generator-maven-plugin/examples/java-client.xml
+++ b/modules/openapi-generator-maven-plugin/examples/java-client.xml
@@ -12,7 +12,7 @@
org.openapitools
openapi-generator-maven-plugin
- 3.1.1-SNAPSHOT
+ 3.1.2
@@ -20,7 +20,7 @@
- swagger.yaml
+ ${project.basedir}/swagger.yaml
java
@@ -39,13 +39,22 @@
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 3.6.1
+
+ 1.7
+ 1.7
+
+
- org.openapitools
+ io.swagger
swagger-annotations
${swagger-annotations-version}
@@ -55,13 +64,8 @@
- org.glassfish.jersey.core
- jersey-client
- ${jersey-version}
-
-
- org.glassfish.jersey.media
- jersey-media-json-jackson
+ org.glassfish.jersey.core
+ jersey-client
${jersey-version}
@@ -69,6 +73,11 @@
jersey-media-multipart
${jersey-version}
+
+ org.glassfish.jersey.media
+ jersey-media-json-jackson
+ ${jersey-version}
+
@@ -96,7 +105,7 @@
jackson-jaxrs-json-provider
${jackson-version}
-
+
com.fasterxml.jackson.datatype
@@ -107,19 +116,19 @@
joda-time
joda-time
${jodatime-version}
-
+
com.brsanthu
migbase64
2.2
-
+
1.5.8
- 2.22.2
+ 2.27
2.8.9
2.7
1.0.0
diff --git a/modules/openapi-generator-maven-plugin/examples/non-java-invalid-spec.xml b/modules/openapi-generator-maven-plugin/examples/non-java-invalid-spec.xml
index 31da5677d95..f21abd37645 100644
--- a/modules/openapi-generator-maven-plugin/examples/non-java-invalid-spec.xml
+++ b/modules/openapi-generator-maven-plugin/examples/non-java-invalid-spec.xml
@@ -12,7 +12,7 @@
org.openapitools
openapi-generator-maven-plugin
- 3.1.1-SNAPSHOT
+ 3.1.2
@@ -20,7 +20,7 @@
false
- petstore-v3.0-invalid.yaml
+ ${project.basedir}/petstore-v3.0-invalid.yaml
aspnetcore
optionalProjectFile=true
diff --git a/modules/openapi-generator-maven-plugin/examples/non-java.xml b/modules/openapi-generator-maven-plugin/examples/non-java.xml
index 8592217bdce..4124bd25ef4 100644
--- a/modules/openapi-generator-maven-plugin/examples/non-java.xml
+++ b/modules/openapi-generator-maven-plugin/examples/non-java.xml
@@ -12,14 +12,14 @@
org.openapitools
openapi-generator-maven-plugin
- 3.1.1-SNAPSHOT
+ 3.1.2
generate
- swagger.yaml
+ ${project.basedir}/swagger.yaml
aspnetcore
optionalProjectFile=true