Divide the MSB source codes into two repos
[msb/apigateway.git] / apiroute / pom.xml
similarity index 63%
rename from msb-parent/msbparent/pom.xml
rename to apiroute/pom.xml
index 868de97..4ace2ce 100644 (file)
@@ -1,66 +1,94 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
-
-    Copyright 2016 ZTE Corporation.
-
+    Copyright (C) 2016 ZTE, Inc. and others. All rights reserved. (ZTE)
     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
-
+            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.
-
-        Author: Zhaoxing Meng
-        email: meng.zhaoxing1@zte.com.cn
-
 -->
 <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.openo.common-services.microservice-bus</groupId>
-    <artifactId>msbparent-lite</artifactId>
-    <version>1.1.0-SNAPSHOT</version>
-    <relativePath>../msbparent-lite</relativePath>
+    <groupId>org.onap.msb.apigateway</groupId>
+    <artifactId>msb-apigateway-parent</artifactId>
+    <version>0.0.1-SNAPSHOT</version>
   </parent>
-
-  <artifactId>msbparent</artifactId>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.onap.msb.apigateway.apiroute</groupId>
+  <artifactId>apiroute-parent</artifactId>
+  <name>onap/msb/apigateway/apiroute</name>
   <packaging>pom</packaging>
-  <name>common-services-microservice-bus/msb-parent/msbparent</name>
+  <version>0.0.1-SNAPSHOT</version>
+  
+  <modules>
+    <module>apiroute-service</module>
+    <module>apiroute-standalone</module>
+  </modules>
+
+  <properties>
 
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
 
-  <scm>
-    <connection>scm:git:ssh://gerrit.zte.com.cn:29418/paas/wisdom/modeldesign-parent.git</connection>
-    <developerConnection>scm:git:ssh://gerrit.zte.com.cn:29418/paas/wisdom/modeldesign-parent.git</developerConnection>
-    <tag>HEAD</tag>
+    <!-- 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>  
 
-  </scm>
 
+    <!-- Maven plugin versions, in the 'canonical' format -->
+    <maven.antrun.plugin.version>1.8</maven.antrun.plugin.version>
+    <maven.bundle.version>3.0.0</maven.bundle.version>
+    <maven.clean.plugin.version>2.6.1</maven.clean.plugin.version>
+    <maven.compile.plugin.version>3.3</maven.compile.plugin.version>
+    <maven.jar.version>2.6</maven.jar.version>
+    <maven.javadoc.version>2.10.3</maven.javadoc.version>
+    <maven.plugin.version>3.4</maven.plugin.version>
+    <maven.release.version>2.5.2</maven.release.version>
+    <maven.surefire.version>2.18.1</maven.surefire.version>
 
- <properties>
+    <!-- Maven plugin versions, in random formats -->
+    <checkstyle.version>2.16</checkstyle.version>
+    <compiler.version>${maven.compile.plugin.version}</compiler.version>
+    <enforcer.version>1.4</enforcer.version>
     <!-- Supporting Libraries -->
     <dropwizard.version>0.8.0</dropwizard.version>
-    <swagger.version>1.5.3</swagger.version>  
+    <swagger.version>1.5.3</swagger.version>
     <jedis.version>2.7.3</jedis.version>
     <lombok.version>1.16.4</lombok.version>
     <junit.version>4.11</junit.version>
     <jetty.version>9.2.9.v20150224</jetty.version>
-    <jackson-version>2.5.1</jackson-version>      
+    <jackson-version>2.7.9</jackson-version>
     <jersey.version>2.16</jersey.version>
-    <slf4j.version>1.7.12</slf4j.version>     
+    <slf4j.version>1.7.12</slf4j.version>
     <logback.version>1.1.3</logback.version>
     <httpclient.version>4.5</httpclient.version>
-       <powermock.version>1.5.5</powermock.version>    
+    <powermock.version>1.5.5</powermock.version>
+    <zenap-dropwizard-ext.version>1.17.10.01</zenap-dropwizard-ext.version>
+    <consul-client.version>0.13.8</consul-client.version>
+    <httpasyncclient.version>4.1.2</httpasyncclient.version>
+    <immutables.value.version>2.4.3</immutables.value.version>
+    <mock-jedis.version>0.4.0</mock-jedis.version>
+    <commons-io.version>1.3.2</commons-io.version>
   </properties>
 
   <dependencyManagement>
     <dependencies>
-
+     <dependency>
+        <groupId>commons-io</groupId>
+        <artifactId>commons-io</artifactId>
+        <version>${commons-io.version}</version>
+      </dependency>
       <!-- Testing Dependencies -->
       <dependency>
         <groupId>junit</groupId>
         <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>
+      <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>
+      <dependency>
+          <groupId>com.fiftyonred</groupId>
+          <artifactId>mock-jedis</artifactId>
+          <version>${mock-jedis.version}</version>
+          <scope>test</scope>
+      </dependency>
 
       <!-- Supporting Libraries -->
       <dependency>
         <version>${dropwizard.version}</version>
       </dependency>
 
+
       <dependency>
         <groupId>io.dropwizard</groupId>
         <artifactId>dropwizard-client</artifactId>
         <version>${dropwizard.version}</version>
-      </dependency>    
+      </dependency>
 
       <dependency>
         <groupId>io.swagger</groupId>
         <groupId>redis.clients</groupId>
         <artifactId>jedis</artifactId>
         <version>${jedis.version}</version>
-      </dependency>     
+      </dependency>
       <dependency>
         <groupId>org.projectlombok</groupId>
         <artifactId>lombok</artifactId>
         <version>${lombok.version}</version>
       </dependency>
-      <!--jersey-->
+      <!--jersey -->
       <dependency>
         <groupId>org.glassfish.jersey.media</groupId>
         <artifactId>jersey-media-multipart</artifactId>
         <version>${jersey.version}</version>
       </dependency>
 
-      <!--jackson-->
+      <!--jackson -->
       <dependency>
         <groupId>com.fasterxml.jackson.core</groupId>
         <artifactId>jackson-core</artifactId>
       <dependency>
         <groupId>com.fasterxml.jackson.core</groupId>
         <artifactId>jackson-databind</artifactId>
-        <version>${jackson-version}</version>
+        <version>2.7.9.1</version>
       </dependency>
       <dependency>
         <groupId>com.fasterxml.jackson.core</groupId>
         <version>${jackson-version}</version>
       </dependency>
 
-      <!--jetty-->
+      <!--jetty -->
       <dependency>
         <groupId>org.eclipse.jetty</groupId>
         <artifactId>jetty-io</artifactId>
         <artifactId>jetty-server</artifactId>
         <version>${jetty.version}</version>
       </dependency>
-      <!-- logger-->
+      <!-- logger -->
       <dependency>
         <groupId>org.slf4j</groupId>
         <artifactId>slf4j-api</artifactId>
         <version>${slf4j.version}</version>
-      </dependency>       
+      </dependency>
 
       <dependency>
         <groupId>ch.qos.logback</groupId>
         <artifactId>logback-classic</artifactId>
         <version>${logback.version}</version>
-      </dependency>   
+      </dependency>
+
 
       <dependency>
         <groupId>ch.qos.logback</groupId>
         <artifactId>logback-core</artifactId>
         <version>${logback.version}</version>
-      </dependency> 
+      </dependency>
+
 
       <dependency>
         <groupId>org.apache.httpcomponents</groupId>
         <artifactId>httpclient</artifactId>
         <version>${httpclient.version}</version>
       </dependency>
-    </dependencies>
-  </dependencyManagement>
 
-<!--   <reporting>
-    <plugins>
-      <plugin>
-        <artifactId>maven-checkstyle-plugin</artifactId>
-        <version>${checkstyle.version}</version>
-      </plugin>
-
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>findbugs-maven-plugin</artifactId>
-        <version>3.0.1</version>
-        <configuration>
-          <effort>Max</effort>
-          <threshold>Low</threshold>
-          <goal>site</goal>
-        </configuration>
-      </plugin>
-
-    </plugins>
-  </reporting> -->
+      <dependency>
+        <groupId>com.orbitz.consul</groupId>
+        <artifactId>consul-client</artifactId>
+        <version>${consul-client.version}</version>
+      </dependency>
 
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-report-plugin</artifactId>
-        <version>2.19.1</version>
-      </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>cobertura-maven-plugin</artifactId>
-        <version>2.7</version>
-        <configuration>
-          <formats>
-            <format>xml</format>
-            <format>html</format>
-          </formats>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-jxr-plugin</artifactId>
-        <version>2.5</version>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-pmd-plugin</artifactId>
-        <version>3.6</version>
-        <configuration>
-          <linkXref>true</linkXref>
-          <sourceEncoding>utf-8</sourceEncoding>
-          <minimumTokens>100</minimumTokens>
-          <targetJdk>1.8</targetJdk>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
+      <dependency>
+        <groupId>org.apache.httpcomponents</groupId>
+        <artifactId>httpasyncclient</artifactId>
+        <version>${httpasyncclient.version}</version>
+      </dependency>
 
+      <dependency>
+        <groupId>org.immutables</groupId>
+        <artifactId>value</artifactId>
+        <version>${immutables.value.version}</version>
+      </dependency>
+    </dependencies>
+  </dependencyManagement>
+  
 </project>