diff --git a/modules/swagger-codegen/src/main/resources/Java/libraries/feign/pom.mustache b/modules/swagger-codegen/src/main/resources/Java/libraries/feign/pom.mustache
index d0121e752dc..5ff827ff40c 100644
--- a/modules/swagger-codegen/src/main/resources/Java/libraries/feign/pom.mustache
+++ b/modules/swagger-codegen/src/main/resources/Java/libraries/feign/pom.mustache
@@ -110,7 +110,7 @@
io.swagger
swagger-annotations
- ${swagger-annotations-version}
+ ${swagger-core-version}
@@ -179,7 +179,7 @@
- 1.5.0
+ 1.5.8
8.1.1
2.6.3
2.5
diff --git a/modules/swagger-codegen/src/main/resources/Java/libraries/jersey2/pom.mustache b/modules/swagger-codegen/src/main/resources/Java/libraries/jersey2/pom.mustache
index be6b9b66cef..13fab8b0ed2 100644
--- a/modules/swagger-codegen/src/main/resources/Java/libraries/jersey2/pom.mustache
+++ b/modules/swagger-codegen/src/main/resources/Java/libraries/jersey2/pom.mustache
@@ -131,7 +131,7 @@
io.swagger
swagger-annotations
- ${swagger-annotations-version}
+ ${swagger-core-version}
@@ -194,7 +194,7 @@
- 1.5.0
+ 1.5.8
2.22
2.4.2
2.3
diff --git a/modules/swagger-codegen/src/main/resources/Java/libraries/okhttp-gson/pom.mustache b/modules/swagger-codegen/src/main/resources/Java/libraries/okhttp-gson/pom.mustache
index 8339c894895..d457749d19a 100644
--- a/modules/swagger-codegen/src/main/resources/Java/libraries/okhttp-gson/pom.mustache
+++ b/modules/swagger-codegen/src/main/resources/Java/libraries/okhttp-gson/pom.mustache
@@ -132,7 +132,7 @@
io.swagger
swagger-annotations
- ${swagger-annotations-version}
+ ${swagger-core-version}
com.squareup.okhttp
@@ -159,7 +159,7 @@
- 1.5.0
+ 1.5.8
2.7.2
2.3.1
1.0.0
diff --git a/modules/swagger-codegen/src/main/resources/Java/libraries/retrofit/pom.mustache b/modules/swagger-codegen/src/main/resources/Java/libraries/retrofit/pom.mustache
index 651c9bd6a64..2370cf4a211 100644
--- a/modules/swagger-codegen/src/main/resources/Java/libraries/retrofit/pom.mustache
+++ b/modules/swagger-codegen/src/main/resources/Java/libraries/retrofit/pom.mustache
@@ -110,7 +110,7 @@
io.swagger
swagger-annotations
- ${swagger-annotations-version}
+ ${swagger-core-version}
com.squareup.retrofit
@@ -137,7 +137,7 @@
- 1.5.0
+ 1.5.8
1.9.0
2.4.0
1.0.0
diff --git a/modules/swagger-codegen/src/main/resources/Java/libraries/retrofit2/pom.mustache b/modules/swagger-codegen/src/main/resources/Java/libraries/retrofit2/pom.mustache
index cdeca371b6d..a76fb3b9547 100644
--- a/modules/swagger-codegen/src/main/resources/Java/libraries/retrofit2/pom.mustache
+++ b/modules/swagger-codegen/src/main/resources/Java/libraries/retrofit2/pom.mustache
@@ -111,7 +111,7 @@
io.swagger
swagger-annotations
- ${swagger-annotations-version}
+ ${swagger-core-version}
com.squareup.retrofit2
@@ -153,7 +153,7 @@
- 1.5.0
+ 1.5.8
2.0.0-beta4{{#useRxJava}}
1.0.16{{/useRxJava}}
1.0.0
diff --git a/modules/swagger-codegen/src/main/resources/android/pom.mustache b/modules/swagger-codegen/src/main/resources/android/pom.mustache
index ad093828ecc..0c00c55de1f 100644
--- a/modules/swagger-codegen/src/main/resources/android/pom.mustache
+++ b/modules/swagger-codegen/src/main/resources/android/pom.mustache
@@ -110,7 +110,7 @@
io.swagger
swagger-annotations
- ${swagger-annotations-version}
+ ${swagger-core-version}
com.google.code.gson
@@ -145,7 +145,7 @@
- 1.5.4
+ 1.5.8
2.3.1
4.8.1
1.0.0