Update swagger annotation version in Java clients (#915)

* update swagger annotation version in java client

* add java retrofit2 play 2.6 to java petstore all bin script

* remove empty line in pom.xml
This commit is contained in:
William Cheng
2018-08-29 16:43:41 +08:00
committed by GitHub
parent 8e1e05e86c
commit b8db2af4bb
71 changed files with 189 additions and 279 deletions

View File

@@ -93,7 +93,7 @@ if(hasProperty('target') && target == 'android') {
}
ext {
swagger_annotations_version = "1.5.20"
swagger_annotations_version = "1.5.21"
jackson_version = "2.9.6"
jersey_version = "2.27"
junit_version = "4.12"

View File

@@ -9,7 +9,7 @@ lazy val root = (project in file(".")).
publishArtifact in (Compile, packageDoc) := false,
resolvers += Resolver.mavenLocal,
libraryDependencies ++= Seq(
"io.swagger" % "swagger-annotations" % "1.5.20",
"io.swagger" % "swagger-annotations" % "1.5.21",
"org.glassfish.jersey.core" % "jersey-client" % "2.25.1",
"org.glassfish.jersey.media" % "jersey-media-multipart" % "2.25.1",
"org.glassfish.jersey.media" % "jersey-media-json-jackson" % "2.25.1",

View File

@@ -114,8 +114,7 @@
</goals>
<configuration>
<sources>
<source>
src/main/java</source>
<source>src/main/java</source>
</sources>
</configuration>
</execution>
@@ -127,8 +126,7 @@
</goals>
<configuration>
<sources>
<source>
src/test/java</source>
<source>src/test/java</source>
</sources>
</configuration>
</execution>
@@ -200,7 +198,7 @@
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
<version>${swagger-core-version}</version>
<version>${swagger-annotations-version}</version>
</dependency>
<!-- HTTP client: jersey-client -->
@@ -251,7 +249,7 @@
</dependencies>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<swagger-core-version>1.5.20</swagger-core-version>
<swagger-annotations-version>1.5.21</swagger-annotations-version>
<jersey-version>2.27</jersey-version>
<jackson-version>2.8.9</jackson-version>
<maven-plugin-version>1.0.0</maven-plugin-version>