blob: a1a45ee9e542f4a7b4471c2187ff0244a08522e1 [file] [log] [blame]
“shentao”ee2ca982016-09-18 15:38:21 +08001<?xml version="1.0" encoding="UTF-8"?>
2<!--
“shentao”5a3eed42016-09-23 13:12:04 +08003 Copyright 2016, CMCC Technologies Co., Ltd.
“shentao”ee2ca982016-09-18 15:38:21 +08004
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
“shentao”ee2ca982016-09-18 15:38:21 +080016-->
17<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
18 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
19 <parent>
“shentao”3a7ed642016-09-27 22:01:08 +080020 <groupId>org.openo.gso.gui</groupId>
“shentao”ee2ca982016-09-18 15:38:21 +080021 <artifactId>openo-portal</artifactId>
22 <version>1.0.0-SNAPSHOT</version>
23 </parent>
24
25 <modelVersion>4.0.0</modelVersion>
26 <artifactId>portal-package</artifactId>
27 <packaging>war</packaging>
28
29 <dependencies>
30 <dependency>
“shentao”3a7ed642016-09-27 22:01:08 +080031 <groupId>org.openo.gso.gui</groupId>
“shentao”ee2ca982016-09-18 15:38:21 +080032 <artifactId>portal-common</artifactId>
33 <version>1.0.0-SNAPSHOT</version>
34 <type>war</type>
35 </dependency>
huangjianb3245af2016-09-27 10:45:31 +080036 <dependency>
“shentao”3a7ed642016-09-27 22:01:08 +080037 <groupId>org.openo.gso.gui</groupId>
“shentao”1f46ffc2016-09-27 21:26:27 +080038 <artifactId>portal-resmgr</artifactId>
39 <version>1.0.0-SNAPSHOT</version>
40 <type>war</type>
41 </dependency>
42 <dependency>
“shentao”3a7ed642016-09-27 22:01:08 +080043 <groupId>org.openo.gso.gui</groupId>
huangjianb3245af2016-09-27 10:45:31 +080044 <artifactId>portal-extsys</artifactId>
45 <version>1.0.0-SNAPSHOT</version>
46 <type>war</type>
47 </dependency>
48 <dependency>
“shentao”3a7ed642016-09-27 22:01:08 +080049 <groupId>org.openo.gso.gui</groupId>
huangjianb3245af2016-09-27 10:45:31 +080050 <artifactId>portal-catalog</artifactId>
51 <version>1.0.0-SNAPSHOT</version>
52 <type>war</type>
53 </dependency>
“shentao”1f46ffc2016-09-27 21:26:27 +080054 <dependency>
“shentao”3a7ed642016-09-27 22:01:08 +080055 <groupId>org.openo.gso.gui</groupId>
“shentao”1f46ffc2016-09-27 21:26:27 +080056 <artifactId>portal-auth</artifactId>
57 <version>1.0.0-SNAPSHOT</version>
58 <type>war</type>
59 </dependency>
60 <dependency>
“shentao”3a7ed642016-09-27 22:01:08 +080061 <groupId>org.openo.gso.gui</groupId>
“shentao”1f46ffc2016-09-27 21:26:27 +080062 <artifactId>portal-lifecyclemgr</artifactId>
63 <version>1.0.0-SNAPSHOT</version>
64 <type>war</type>
65 </dependency>
“shentao”ee2ca982016-09-18 15:38:21 +080066 </dependencies>
67
68 <build>
“shentao”1f46ffc2016-09-27 21:26:27 +080069 <finalName>openo-portal</finalName>
“shentao”ee2ca982016-09-18 15:38:21 +080070 <plugins>
71 <plugin>
72 <groupId>org.apache.maven.plugins</groupId>
73 <artifactId>maven-war-plugin</artifactId>
74 <configuration>
75 <packagingExcludes>WEB-INF/web.xml</packagingExcludes>
76 <overlays>
77 <overlay>
“shentao”3a7ed642016-09-27 22:01:08 +080078 <groupId>org.openo.gso.gui</groupId>
“shentao”ee2ca982016-09-18 15:38:21 +080079 <artifactId>portal-common</artifactId>
80 </overlay>
huangjianb3245af2016-09-27 10:45:31 +080081 <overlay>
“shentao”3a7ed642016-09-27 22:01:08 +080082 <groupId>org.openo.gso.gui</groupId>
“shentao”1f46ffc2016-09-27 21:26:27 +080083 <artifactId>portal-resmgr</artifactId>
84 </overlay>
85 <overlay>
“shentao”3a7ed642016-09-27 22:01:08 +080086 <groupId>org.openo.gso.gui</groupId>
huangjianb3245af2016-09-27 10:45:31 +080087 <artifactId>portal-extsys</artifactId>
88 </overlay>
89 <overlay>
“shentao”3a7ed642016-09-27 22:01:08 +080090 <groupId>org.openo.gso.gui</groupId>
huangjianb3245af2016-09-27 10:45:31 +080091 <artifactId>portal-catalog</artifactId>
92 </overlay>
“shentao”1f46ffc2016-09-27 21:26:27 +080093 <overlay>
“shentao”3a7ed642016-09-27 22:01:08 +080094 <groupId>org.openo.gso.gui</groupId>
“shentao”1f46ffc2016-09-27 21:26:27 +080095 <artifactId>portal-auth</artifactId>
96 </overlay>
97 <overlay>
“shentao”3a7ed642016-09-27 22:01:08 +080098 <groupId>org.openo.gso.gui</groupId>
“shentao”1f46ffc2016-09-27 21:26:27 +080099 <artifactId>portal-lifecyclemgr</artifactId>
100 </overlay>
“shentao”ee2ca982016-09-18 15:38:21 +0800101 </overlays>
102 </configuration>
103 </plugin>
“shentao”0dd54be2016-09-29 18:41:52 +0800104 <plugin>
105 <groupId>org.apache.maven.plugins</groupId>
106 <artifactId>maven-antrun-plugin</artifactId>
107 <executions>
108 <execution>
109 <id>zip</id>
110 <phase>package</phase>
111 <goals>
112 <goal>run</goal>
113 </goals>
114 <configuration>
115 <tasks name="${project.artifactId}">
116 <zip destfile="target/openo-portal-${project.version}.zip" update="true">
117 <zipfileset dir="target" includes="*.war"/>
118 </zip>
119 </tasks>
120 </configuration>
121 </execution>
122 </executions>
123 </plugin>
“shentao”ee2ca982016-09-18 15:38:21 +0800124 </plugins>
125 </build>
126</project>