Add a function to add esr-gui to webapp. 85/18485/1
authorlizi <li.zi30@zte.com.cn>
Thu, 12 Oct 2017 09:16:19 +0000 (17:16 +0800)
committerlizi <li.zi30@zte.com.cn>
Thu, 12 Oct 2017 09:16:19 +0000 (17:16 +0800)
Change-Id: I2f43a9b3e246cc47873c56d053d0f99bcf4f6d23
Issue-ID: AAI-431
Signed-off-by: lizi <li.zi30@zte.com.cn>
integration/pom.xml [new file with mode: 0644]
integration/src/main/webapp/WEB-INF/web.xml [new file with mode: 0644]
pom.xml

diff --git a/integration/pom.xml b/integration/pom.xml
new file mode 100644 (file)
index 0000000..802676c
--- /dev/null
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Copyright 2017 ZTE Corporation.
+
+    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.aai.esr-gui</groupId>
+        <artifactId>aai-esr-gui</artifactId>
+        <version>1.0.0-SNAPSHOT</version>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>integration</artifactId>
+    <packaging>war</packaging>
+    <name>esr-gui/integration</name>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.onap.aai.esr-gui</groupId>
+            <artifactId>common</artifactId>
+            <version>1.0.0-SNAPSHOT</version>
+            <type>war</type>
+        </dependency>
+        <dependency>
+            <groupId>org.onap.aai.esr-gui</groupId>
+            <artifactId>portal</artifactId>
+            <version>1.0.0-SNAPSHOT</version>
+            <type>war</type>
+        </dependency>   
+    </dependencies>
+
+    <build>
+               <finalName>esr-gui</finalName>
+        <plugins>              
+                       <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-war-plugin</artifactId>
+                <configuration>
+                    <packagingExcludes>WEB-INF/web.xml</packagingExcludes>
+                    <overlays>
+                        <overlay>
+                            <groupId>org.onap.aai.esr-gui</groupId>
+                            <artifactId>common</artifactId>
+                        </overlay>
+                        <overlay>
+                            <groupId>org.onap.aai.esr-gui</groupId>
+                            <artifactId>portal</artifactId>
+                        </overlay>
+                    </overlays>
+                </configuration>
+            </plugin>                  
+        </plugins>
+    </build>
+</project>
diff --git a/integration/src/main/webapp/WEB-INF/web.xml b/integration/src/main/webapp/WEB-INF/web.xml
new file mode 100644 (file)
index 0000000..52dafec
--- /dev/null
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Copyright 2016-2017, China Mobile Co., Ltd.
+
+    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.
+-->
+<web-app>
+
+</web-app>
diff --git a/pom.xml b/pom.xml
index 8649866..de6b81d 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -33,6 +33,7 @@
     <modules>
         <module>common</module>
                <module>portal</module>
+               <module>integration</module>    
                <module>distribution</module>           
     </modules>