update link to upper-constraints.txt
[msb/apigateway.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 747880d..661d84c 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -1,13 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
 <?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
 
 
     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,
 
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     See the License for the specific language governing permissions and
     limitations under the License.
 
     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">
 -->
 <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</artifactId>
-      <version>1.0.0-SNAPSHOT</version>
-      <relativePath>msb-parent/msbparent</relativePath>
-    </parent>
-
-
-    <artifactId>msb-core-root</artifactId>
-    <version>1.0.0-SNAPSHOT</version>
-       <name>openo/msb/msb-core-root</name>
-    <packaging>pom</packaging>
-
-    <modules>
-      <module>msb-parent</module>
-      <module>msb-core</module>
-    </modules>
-
-  </project>
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.onap.oparent</groupId>
+    <artifactId>oparent</artifactId>
+    <version>3.0.0</version>
+  </parent>
+  <groupId>org.onap.msb.apigateway</groupId>
+  <artifactId>msb-apigateway-parent</artifactId>
+  <version>1.6.0-SNAPSHOT</version>
+  <packaging>pom</packaging>
+  <name>msb-apigateway</name>
+  <properties>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+    <maven.surefire.version>2.18.1</maven.surefire.version>
+    <openresty.version>1.11.2.2</openresty.version>
+    <openresty-windows.version>1.11.9.1001</openresty-windows.version>
+    <redis.version>3.2.6</redis.version>
+    <redis-windows.version>3.2.100</redis-windows.version>
+    <classifier.win32>windows_386</classifier.win32>
+    <classifier.win64>windows_amd64</classifier.win64>
+    <classifier.linux64>linux_amd64</classifier.linux64>
+    <linux64outputdir>target/assembly/${classifier.linux64}/</linux64outputdir>
+    <win32outputdir>target/assembly/${classifier.win32}/</win32outputdir>
+    <win64outputdir>target/assembly/${classifier.win64}/</win64outputdir>
+    <dockerFileDir>src/main/docker</dockerFileDir>
+    <blueprintFileDir>src/main/blueprint</blueprintFileDir>
+    <version.output>target/version</version.output>
+    <onap.nexus.javadocs-url>dav:https://nexus.onap.org/content/sites/site/org/onap/msb/apigateway/${project.version}</onap.nexus.javadocs-url>
+    <additionalparam>-Xdoclint:none</additionalparam>
+  </properties>
+  <distributionManagement>
+    <site>
+      <id>ecomp-site</id>
+      <url>${onap.nexus.javadocs-url}</url>
+    </site>         
+  </distributionManagement>
+  <modules>
+    <module>apiroute</module>
+    <module>openresty-ext</module>
+    <module>redis-ext</module>
+    <module>distributions</module>
+  </modules>
+  <build>
+    <resources>
+      <resource>
+        <filtering>false</filtering>
+        <directory>src/main/resources</directory>
+        <includes>
+          <include>**/*</include>
+        </includes>
+      </resource>
+      <resource>
+        <filtering>true</filtering>
+        <directory>src/main/filters</directory>
+        <includes>
+          <include>**/*</include>
+        </includes>
+      </resource>
+    </resources>
+    <pluginManagement>
+      <plugins>
+        <!-- Official maven plugins, alpha-sorted by artifactId.
+             We do not need to specify the groupId. -->
+        <plugin>
+           <artifactId>maven-compiler-plugin</artifactId>
+           <configuration>
+            <release combine.self="override"></release>
+            <source>1.8</source>
+            <target>1.8</target>
+          </configuration>
+        </plugin>
+        <plugin>
+          <artifactId>maven-antrun-plugin</artifactId>
+          <version>1.8</version>
+        </plugin>
+        <plugin>
+          <artifactId>maven-clean-plugin</artifactId>
+          <version>2.6.1</version>
+        </plugin>
+        <plugin>
+          <artifactId>maven-install-plugin</artifactId>
+          <version>2.5.2</version>
+        </plugin>
+        <plugin>
+          <artifactId>maven-deploy-plugin</artifactId>
+          <version>2.8.2</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-dependency-plugin</artifactId>
+          <version>2.10</version>
+        </plugin>
+        <plugin>
+          <artifactId>maven-resources-plugin</artifactId>
+          <version>2.7</version>
+        </plugin>
+        <plugin>
+          <groupId>org.codehaus.mojo</groupId>
+          <artifactId>build-helper-maven-plugin</artifactId>
+          <version>1.9.1</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-site-plugin</artifactId>
+          <version>3.6</version>
+          <configuration>
+            <reportPlugins>
+              <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-project-info-reports-plugin</artifactId>
+                <version>2.4</version>
+                <configuration>
+                  <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
+                  <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
+                </configuration>
+                <reports>
+                  <report>dependencies</report>
+                </reports>
+              </plugin>
+              <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-javadoc-plugin</artifactId>
+                <version>2.8</version>
+              </plugin>
+            </reportPlugins>
+          </configuration>
+          <dependencies>
+            <dependency>
+              <groupId>org.apache.maven.wagon</groupId>
+              <artifactId>wagon-webdav-jackrabbit</artifactId>
+              <version>2.10</version>
+            </dependency>
+          </dependencies>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+</project>