Fix Nexus IQ security issue 27/28627/2
authorHuabingZhao <zhao.huabing@zte.com.cn>
Fri, 19 Jan 2018 08:24:26 +0000 (08:24 +0000)
committerHuabingZhao <zhao.huabing@zte.com.cn>
Fri, 19 Jan 2018 08:37:32 +0000 (08:37 +0000)
Update dependencies to latest versions.

Issue-ID: MSB-131
Change-Id: I3659a189b3b7b898970ae6efe8bb8e6a61804046
Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
sdclient/discovery-service/dependency-reduced-pom.xml
sdclient/discovery-service/pom.xml
sdclient/discovery-service/src/main/java/org/onap/msb/sdclient/wrapper/consul/Consul.java
sdclient/discovery-standalone/pom.xml
sdclient/pom.xml

index 1200af2..bced298 100644 (file)
@@ -73,7 +73,7 @@
     <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
-      <version>4.11</version>
+      <version>4.12</version>
       <scope>test</scope>
       <exclusions>
         <exclusion>
index d0e5991..982338d 100644 (file)
 <?xml version="1.0" encoding="UTF-8" ?>
-<!--
+<!-- Copyright 2016-2017 ZTE, Inc. and others. Licensed under the Apache 
+       License, Version 2.0 (the "License"); you may not use this file except in 
+       compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 
+       Unless required by applicable law or agreed to in writing, software distributed 
+       under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES 
+       OR CONDITIONS OF ANY KIND, either express or implied. See the License for 
+       the specific language governing permissions and limitations under the License. -->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+       <modelVersion>4.0.0</modelVersion>
 
-    Copyright 2016-2017 ZTE, Inc. and others.
+       <parent>
+               <groupId>org.onap.msb.discovery</groupId>
+               <artifactId>sdclient</artifactId>
+               <version>1.1.0-SNAPSHOT</version>
+       </parent>
 
-    Licensed under the Apache License, Version 2.0 (the "License");
-    you may not use this file except in compliance with the License.
-    You may obtain a copy of the License at
+       <groupId>org.onap.msb.discovery.sdclient</groupId>
+       <artifactId>discovery-service</artifactId>
+       <name>onap/msb/discovery/sdclient/discovery-service</name>
+       <packaging>jar</packaging>
+       <version>1.1.0-SNAPSHOT</version>
 
-        http://www.apache.org/licenses/LICENSE-2.0
 
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
+       <dependencies>
+               <dependency>
+                       <groupId>io.dropwizard</groupId>
+                       <artifactId>dropwizard-core</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>io.dropwizard</groupId>
+                       <artifactId>dropwizard-assets</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>io.dropwizard</groupId>
+                       <artifactId>dropwizard-client</artifactId>
+               </dependency>
 
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <parent>
-    <groupId>org.onap.msb.discovery</groupId>
-    <artifactId>sdclient</artifactId>
-    <version>1.1.0-SNAPSHOT</version>        
-  </parent>
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>org.onap.msb.discovery.sdclient</groupId>
-  <artifactId>discovery-service</artifactId>
-  <name>onap/msb/discovery/sdclient/discovery-service</name>
-  <packaging>jar</packaging>
-  <version>1.1.0-SNAPSHOT</version>
-  
+               <dependency>
+                       <groupId>junit</groupId>
+                       <artifactId>junit</artifactId>
+                       <scope>test</scope>
+               </dependency>
 
-  <dependencies>
-    <dependency>
-      <groupId>io.dropwizard</groupId>
-      <artifactId>dropwizard-core</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>io.dropwizard</groupId>
-      <artifactId>dropwizard-assets</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>io.dropwizard</groupId>
-      <artifactId>dropwizard-client</artifactId>
-    </dependency>   
-    <dependency>
-      <groupId>io.swagger</groupId>
-      <artifactId>swagger-jersey2-jaxrs</artifactId>
-      <scope>compile</scope>
-    </dependency>
-    
-    <dependency>
-      <groupId>org.projectlombok</groupId>
-      <artifactId>lombok</artifactId>
-    </dependency>
+               <dependency>
+                       <groupId>org.powermock</groupId>
+                       <artifactId>powermock-module-junit4</artifactId>
+                       <version>1.6.6</version>
+                       <scope>test</scope>
+               </dependency>
 
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <scope>test</scope>
-    </dependency>
+               <dependency>
+                       <groupId>org.powermock</groupId>
+                       <artifactId>powermock-api-mockito</artifactId>
+                       <version>1.6.6</version>
+                       <scope>test</scope>
+               </dependency>
+               <dependency>
+                       <groupId>javax.servlet</groupId>
+                       <artifactId>javax.servlet-api</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>io.swagger</groupId>
+                       <artifactId>swagger-annotations</artifactId>
+                       <version>1.5.8</version>
+               </dependency>
+               <dependency>
+                       <groupId>io.swagger</groupId>
+                       <artifactId>swagger-jaxrs</artifactId>
+                       <version>1.5.8</version>
+               </dependency>
+               <dependency>
+                       <groupId>com.google.guava</groupId>
+                       <artifactId>guava</artifactId>
+                       <version>${guava.version}</version>
+               </dependency>
 
-    <dependency> 
-      <groupId>org.powermock</groupId>
-      <artifactId>powermock-module-junit4</artifactId> 
-      <scope>test</scope>
-    </dependency> 
-
-    <dependency>
-      <groupId>org.powermock</groupId>
-      <artifactId>powermock-api-mockito</artifactId> 
-      <scope>test</scope>
-    </dependency>      
-   
- </dependencies>
- <build>
-  <plugins>
-    <plugin>
-      <groupId>org.apache.maven.plugins</groupId>
-      <artifactId>maven-jar-plugin</artifactId>
-      <version>2.4</version>
-      <configuration>
-        <archive>
-          <manifest>
-            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
-          </manifest>
-        </archive>
-      </configuration>
-    </plugin>
-    <plugin>
-      <groupId>org.apache.maven.plugins</groupId>
-      <artifactId>maven-shade-plugin</artifactId>
-      <version>2.3</version>
-      <configuration>
-        <createDependencyReducedPom>true</createDependencyReducedPom>
-        <filters>
-          <filter>
-            <artifact>*:*</artifact>
-            <excludes>
-              <exclude>META-INF/*.SF</exclude>
-              <exclude>META-INF/*.DSA</exclude>
-              <exclude>META-INF/*.RSA</exclude>
-            </excludes>
-          </filter>
-        </filters>
-      </configuration>
-      <executions>
-        <execution>
-          <phase>package</phase>
-          <goals>
-            <goal>shade</goal>
-          </goals>
-          <configuration>
-            <transformers>
-              <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
-              <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
-               <mainClass>org.onap.msb.sdclient.DiscoverApp</mainClass>
-             </transformer>
-           </transformers>
-         </configuration>
-       </execution>
-     </executions>
-   </plugin>
-            <!--plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <executions>
-                    <execution>
-                      <id>copy-dependencies</id>
-                      <phase>package</phase>
-                      <goals>
-                          <goal>copy-dependencies</goal>
-                      </goals>                      
-                      <configuration>
-                        <artifactItems>
-                            <artifactItem>
-                             <groupId>io.dropwizard</groupId>
-                             <artifactId>dropwizard-core</artifactId>
-                             <version>${dropwizard.version}</version>
-                             <overWrite>true</overWrite>
-                         </artifactItem>             
-                     </artifactItems>
-                 </configuration>
-             </execution>  
-         </executions>
-       </plugin-->
-     </plugins>
-     <resources>
-      <resource>
-        <directory>src/main/java</directory>
-        <includes>
-          <include>**/*.properties</include>
-        </includes>
-      </resource>
-      <resource>
-        <directory>src/main/resources</directory>
-      </resource>
-    </resources>
-  </build>
+       </dependencies>
+       <build>
+               <plugins>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-jar-plugin</artifactId>
+                               <version>2.4</version>
+                               <configuration>
+                                       <archive>
+                                               <manifest>
+                                                       <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+                                               </manifest>
+                                       </archive>
+                               </configuration>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-shade-plugin</artifactId>
+                               <version>2.3</version>
+                               <configuration>
+                                       <createDependencyReducedPom>true</createDependencyReducedPom>
+                                       <filters>
+                                               <filter>
+                                                       <artifact>*:*</artifact>
+                                                       <excludes>
+                                                               <exclude>META-INF/*.SF</exclude>
+                                                               <exclude>META-INF/*.DSA</exclude>
+                                                               <exclude>META-INF/*.RSA</exclude>
+                                                       </excludes>
+                                               </filter>
+                                       </filters>
+                               </configuration>
+                               <executions>
+                                       <execution>
+                                               <phase>package</phase>
+                                               <goals>
+                                                       <goal>shade</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <transformers>
+                                                               <transformer
+                                                                       implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
+                                                               <transformer
+                                                                       implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
+                                                                       <mainClass>org.onap.msb.sdclient.DiscoverApp</mainClass>
+                                                               </transformer>
+                                                       </transformers>
+                                               </configuration>
+                                       </execution>
+                               </executions>
+                       </plugin>
+               </plugins>
+               <resources>
+                       <resource>
+                               <directory>src/main/java</directory>
+                               <includes>
+                                       <include>**/*.properties</include>
+                               </includes>
+                       </resource>
+                       <resource>
+                               <directory>src/main/resources</directory>
+                       </resource>
+               </resources>
+       </build>
 </project>
index 51b6449..a8851fc 100644 (file)
@@ -66,6 +66,8 @@ public class Consul {
             public boolean apply(final Class<?> clazz) {
                 return JacksonJaxbJsonProvider.class.isAssignableFrom(clazz);
             }
+
+
         }).first().isPresent()) {
             builder.register(JacksonJaxbJsonProvider.class);
         }
@@ -197,7 +199,7 @@ public class Consul {
          */
         public Builder withHostAndPort(HostAndPort hostAndPort) {
             try {
-                this.url = new URL("http", hostAndPort.getHostText(), hostAndPort.getPort(), "");
+                this.url = new URL("http", hostAndPort.getHost(), hostAndPort.getPort(), "");
             } catch (MalformedURLException e) {
                 throw new RuntimeException(e);
             }
index f1cacd9..7152336 100644 (file)
 <?xml version="1.0" encoding="UTF-8"?>
-<!--
+<!-- Copyright 2016-2017 ZTE, Inc. and others. Licensed under the Apache 
+       License, Version 2.0 (the "License"); you may not use this file except in 
+       compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 
+       Unless required by applicable law or agreed to in writing, software distributed 
+       under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES 
+       OR CONDITIONS OF ANY KIND, either express or implied. See the License for 
+       the specific language governing permissions and limitations under the License. -->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+       <parent>
+               <groupId>org.onap.msb.discovery</groupId>
+               <artifactId>sdclient</artifactId>
+               <version>1.1.0-SNAPSHOT</version>
+       </parent>
+       <modelVersion>4.0.0</modelVersion>
+       <groupId>org.onap.msb.discovery.sdclient</groupId>
+       <artifactId>discovery-standalone</artifactId>
+       <name>onap/msb/discovery/sdclient/discovery-standalone</name>
+       <packaging>pom</packaging>
+       <version>1.1.0-SNAPSHOT</version>
 
-    Copyright 2016-2017 ZTE, Inc. and others.
-
-    Licensed under the Apache License, Version 2.0 (the "License");
-    you may not use this file except in compliance with the License.
-    You may obtain a copy of the License at
-
-        http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-    <parent>
-      <groupId>org.onap.msb.discovery</groupId>
-      <artifactId>sdclient</artifactId>
-      <version>1.1.0-SNAPSHOT</version>        
-    </parent>
-    <modelVersion>4.0.0</modelVersion>
-    <groupId>org.onap.msb.discovery.sdclient</groupId>
-    <artifactId>discovery-standalone</artifactId>
-    <name>onap/msb/discovery/sdclient/discovery-standalone</name>
-    <packaging>pom</packaging>
-    <version>1.1.0-SNAPSHOT</version>
-
-    <properties>
-      <packageid>discovery-standalone</packageid>
-      <outputdir>target/assembly/</outputdir>
-    </properties>
+       <properties>
+               <packageid>discovery-standalone</packageid>
+               <outputdir>target/assembly/</outputdir>
+       </properties>
 
        <dependencies>
-    <dependency>
-    <groupId>org.onap.msb.discovery.sdclient</groupId>
-    <artifactId>discovery-service</artifactId>
-    <version>${project.version}</version>
-    <optional>true</optional>
-    </dependency>
-  </dependencies>   
+               <dependency>
+                       <groupId>org.onap.msb.discovery.sdclient</groupId>
+                       <artifactId>discovery-service</artifactId>
+                       <version>${project.version}</version>
+                       <optional>true</optional>
+               </dependency>
+       </dependencies>
        <build>
-       
-       <plugins>    
-    <plugin>
-      <artifactId>maven-resources-plugin</artifactId>
-      <executions>
-           <execution>
-          <id>copy-resources</id>                 
-          <phase>process-resources</phase>
-          <goals>
-            <goal>copy-resources</goal>
-          </goals>
-          <configuration>
-            <outputDirectory>${outputdir}</outputDirectory>
-                     <includeEmptyDirs>true</includeEmptyDirs>
-            <resources>                  
-              <resource>
-                <directory>src/assembly/resources/</directory>
-                <filtering>false</filtering>
-                <includes>
-                  <include>**/*</include>
-                </includes>
-              </resource>  
-            </resources>
-            <overwrite>true</overwrite>
-          </configuration>
-        </execution>
-      </executions>
-    </plugin>
-    <plugin>
-      <groupId>org.apache.maven.plugins</groupId>
-      <artifactId>maven-dependency-plugin</artifactId>
-      <version>2.8</version>
-      <executions>                   
-          <execution>
-              <id>copy-jar</id>
-              <goals>
-                  <goal>copy</goal>
-              </goals>
-              <phase>prepare-package</phase>
-              <configuration>
-                  <artifactItems>
-                      <artifactItem>
-                          <groupId>org.onap.msb.discovery.sdclient</groupId>
-                          <artifactId>discovery-service</artifactId>
-                          <type>jar</type>
-                          <overWrite>true</overWrite>
-                          <outputDirectory>${outputdir}/discover/</outputDirectory>
-                          <destFileName>discovery-service.jar</destFileName>
-                      </artifactItem>                             
-                  </artifactItems>
-              </configuration>
-          </execution>
-      </executions>
-    </plugin>
-    
-    <plugin>
-      <groupId>org.apache.maven.plugins</groupId>
-      <artifactId>maven-antrun-plugin</artifactId>
-      <executions>
-        <execution>
-            <id>distribution</id>
-            <phase>package</phase>
-            <goals>
-                <goal>run</goal>
-            </goals>
-            <configuration>
-                <target name="distribution">
-                    <zip destfile="${version.output}/${packageid}-${project.version}.zip" update="true">
-                      <zipfileset dir="target/assembly/" includes="**"/>
-                    </zip>
-                    <attachartifact file="${version.output}/${packageid}-${project.version}.zip" type="zip"/>
 
-                </target>
-            </configuration>
-        </execution>
-      </executions>
-    </plugin>
-       </plugins>
+               <plugins>
+                       <plugin>
+                               <artifactId>maven-resources-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <id>copy-resources</id>
+                                               <phase>process-resources</phase>
+                                               <goals>
+                                                       <goal>copy-resources</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <outputDirectory>${outputdir}</outputDirectory>
+                                                       <includeEmptyDirs>true</includeEmptyDirs>
+                                                       <resources>
+                                                               <resource>
+                                                                       <directory>src/assembly/resources/</directory>
+                                                                       <filtering>false</filtering>
+                                                                       <includes>
+                                                                               <include>**/*</include>
+                                                                       </includes>
+                                                               </resource>
+                                                       </resources>
+                                                       <overwrite>true</overwrite>
+                                               </configuration>
+                                       </execution>
+                               </executions>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-dependency-plugin</artifactId>
+                               <version>2.8</version>
+                               <executions>
+                                       <execution>
+                                               <id>copy-jar</id>
+                                               <goals>
+                                                       <goal>copy</goal>
+                                               </goals>
+                                               <phase>prepare-package</phase>
+                                               <configuration>
+                                                       <artifactItems>
+                                                               <artifactItem>
+                                                                       <groupId>org.onap.msb.discovery.sdclient</groupId>
+                                                                       <artifactId>discovery-service</artifactId>
+                                                                       <type>jar</type>
+                                                                       <overWrite>true</overWrite>
+                                                                       <outputDirectory>${outputdir}/discover/</outputDirectory>
+                                                                       <destFileName>discovery-service.jar</destFileName>
+                                                               </artifactItem>
+                                                       </artifactItems>
+                                               </configuration>
+                                       </execution>
+                               </executions>
+                       </plugin>
+
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-antrun-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <id>distribution</id>
+                                               <phase>package</phase>
+                                               <goals>
+                                                       <goal>run</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <target name="distribution">
+                                                               <zip destfile="${version.output}/${packageid}-${project.version}.zip"
+                                                                       update="true">
+                                                                       <zipfileset dir="target/assembly/" includes="**" />
+                                                               </zip>
+                                                               <attachartifact
+                                                                       file="${version.output}/${packageid}-${project.version}.zip"
+                                                                       type="zip" />
+
+                                                       </target>
+                                               </configuration>
+                                       </execution>
+                               </executions>
+                       </plugin>
+               </plugins>
        </build>
 
 </project>
index 89caaf9..81b78bf 100644 (file)
 <?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-    Copyright 2016-2017 ZTE, Inc. and others.
-
-    Licensed under the Apache License, Version 2.0 (the "License");
-    you may not use this file except in compliance with the License.
-    You may obtain a copy of the License at
-
-        http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
-
--->
+<!-- Copyright 2016-2017 ZTE, Inc. and others. Licensed under the Apache 
+       License, Version 2.0 (the "License"); you may not use this file except in 
+       compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 
+       Unless required by applicable law or agreed to in writing, software distributed 
+       under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES 
+       OR CONDITIONS OF ANY KIND, either express or implied. See the License for 
+       the specific language governing permissions and limitations under the License. -->
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
        <modelVersion>4.0.0</modelVersion>
 
        <parent>
-         <groupId>org.onap.msb.discovery</groupId>
-         <artifactId>msb-discovery-parent</artifactId>
-         <version>1.1.0-SNAPSHOT</version>
+               <groupId>org.onap.msb.discovery</groupId>
+               <artifactId>msb-discovery-parent</artifactId>
+               <version>1.1.0-SNAPSHOT</version>
        </parent>
 
-       <groupId>org.onap.msb.discovery</groupId>
+       <groupId>org.onap.msb.discovery</groupId>
        <artifactId>sdclient</artifactId>
        <version>1.1.0-SNAPSHOT</version>
        <name>onap/msb/discovery/sdclient</name>
        <packaging>pom</packaging>
-       
+
        <modules>
                <module>discovery-service</module>
                <module>discovery-standalone</module>
        </modules>
 
        <properties>
-           <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-           <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
-
-           <!-- Java Versions -->
-           <!-- FIXME: confirm these two are picked by maven-compiler-plugin -->
-           <maven.compiler.source>1.7</maven.compiler.source>
-           <maven.compiler.target>1.7</maven.compiler.target>
-           <java.version.source>${maven.compiler.source}</java.version.source>
-           <java.version.target>${maven.compiler.target}</java.version.target>  
-
-
-               <!-- dependency version -->
-           <dropwizard.version>1.2.0</dropwizard.version>
-           <swagger.version>1.5.3</swagger.version>
-           <lombok.version>1.16.16</lombok.version>
-           
-           <jetty.version>9.2.9.v20150224</jetty.version>
-           <jackson-version>2.9.1</jackson-version>
-           <jersey.version>2.16</jersey.version>
-           <slf4j.version>1.7.12</slf4j.version>
-           <logback.version>1.1.3</logback.version>
-           <!-- <httpclient.version>4.5</httpclient.version> -->  
-
-
-           <guava.version>18.0</guava.version>
-           <annotation-api.version>1.2</annotation-api.version>
-
-               <junit.version>4.11</junit.version>
-           <powermock.version>1.6.6</powermock.version>
-
+               <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+               <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+               <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+               <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+               <dropwizard.version>1.2.2</dropwizard.version>
+               <guava.version>23.5-jre</guava.version>
+               <jersey.version>2.25.1</jersey.version>
+               <jackson.version>2.9.3</jackson.version>
+               <jetty.version>9.4.8.v20171121</jetty.version>
+               <servlet.version>3.0.0.v201112011016</servlet.version>
+               <metrics3.version>3.2.5</metrics3.version>
+               <slf4j.version>1.7.25</slf4j.version>
+               <logback.version>1.2.3</logback.version>
+               <h2.version>1.4.196</h2.version>
+               <!-- <swagger.version>1.5.17</swagger.version> -->
        </properties>
 
-
        <dependencyManagement>
-               <dependencies>   
-           <dependency>
-             <groupId>com.google.guava</groupId>
-             <artifactId>guava</artifactId> 
-              <version>${guava.version}</version>   
-           </dependency>  
-<!--       <dependency>
-             <groupId>javax.ws.rs</groupId>
-             <artifactId>javax.ws.rs-api</artifactId>
-             <version>${rs-api.version}</version>
-           </dependency>   -->
-<!--       <dependency>
-             <groupId>org.apache.commons</groupId>
-             <artifactId>commons-lang3</artifactId>
-             <version>${commons-lang3.version}</version>
-           </dependency>  -->
-           <dependency>
-             <groupId>javax.annotation</groupId>
-             <artifactId>javax.annotation-api</artifactId>
-             <version>${annotation-api.version}</version>
-           </dependency>
-
-
-
-             <dependency>
-               <groupId>com.fasterxml.jackson.jaxrs</groupId>
-               <artifactId>jackson-jaxrs-base</artifactId>
-               <version>${jackson-version}</version>
-             </dependency>
-             <dependency>
-               <groupId>com.fasterxml.jackson.jaxrs</groupId>
-               <artifactId>jackson-jaxrs-json-provider</artifactId>
-               <version>${jackson-version}</version>
-             </dependency>
-
-               <dependency>
-                 <groupId>com.fasterxml.jackson.datatype</groupId>
-                 <artifactId>jackson-datatype-guava</artifactId>
-                 <version>${jackson-version}</version>
-               </dependency>
-
-             <dependency>
-               <groupId>org.glassfish.jersey.core</groupId>
-               <artifactId>jersey-client</artifactId>
-               <version>${jersey.version}</version>
-             </dependency>
-
-               <dependency>
-                       <groupId>junit</groupId>
-                       <artifactId>junit</artifactId>
-                       <version>${junit.version}</version>
-                       <scope>test</scope>
-               </dependency>
-               <dependency>
-                       <groupId>org.powermock</groupId>
-                       <artifactId>powermock-module-junit4</artifactId>
-                       <version>${powermock.version}</version>
-                       <scope>test</scope>
-               </dependency>
-
-               <dependency>
-                       <groupId>org.powermock</groupId>
-                       <artifactId>powermock-api-mockito</artifactId>
-                       <version>${powermock.version}</version>
-                       <scope>test</scope>
-               </dependency>
-
-             <!-- Supporting Libraries -->
+               <dependencies>
                        <dependency>
-                               <groupId>io.dropwizard</groupId>
-                               <artifactId>dropwizard-core</artifactId>
-                               <version>${dropwizard.version}</version>
+                               <groupId>org.objenesis</groupId>
+                               <artifactId>objenesis</artifactId>
+                               <version>2.6</version>
                        </dependency>
-
                        <dependency>
-                               <groupId>io.dropwizard</groupId>
-                               <artifactId>dropwizard-assets</artifactId>
-                               <version>${dropwizard.version}</version>
+                               <groupId>org.apache.commons</groupId>
+                               <artifactId>commons-lang3</artifactId>
+                               <version>3.6</version>
                        </dependency>
-
-
                        <dependency>
-                               <groupId>io.dropwizard</groupId>
-                               <artifactId>dropwizard-client</artifactId>
-                               <version>${dropwizard.version}</version>
+                               <groupId>com.google.guava</groupId>
+                               <artifactId>guava</artifactId>
+                               <version>${guava.version}</version>
                        </dependency>
-
                        <dependency>
-                               <groupId>io.swagger</groupId>
-                               <artifactId>swagger-jersey2-jaxrs</artifactId>
-                               <version>${swagger.version}</version>
-                               <scope>compile</scope>
+                               <groupId>net.sourceforge.argparse4j</groupId>
+                               <artifactId>argparse4j</artifactId>
+                               <version>0.7.0</version>
                        </dependency>
-
                        <dependency>
-                               <groupId>org.projectlombok</groupId>
-                               <artifactId>lombok</artifactId>
-                               <version>${lombok.version}</version>
+                               <groupId>com.google.code.findbugs</groupId>
+                               <artifactId>jsr305</artifactId>
+                               <version>3.0.2</version>
                        </dependency>
-                       <!--jersey -->
                        <dependency>
-                               <groupId>org.glassfish.jersey.media</groupId>
-                               <artifactId>jersey-media-multipart</artifactId>
-                               <version>${jersey.version}</version>
+                               <groupId>joda-time</groupId>
+                               <artifactId>joda-time</artifactId>
+                               <version>2.9.9</version>
                        </dependency>
                        <dependency>
-                               <groupId>org.glassfish.jersey.containers</groupId>
-                               <artifactId>jersey-container-servlet-core</artifactId>
-                               <version>${jersey.version}</version>
+                               <groupId>org.hibernate</groupId>
+                               <artifactId>hibernate-validator</artifactId>
+                               <version>5.4.2.Final</version>
                        </dependency>
                        <dependency>
-                               <groupId>org.glassfish.jersey.core</groupId>
-                               <artifactId>jersey-common</artifactId>
-                               <version>${jersey.version}</version>
+                               <groupId>org.glassfish</groupId>
+                               <artifactId>javax.el</artifactId>
+                               <version>3.0.0</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>javax.servlet</groupId>
+                               <artifactId>javax.servlet-api</artifactId>
+                               <version>3.1.0</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.apache.httpcomponents</groupId>
+                               <artifactId>httpclient</artifactId>
+                               <version>4.5.3</version>
+                               <exclusions>
+                                       <exclusion>
+                                               <groupId>commons-logging</groupId>
+                                               <artifactId>commons-logging</artifactId>
+                                       </exclusion>
+                               </exclusions>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.apache.tomcat</groupId>
+                               <artifactId>tomcat-jdbc</artifactId>
+                               <version>8.5.24</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>com.h2database</groupId>
+                               <artifactId>h2</artifactId>
+                               <version>${h2.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.jadira.usertype</groupId>
+                               <artifactId>usertype.core</artifactId>
+                               <version>6.0.1.GA</version>
+                               <exclusions>
+                                       <exclusion>
+                                               <groupId>org.slf4j</groupId>
+                                               <artifactId>slf4j-api</artifactId>
+                                       </exclusion>
+                                       <exclusion>
+                                               <groupId>org.joda</groupId>
+                                               <artifactId>joda-money</artifactId>
+                                       </exclusion>
+                                       <exclusion>
+                                               <groupId>org.apache.geronimo.specs</groupId>
+                                               <artifactId>geronimo-jta_1.1_spec</artifactId>
+                                       </exclusion>
+                               </exclusions>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.hibernate</groupId>
+                               <artifactId>hibernate-core</artifactId>
+                               <version>5.2.12.Final</version>
+                               <exclusions>
+                                       <exclusion>
+                                               <groupId>org.jboss.logging</groupId>
+                                               <artifactId>jboss-logging</artifactId>
+                                       </exclusion>
+                               </exclusions>
                        </dependency>
-
-                       <!--jackson -->
                        <dependency>
-                               <groupId>com.fasterxml.jackson.core</groupId>
-                               <artifactId>jackson-core</artifactId>
-                               <version>${jackson-version}</version>
+                               <groupId>org.javassist</groupId>
+                               <artifactId>javassist</artifactId>
+                               <version>3.22.0-GA</version>
                        </dependency>
                        <dependency>
-                               <groupId>com.fasterxml.jackson.core</groupId>
-                               <artifactId>jackson-databind</artifactId>
-                               <version>2.9.1</version>
+                               <groupId>com.fasterxml</groupId>
+                               <artifactId>classmate</artifactId>
+                               <version>1.3.4</version>
                        </dependency>
                        <dependency>
-                               <groupId>com.fasterxml.jackson.core</groupId>
-                               <artifactId>jackson-annotations</artifactId>
-                               <version>${jackson-version}</version>
+                               <groupId>org.hsqldb</groupId>
+                               <artifactId>hsqldb</artifactId>
+                               <version>2.4.0</version>
                        </dependency>
                        <dependency>
-                               <groupId>com.fasterxml.jackson.dataformat</groupId>
-                               <artifactId>jackson-dataformat-xml</artifactId>
-                               <version>${jackson-version}</version>
+                               <groupId>org.liquibase</groupId>
+                               <artifactId>liquibase-core</artifactId>
+                               <version>3.5.3</version>
+                               <exclusions>
+                                       <exclusion>
+                                               <groupId>org.yaml</groupId>
+                                               <artifactId>snakeyaml</artifactId>
+                                       </exclusion>
+                               </exclusions>
                        </dependency>
                        <dependency>
-                               <groupId>com.fasterxml.jackson.dataformat</groupId>
-                               <artifactId>jackson-dataformat-yaml</artifactId>
-                               <version>${jackson-version}</version>
+                               <groupId>com.mattbertolini</groupId>
+                               <artifactId>liquibase-slf4j</artifactId>
+                               <version>2.0.0</version>
+                               <exclusions>
+                                       <exclusion>
+                                               <groupId>org.slf4j</groupId>
+                                               <artifactId>slf4j-api</artifactId>
+                                       </exclusion>
+                                       <exclusion>
+                                               <groupId>org.liquibase</groupId>
+                                               <artifactId>liquibase-core</artifactId>
+                                       </exclusion>
+                               </exclusions>
                        </dependency>
                        <dependency>
-                               <groupId>com.fasterxml.jackson.module</groupId>
-                               <artifactId>jackson-module-jaxb-annotations</artifactId>
-                               <version>${jackson-version}</version>
+                               <groupId>net.jcip</groupId>
+                               <artifactId>jcip-annotations</artifactId>
+                               <version>1.0</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>com.github.spullara.mustache.java</groupId>
+                               <artifactId>compiler</artifactId>
+                               <version>0.9.5</version>
+                               <exclusions>
+                                       <exclusion>
+                                               <groupId>com.google.guava</groupId>
+                                               <artifactId>guava</artifactId>
+                                       </exclusion>
+                               </exclusions>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.freemarker</groupId>
+                               <artifactId>freemarker</artifactId>
+                               <version>2.3.27-incubating</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.jdbi</groupId>
+                               <artifactId>jdbi</artifactId>
+                               <version>2.78</version>
                        </dependency>
 
-                       <!--jetty -->
+                       <!-- Jetty -->
                        <dependency>
                                <groupId>org.eclipse.jetty</groupId>
-                               <artifactId>jetty-io</artifactId>
+                               <artifactId>jetty-server</artifactId>
                                <version>${jetty.version}</version>
                        </dependency>
                        <dependency>
                        </dependency>
                        <dependency>
                                <groupId>org.eclipse.jetty</groupId>
-                               <artifactId>jetty-http</artifactId>
+                               <artifactId>jetty-webapp</artifactId>
                                <version>${jetty.version}</version>
                        </dependency>
                        <dependency>
                                <groupId>org.eclipse.jetty</groupId>
-                               <artifactId>jetty-client</artifactId>
+                               <artifactId>jetty-continuation</artifactId>
                                <version>${jetty.version}</version>
                        </dependency>
-<!--                   <dependency>
+                       <dependency>
                                <groupId>org.eclipse.jetty</groupId>
-                               <artifactId>jetty-continuation</artifactId>
+                               <artifactId>jetty-servlet</artifactId>
                                <version>${jetty.version}</version>
                        </dependency>
                        <dependency>
                                <groupId>org.eclipse.jetty</groupId>
-                               <artifactId>jetty-jmx</artifactId>
+                               <artifactId>jetty-servlet</artifactId>
+                               <classifier>tests</classifier>
                                <version>${jetty.version}</version>
                        </dependency>
                        <dependency>
                                <groupId>org.eclipse.jetty</groupId>
-                               <artifactId>jetty-webapp</artifactId>
+                               <artifactId>jetty-servlets</artifactId>
                                <version>${jetty.version}</version>
                        </dependency>
                        <dependency>
                                <groupId>org.eclipse.jetty</groupId>
-                               <artifactId>jetty-xml</artifactId>
+                               <artifactId>jetty-http</artifactId>
                                <version>${jetty.version}</version>
-                       </dependency> -->
+                       </dependency>
                        <dependency>
                                <groupId>org.eclipse.jetty</groupId>
-                               <artifactId>jetty-servlet</artifactId>
+                               <artifactId>jetty-http</artifactId>
+                               <classifier>tests</classifier>
                                <version>${jetty.version}</version>
                        </dependency>
                        <dependency>
                                <groupId>org.eclipse.jetty</groupId>
-                               <artifactId>jetty-security</artifactId>
+                               <artifactId>jetty-alpn-openjdk8-server</artifactId>
+                               <version>${jetty.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.eclipse.jetty.http2</groupId>
+                               <artifactId>http2-server</artifactId>
+                               <version>${jetty.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.eclipse.jetty.http2</groupId>
+                               <artifactId>http2-client</artifactId>
                                <version>${jetty.version}</version>
                        </dependency>
                        <dependency>
                                <groupId>org.eclipse.jetty</groupId>
-                               <artifactId>jetty-server</artifactId>
+                               <artifactId>jetty-client</artifactId>
+                               <version>${jetty.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.eclipse.jetty.http2</groupId>
+                               <artifactId>http2-http-client-transport</artifactId>
+                               <version>${jetty.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.eclipse.jetty</groupId>
+                               <artifactId>jetty-alpn-openjdk8-client</artifactId>
+                               <version>${jetty.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.eclipse.jetty</groupId>
+                               <artifactId>jetty-alpn-conscrypt-server</artifactId>
                                <version>${jetty.version}</version>
                        </dependency>
-                       <!-- logger -->
+                       <dependency>
+                               <groupId>org.eclipse.jetty.toolchain.setuid</groupId>
+                               <artifactId>jetty-setuid-java</artifactId>
+                               <version>1.0.3</version>
+                               <exclusions>
+                                       <exclusion>
+                                               <groupId>org.eclipse.jetty</groupId>
+                                               <artifactId>jetty-util</artifactId>
+                                       </exclusion>
+                                       <exclusion>
+                                               <groupId>org.eclipse.jetty</groupId>
+                                               <artifactId>jetty-server</artifactId>
+                                       </exclusion>
+                               </exclusions>
+                       </dependency>
+
+                       <!-- Jackson -->
+                       <dependency>
+                               <groupId>com.fasterxml.jackson</groupId>
+                               <artifactId>jackson-bom</artifactId>
+                               <version>${jackson.version}</version>
+                               <type>pom</type>
+                               <scope>import</scope>
+                       </dependency>
+
+                       <!-- Jersey -->
+                       <dependency>
+                               <groupId>org.glassfish.jersey</groupId>
+                               <artifactId>jersey-bom</artifactId>
+                               <version>${jersey.version}</version>
+                               <type>pom</type>
+                               <scope>import</scope>
+                       </dependency>
+
+                       <!-- Metrics -->
+                       <dependency>
+                               <groupId>io.dropwizard.metrics</groupId>
+                               <artifactId>metrics-annotation</artifactId>
+                               <version>${metrics3.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard.metrics</groupId>
+                               <artifactId>metrics-core</artifactId>
+                               <version>${metrics3.version}</version>
+                               <exclusions>
+                                       <exclusion>
+                                               <groupId>org.slf4j</groupId>
+                                               <artifactId>slf4j-api</artifactId>
+                                       </exclusion>
+                               </exclusions>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard.metrics</groupId>
+                               <artifactId>metrics-jvm</artifactId>
+                               <version>${metrics3.version}</version>
+                               <exclusions>
+                                       <exclusion>
+                                               <groupId>org.slf4j</groupId>
+                                               <artifactId>slf4j-api</artifactId>
+                                       </exclusion>
+                               </exclusions>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard.metrics</groupId>
+                               <artifactId>metrics-servlets</artifactId>
+                               <version>${metrics3.version}</version>
+                               <exclusions>
+                                       <exclusion>
+                                               <groupId>com.fasterxml.jackson.core</groupId>
+                                               <artifactId>jackson-databind</artifactId>
+                                       </exclusion>
+                                       <exclusion>
+                                               <groupId>org.slf4j</groupId>
+                                               <artifactId>slf4j-api</artifactId>
+                                       </exclusion>
+                               </exclusions>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard.metrics</groupId>
+                               <artifactId>metrics-healthchecks</artifactId>
+                               <version>${metrics3.version}</version>
+                               <exclusions>
+                                       <exclusion>
+                                               <groupId>org.slf4j</groupId>
+                                               <artifactId>slf4j-api</artifactId>
+                                       </exclusion>
+                               </exclusions>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard.metrics</groupId>
+                               <artifactId>metrics-logback</artifactId>
+                               <version>${metrics3.version}</version>
+                               <exclusions>
+                                       <exclusion>
+                                               <groupId>ch.qos.logback</groupId>
+                                               <artifactId>logback-classic</artifactId>
+                                       </exclusion>
+                                       <exclusion>
+                                               <groupId>org.slf4j</groupId>
+                                               <artifactId>slf4j-api</artifactId>
+                                       </exclusion>
+                               </exclusions>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard.metrics</groupId>
+                               <artifactId>metrics-jersey2</artifactId>
+                               <version>${metrics3.version}</version>
+                               <exclusions>
+                                       <exclusion>
+                                               <groupId>org.glassfish.jersey.core</groupId>
+                                               <artifactId>jersey-server</artifactId>
+                                       </exclusion>
+                                       <exclusion>
+                                               <groupId>org.slf4j</groupId>
+                                               <artifactId>slf4j-api</artifactId>
+                                       </exclusion>
+                               </exclusions>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard.metrics</groupId>
+                               <artifactId>metrics-jetty9</artifactId>
+                               <version>${metrics3.version}</version>
+                               <exclusions>
+                                       <exclusion>
+                                               <groupId>org.eclipse.jetty</groupId>
+                                               <artifactId>jetty-server</artifactId>
+                                       </exclusion>
+                                       <exclusion>
+                                               <groupId>org.slf4j</groupId>
+                                               <artifactId>slf4j-api</artifactId>
+                                       </exclusion>
+                               </exclusions>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard.metrics</groupId>
+                               <artifactId>metrics-httpclient</artifactId>
+                               <version>${metrics3.version}</version>
+                               <exclusions>
+                                       <exclusion>
+                                               <groupId>commons-logging</groupId>
+                                               <artifactId>commons-logging</artifactId>
+                                       </exclusion>
+                                       <exclusion>
+                                               <groupId>org.slf4j</groupId>
+                                               <artifactId>slf4j-api</artifactId>
+                                       </exclusion>
+                                       <exclusion>
+                                               <groupId>org.apache.httpcomponents</groupId>
+                                               <artifactId>httpclient</artifactId>
+                                       </exclusion>
+                               </exclusions>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard.metrics</groupId>
+                               <artifactId>metrics-jdbi</artifactId>
+                               <version>${metrics3.version}</version>
+                               <exclusions>
+                                       <exclusion>
+                                               <groupId>org.jdbi</groupId>
+                                               <artifactId>jdbi</artifactId>
+                                       </exclusion>
+                                       <exclusion>
+                                               <groupId>org.slf4j</groupId>
+                                               <artifactId>slf4j-api</artifactId>
+                                       </exclusion>
+                               </exclusions>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard.metrics</groupId>
+                               <artifactId>metrics-ganglia</artifactId>
+                               <version>${metrics3.version}</version>
+                               <exclusions>
+                                       <exclusion>
+                                               <groupId>org.slf4j</groupId>
+                                               <artifactId>slf4j-api</artifactId>
+                                       </exclusion>
+                               </exclusions>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard.metrics</groupId>
+                               <artifactId>metrics-graphite</artifactId>
+                               <version>${metrics3.version}</version>
+                               <exclusions>
+                                       <exclusion>
+                                               <groupId>org.slf4j</groupId>
+                                               <artifactId>slf4j-api</artifactId>
+                                       </exclusion>
+                               </exclusions>
+                       </dependency>
+
+                       <!-- Logging dependencies -->
                        <dependency>
                                <groupId>org.slf4j</groupId>
                                <artifactId>slf4j-api</artifactId>
                                <version>${slf4j.version}</version>
                        </dependency>
-
+                       <dependency>
+                               <groupId>org.slf4j</groupId>
+                               <artifactId>jul-to-slf4j</artifactId>
+                               <version>${slf4j.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.slf4j</groupId>
+                               <artifactId>log4j-over-slf4j</artifactId>
+                               <version>${slf4j.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.slf4j</groupId>
+                               <artifactId>jcl-over-slf4j</artifactId>
+                               <version>${slf4j.version}</version>
+                       </dependency>
                        <dependency>
                                <groupId>ch.qos.logback</groupId>
-                               <artifactId>logback-classic</artifactId>
+                               <artifactId>logback-access</artifactId>
                                <version>${logback.version}</version>
                        </dependency>
-
-
                        <dependency>
                                <groupId>ch.qos.logback</groupId>
                                <artifactId>logback-core</artifactId>
                                <version>${logback.version}</version>
                        </dependency>
+                       <dependency>
+                               <groupId>ch.qos.logback</groupId>
+                               <artifactId>logback-classic</artifactId>
+                               <version>${logback.version}</version>
+                               <exclusions>
+                                       <exclusion>
+                                               <groupId>org.slf4j</groupId>
+                                               <artifactId>slf4j-api</artifactId>
+                                       </exclusion>
+                               </exclusions>
+                       </dependency>
+
+                       <!-- Test dependencies -->
+                       <dependency>
+                               <groupId>junit</groupId>
+                               <artifactId>junit</artifactId>
+                               <version>4.12</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.hamcrest</groupId>
+                               <artifactId>hamcrest-core</artifactId>
+                               <version>1.3</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.glassfish.jersey.test-framework</groupId>
+                               <artifactId>jersey-test-framework-core</artifactId>
+                               <version>${jersey.version}</version>
+                               <exclusions>
+                                       <exclusion>
+                                               <groupId>javax.servlet</groupId>
+                                               <artifactId>javax.servlet-api</artifactId>
+                                       </exclusion>
+                               </exclusions>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.glassfish.jersey.test-framework.providers</groupId>
+                               <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
+                               <version>${jersey.version}</version>
+                               <exclusions>
+                                       <exclusion>
+                                               <groupId>javax.servlet</groupId>
+                                               <artifactId>javax.servlet-api</artifactId>
+                                       </exclusion>
+                               </exclusions>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.glassfish.jersey.test-framework.providers</groupId>
+                               <artifactId>jersey-test-framework-provider-inmemory</artifactId>
+                               <version>${jersey.version}</version>
+                               <exclusions>
+                                       <exclusion>
+                                               <groupId>javax.servlet</groupId>
+                                               <artifactId>javax.servlet-api</artifactId>
+                                       </exclusion>
+                               </exclusions>
+                       </dependency>
+
+                       <!-- Dropwizard modules -->
+                       <dependency>
+                               <groupId>io.dropwizard</groupId>
+                               <artifactId>dropwizard-assets</artifactId>
+                               <version>${dropwizard.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard</groupId>
+                               <artifactId>dropwizard-auth</artifactId>
+                               <version>${dropwizard.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard</groupId>
+                               <artifactId>dropwizard-client</artifactId>
+                               <version>${dropwizard.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard</groupId>
+                               <artifactId>dropwizard-configuration</artifactId>
+                               <version>${dropwizard.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard</groupId>
+                               <artifactId>dropwizard-core</artifactId>
+                               <version>${dropwizard.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard</groupId>
+                               <artifactId>dropwizard-db</artifactId>
+                               <version>${dropwizard.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard</groupId>
+                               <artifactId>dropwizard-forms</artifactId>
+                               <version>${dropwizard.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard</groupId>
+                               <artifactId>dropwizard-hibernate</artifactId>
+                               <version>${dropwizard.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard</groupId>
+                               <artifactId>dropwizard-jackson</artifactId>
+                               <version>${dropwizard.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard</groupId>
+                               <artifactId>dropwizard-jdbi</artifactId>
+                               <version>${dropwizard.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard</groupId>
+                               <artifactId>dropwizard-jersey</artifactId>
+                               <version>${dropwizard.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard</groupId>
+                               <artifactId>dropwizard-jetty</artifactId>
+                               <version>${dropwizard.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard</groupId>
+                               <artifactId>dropwizard-lifecycle</artifactId>
+                               <version>${dropwizard.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard</groupId>
+                               <artifactId>dropwizard-logging</artifactId>
+                               <version>${dropwizard.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard</groupId>
+                               <artifactId>dropwizard-metrics</artifactId>
+                               <version>${dropwizard.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard</groupId>
+                               <artifactId>dropwizard-metrics-ganglia</artifactId>
+                               <version>${dropwizard.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard</groupId>
+                               <artifactId>dropwizard-metrics-graphite</artifactId>
+                               <version>${dropwizard.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard</groupId>
+                               <artifactId>dropwizard-migrations</artifactId>
+                               <version>${dropwizard.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard</groupId>
+                               <artifactId>dropwizard-request-logging</artifactId>
+                               <version>${dropwizard.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard</groupId>
+                               <artifactId>dropwizard-servlets</artifactId>
+                               <version>${dropwizard.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard</groupId>
+                               <artifactId>dropwizard-testing</artifactId>
+                               <version>${dropwizard.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard</groupId>
+                               <artifactId>dropwizard-util</artifactId>
+                               <version>${dropwizard.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard</groupId>
+                               <artifactId>dropwizard-validation</artifactId>
+                               <version>${dropwizard.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard</groupId>
+                               <artifactId>dropwizard-views</artifactId>
+                               <version>${dropwizard.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard</groupId>
+                               <artifactId>dropwizard-views-freemarker</artifactId>
+                               <version>${dropwizard.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard</groupId>
+                               <artifactId>dropwizard-views-mustache</artifactId>
+                               <version>${dropwizard.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>io.dropwizard</groupId>
+                               <artifactId>dropwizard-http2</artifactId>
+                               <version>${dropwizard.version}</version>
+                       </dependency>
+                       <!-- <dependency> <groupId>io.swagger</groupId> <artifactId>swagger-jersey2-jaxrs</artifactId> 
+                               <version>${swagger.version}</version> <scope>compile</scope> </dependency> -->
+               </dependencies>
+       </dependencyManagement>
 
-         </dependencies>
-       </dependencyManagement> 
 </project>