diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/build.gradle.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/build.gradle.mustache
index 304b00a445a..91913276775 100644
--- a/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/build.gradle.mustache
+++ b/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/build.gradle.mustache
@@ -68,7 +68,7 @@ if(hasProperty('target') && target == 'android') {
}
dependencies {
- provided 'javax.annotation:jsr250-api:1.0'
+ provided 'javax.annotation:javax.annotation-api:1.3.2'
}
}
@@ -126,21 +126,21 @@ if(hasProperty('target') && target == 'android') {
}
dependencies {
- compile 'io.swagger:swagger-annotations:1.5.22'
+ compile 'io.swagger:swagger-annotations:1.5.24'
compile "com.google.code.findbugs:jsr305:3.0.2"
- compile 'com.squareup.okhttp3:okhttp:3.14.2'
- compile 'com.squareup.okhttp3:logging-interceptor:3.14.2'
- compile 'com.google.code.gson:gson:2.8.5'
- compile 'io.gsonfire:gson-fire:1.8.3'
+ compile 'com.squareup.okhttp3:okhttp:3.14.7'
+ compile 'com.squareup.okhttp3:logging-interceptor:3.14.7'
+ compile 'com.google.code.gson:gson:2.8.6'
+ compile 'io.gsonfire:gson-fire:1.8.4'
{{#hasOAuthMethods}}
compile group: 'org.apache.oltu.oauth2', name: 'org.apache.oltu.oauth2.client', version: '1.0.1'
{{/hasOAuthMethods}}
- compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.9'
+ compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.10'
{{#joda}}
compile 'joda-time:joda-time:2.9.9'
{{/joda}}
{{#threetenbp}}
- compile 'org.threeten:threetenbp:1.4.0'
+ compile 'org.threeten:threetenbp:1.4.3'
{{/threetenbp}}
testCompile 'junit:junit:4.13'
}
diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/build.sbt.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/build.sbt.mustache
index 43907462202..7c137589e37 100644
--- a/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/build.sbt.mustache
+++ b/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/build.sbt.mustache
@@ -9,11 +9,11 @@ lazy val root = (project in file(".")).
publishArtifact in (Compile, packageDoc) := false,
resolvers += Resolver.mavenLocal,
libraryDependencies ++= Seq(
- "io.swagger" % "swagger-annotations" % "1.5.22",
- "com.squareup.okhttp3" % "okhttp" % "3.14.2",
- "com.squareup.okhttp3" % "logging-interceptor" % "3.14.2",
- "com.google.code.gson" % "gson" % "2.8.5",
- "org.apache.commons" % "commons-lang3" % "3.9",
+ "io.swagger" % "swagger-annotations" % "1.5.24",
+ "com.squareup.okhttp3" % "okhttp" % "3.14.7",
+ "com.squareup.okhttp3" % "logging-interceptor" % "3.14.7",
+ "com.google.code.gson" % "gson" % "2.8.6",
+ "org.apache.commons" % "commons-lang3" % "3.10",
{{#hasOAuthMethods}}
"org.apache.oltu.oauth2" % "org.apache.oltu.oauth2.client" % "1.0.1",
{{/hasOAuthMethods}}
@@ -21,10 +21,11 @@ lazy val root = (project in file(".")).
"joda-time" % "joda-time" % "2.9.9" % "compile",
{{/joda}}
{{#threetenbp}}
- "org.threeten" % "threetenbp" % "1.4.0" % "compile",
+ "org.threeten" % "threetenbp" % "1.4.3" % "compile",
{{/threetenbp}}
"io.gsonfire" % "gson-fire" % "1.8.3" % "compile",
- "javax.annotation" % "jsr250-api" % "1.0" % "compile",
+ "javax.annotation" % "javax.annotation-api" % "1.3.2" % "compile",
+ "com.google.code.findbugs" % "jsr305" % "3.0.2" % "compile",
"junit" % "junit" % "4.13" % "test",
"com.novocode" % "junit-interface" % "0.10" % "test"
)
diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/pom.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/pom.mustache
index db9e309ce6a..b6d67f28350 100644
--- a/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/pom.mustache
+++ b/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/pom.mustache
@@ -307,7 +307,7 @@
{{/parcelableModel}}
javax.annotation
- jsr250-api
+ javax.annotation-api
${javax-annotation-version}
@@ -322,19 +322,18 @@
{{#supportJava6}}1.6{{/supportJava6}}{{^supportJava6}}{{#java8}}1.8{{/java8}}{{^java8}}1.7{{/java8}}{{/supportJava6}}
${java.version}
${java.version}
- 1.8.3
- 1.5.22
- 3.14.2
- 2.8.5
- 3.9
+ 1.8.4
+ 1.5.24
+ 3.14.7
+ 2.8.6
+ 3.10
{{#joda}}
2.9.9
{{/joda}}
{{#threetenbp}}
- 1.4.0
+ 1.4.3
{{/threetenbp}}
- 1.0.0
- 1.0
+ 1.3.2
4.13
UTF-8
diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/build.gradle b/samples/client/petstore/java/okhttp-gson-parcelableModel/build.gradle
index 39f391d1ca8..9eea35b5b5b 100644
--- a/samples/client/petstore/java/okhttp-gson-parcelableModel/build.gradle
+++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/build.gradle
@@ -52,7 +52,7 @@ if(hasProperty('target') && target == 'android') {
}
dependencies {
- provided 'javax.annotation:jsr250-api:1.0'
+ provided 'javax.annotation:javax.annotation-api:1.3.2'
}
}
@@ -98,15 +98,15 @@ if(hasProperty('target') && target == 'android') {
}
dependencies {
- compile 'io.swagger:swagger-annotations:1.5.22'
+ compile 'io.swagger:swagger-annotations:1.5.24'
compile "com.google.code.findbugs:jsr305:3.0.2"
- compile 'com.squareup.okhttp3:okhttp:3.14.2'
- compile 'com.squareup.okhttp3:logging-interceptor:3.14.2'
- compile 'com.google.code.gson:gson:2.8.5'
- compile 'io.gsonfire:gson-fire:1.8.3'
+ compile 'com.squareup.okhttp3:okhttp:3.14.7'
+ compile 'com.squareup.okhttp3:logging-interceptor:3.14.7'
+ compile 'com.google.code.gson:gson:2.8.6'
+ compile 'io.gsonfire:gson-fire:1.8.4'
compile group: 'org.apache.oltu.oauth2', name: 'org.apache.oltu.oauth2.client', version: '1.0.1'
- compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.9'
- compile 'org.threeten:threetenbp:1.4.0'
+ compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.10'
+ compile 'org.threeten:threetenbp:1.4.3'
testCompile 'junit:junit:4.13'
}
diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/build.sbt b/samples/client/petstore/java/okhttp-gson-parcelableModel/build.sbt
index f802b213109..62105ba95b4 100644
--- a/samples/client/petstore/java/okhttp-gson-parcelableModel/build.sbt
+++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/build.sbt
@@ -9,15 +9,16 @@ lazy val root = (project in file(".")).
publishArtifact in (Compile, packageDoc) := false,
resolvers += Resolver.mavenLocal,
libraryDependencies ++= Seq(
- "io.swagger" % "swagger-annotations" % "1.5.22",
- "com.squareup.okhttp3" % "okhttp" % "3.14.2",
- "com.squareup.okhttp3" % "logging-interceptor" % "3.14.2",
- "com.google.code.gson" % "gson" % "2.8.5",
- "org.apache.commons" % "commons-lang3" % "3.9",
+ "io.swagger" % "swagger-annotations" % "1.5.24",
+ "com.squareup.okhttp3" % "okhttp" % "3.14.7",
+ "com.squareup.okhttp3" % "logging-interceptor" % "3.14.7",
+ "com.google.code.gson" % "gson" % "2.8.6",
+ "org.apache.commons" % "commons-lang3" % "3.10",
"org.apache.oltu.oauth2" % "org.apache.oltu.oauth2.client" % "1.0.1",
- "org.threeten" % "threetenbp" % "1.4.0" % "compile",
+ "org.threeten" % "threetenbp" % "1.4.3" % "compile",
"io.gsonfire" % "gson-fire" % "1.8.3" % "compile",
- "javax.annotation" % "jsr250-api" % "1.0" % "compile",
+ "javax.annotation" % "javax.annotation-api" % "1.3.2" % "compile",
+ "com.google.code.findbugs" % "jsr305" % "3.0.2" % "compile",
"junit" % "junit" % "4.13" % "test",
"com.novocode" % "junit-interface" % "0.10" % "test"
)
diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/pom.xml b/samples/client/petstore/java/okhttp-gson-parcelableModel/pom.xml
index cf913e788a9..381f74cf7ae 100644
--- a/samples/client/petstore/java/okhttp-gson-parcelableModel/pom.xml
+++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/pom.xml
@@ -265,7 +265,7 @@
javax.annotation
- jsr250-api
+ javax.annotation-api
${javax-annotation-version}
@@ -280,14 +280,13 @@
1.7
${java.version}
${java.version}
- 1.8.3
- 1.5.22
- 3.14.2
- 2.8.5
- 3.9
- 1.4.0
- 1.0.0
- 1.0
+ 1.8.4
+ 1.5.24
+ 3.14.7
+ 2.8.6
+ 3.10
+ 1.4.3
+ 1.3.2
4.13
UTF-8
diff --git a/samples/client/petstore/java/okhttp-gson/build.gradle b/samples/client/petstore/java/okhttp-gson/build.gradle
index 86d58b60038..d28df6958d1 100644
--- a/samples/client/petstore/java/okhttp-gson/build.gradle
+++ b/samples/client/petstore/java/okhttp-gson/build.gradle
@@ -52,7 +52,7 @@ if(hasProperty('target') && target == 'android') {
}
dependencies {
- provided 'javax.annotation:jsr250-api:1.0'
+ provided 'javax.annotation:javax.annotation-api:1.3.2'
}
}
@@ -98,15 +98,15 @@ if(hasProperty('target') && target == 'android') {
}
dependencies {
- compile 'io.swagger:swagger-annotations:1.5.22'
+ compile 'io.swagger:swagger-annotations:1.5.24'
compile "com.google.code.findbugs:jsr305:3.0.2"
- compile 'com.squareup.okhttp3:okhttp:3.14.2'
- compile 'com.squareup.okhttp3:logging-interceptor:3.14.2'
- compile 'com.google.code.gson:gson:2.8.5'
- compile 'io.gsonfire:gson-fire:1.8.3'
+ compile 'com.squareup.okhttp3:okhttp:3.14.7'
+ compile 'com.squareup.okhttp3:logging-interceptor:3.14.7'
+ compile 'com.google.code.gson:gson:2.8.6'
+ compile 'io.gsonfire:gson-fire:1.8.4'
compile group: 'org.apache.oltu.oauth2', name: 'org.apache.oltu.oauth2.client', version: '1.0.1'
- compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.9'
- compile 'org.threeten:threetenbp:1.4.0'
+ compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.10'
+ compile 'org.threeten:threetenbp:1.4.3'
testCompile 'junit:junit:4.13'
}
diff --git a/samples/client/petstore/java/okhttp-gson/build.sbt b/samples/client/petstore/java/okhttp-gson/build.sbt
index c01fc8d8676..76cc798c063 100644
--- a/samples/client/petstore/java/okhttp-gson/build.sbt
+++ b/samples/client/petstore/java/okhttp-gson/build.sbt
@@ -9,15 +9,16 @@ lazy val root = (project in file(".")).
publishArtifact in (Compile, packageDoc) := false,
resolvers += Resolver.mavenLocal,
libraryDependencies ++= Seq(
- "io.swagger" % "swagger-annotations" % "1.5.22",
- "com.squareup.okhttp3" % "okhttp" % "3.14.2",
- "com.squareup.okhttp3" % "logging-interceptor" % "3.14.2",
- "com.google.code.gson" % "gson" % "2.8.5",
- "org.apache.commons" % "commons-lang3" % "3.9",
+ "io.swagger" % "swagger-annotations" % "1.5.24",
+ "com.squareup.okhttp3" % "okhttp" % "3.14.7",
+ "com.squareup.okhttp3" % "logging-interceptor" % "3.14.7",
+ "com.google.code.gson" % "gson" % "2.8.6",
+ "org.apache.commons" % "commons-lang3" % "3.10",
"org.apache.oltu.oauth2" % "org.apache.oltu.oauth2.client" % "1.0.1",
- "org.threeten" % "threetenbp" % "1.4.0" % "compile",
+ "org.threeten" % "threetenbp" % "1.4.3" % "compile",
"io.gsonfire" % "gson-fire" % "1.8.3" % "compile",
- "javax.annotation" % "jsr250-api" % "1.0" % "compile",
+ "javax.annotation" % "javax.annotation-api" % "1.3.2" % "compile",
+ "com.google.code.findbugs" % "jsr305" % "3.0.2" % "compile",
"junit" % "junit" % "4.13" % "test",
"com.novocode" % "junit-interface" % "0.10" % "test"
)
diff --git a/samples/client/petstore/java/okhttp-gson/pom.xml b/samples/client/petstore/java/okhttp-gson/pom.xml
index 0f63a8cedb6..31e83331352 100644
--- a/samples/client/petstore/java/okhttp-gson/pom.xml
+++ b/samples/client/petstore/java/okhttp-gson/pom.xml
@@ -258,7 +258,7 @@
javax.annotation
- jsr250-api
+ javax.annotation-api
${javax-annotation-version}
@@ -273,14 +273,13 @@
1.7
${java.version}
${java.version}
- 1.8.3
- 1.5.22
- 3.14.2
- 2.8.5
- 3.9
- 1.4.0
- 1.0.0
- 1.0
+ 1.8.4
+ 1.5.24
+ 3.14.7
+ 2.8.6
+ 3.10
+ 1.4.3
+ 1.3.2
4.13
UTF-8