This is an automated email from the ASF dual-hosted git repository.

sijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 9953129  Update Swagger to 1.6.2 and Maven Swagger Plugin to 3.1.7 
(#8845)
9953129 is described below

commit 9953129cbb11489ea14e064d54aaa7b8e2460f16
Author: Enrico Olivelli <[email protected]>
AuthorDate: Wed Dec 9 18:15:42 2020 +0100

    Update Swagger to 1.6.2 and Maven Swagger Plugin to 3.1.7 (#8845)
    
    ### Motivation
    
    In out build environment (MagNews.com) we are upgrading Swagger to 1.6.2, 
as it is also used by Pulsar Builder system we would like to upgrade Swagger 
here as well.
    Even if Swagger is used for documentation, swagger-core is a runtime 
dependency so it is better to guarantee that Pulsar is working well with latest 
version of Swagger 1.X.
    
    I am also upgrading the Maven Swagger Plugin to 3.1.7, the 3.1.8 is buggy 
and it fails the build with NPE (the same problem occurs even in MagNews build, 
so it is not related to Pulsar itself)
    
    ### Modifications
    - Upgrade Swagger version to 1.6.2
    - Upgrade Maven Plugin to 3.1.7
---
 distribution/server/src/assemble/LICENSE.bin.txt | 6 +++---
 pom.xml                                          | 2 +-
 pulsar-broker/pom.xml                            | 2 +-
 pulsar-sql/presto-distribution/LICENSE           | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/distribution/server/src/assemble/LICENSE.bin.txt 
b/distribution/server/src/assemble/LICENSE.bin.txt
index 632e8b5..f82f92f 100644
--- a/distribution/server/src/assemble/LICENSE.bin.txt
+++ b/distribution/server/src/assemble/LICENSE.bin.txt
@@ -339,9 +339,9 @@ The Apache Software License, Version 2.0
  * J2ObjC Annotations -- com.google.j2objc-j2objc-annotations-1.3.jar
  * Netty Reactive Streams -- 
com.typesafe.netty-netty-reactive-streams-2.0.4.jar
  * Swagger
-    - io.swagger-swagger-annotations-1.5.21.jar
-    - io.swagger-swagger-core-1.5.21.jar
-    - io.swagger-swagger-models-1.5.21.jar
+    - io.swagger-swagger-annotations-1.6.2.jar
+    - io.swagger-swagger-core-1.6.2.jar
+    - io.swagger-swagger-models-1.6.2.jar
  * DataSketches
     - com.yahoo.datasketches-memory-0.8.3.jar
     - com.yahoo.datasketches-sketches-core-0.8.3.jar
diff --git a/pom.xml b/pom.xml
index cdd720f..2f0f406 100644
--- a/pom.xml
+++ b/pom.xml
@@ -117,7 +117,7 @@ flexible messaging model and an intuitive client 
API.</description>
     <jackson.version>2.11.1</jackson.version>
     <jackson.databind.version>2.11.1</jackson.databind.version>
     <reflections.version>0.9.11</reflections.version>
-    <swagger.version>1.5.21</swagger.version>
+    <swagger.version>1.6.2</swagger.version>
     <puppycrawl.checkstyle.version>8.37</puppycrawl.checkstyle.version>
     <dockerfile-maven.version>1.4.13</dockerfile-maven.version>
     <typetools.version>0.5.0</typetools.version>
diff --git a/pulsar-broker/pom.xml b/pulsar-broker/pom.xml
index 5d86688..b416118 100644
--- a/pulsar-broker/pom.xml
+++ b/pulsar-broker/pom.xml
@@ -445,7 +445,7 @@
           <plugin>
             <groupId>com.github.kongchen</groupId>
             <artifactId>swagger-maven-plugin</artifactId>
-            <version>3.1.5</version>
+            <version>3.1.7</version>
             <configuration>
               <apiSources>
                 <apiSource>
diff --git a/pulsar-sql/presto-distribution/LICENSE 
b/pulsar-sql/presto-distribution/LICENSE
index 80e5759..314a7ef 100644
--- a/pulsar-sql/presto-distribution/LICENSE
+++ b/pulsar-sql/presto-distribution/LICENSE
@@ -459,7 +459,7 @@ The Apache Software License, Version 2.0
   * Apache Yetus Audience Annotations
     - audience-annotations-0.5.0.jar
   * Swagger
-    - swagger-annotations-1.5.21.jar
+    - swagger-annotations-1.6.2.jar
 
 Protocol Buffers License
  * Protocol Buffers

Reply via email to