blob: c11927cc7568de4ea747b7f598d636dd7ddd483d [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>
j003022805db45212016-10-13 10:31:59 +080022 <version>1.1.0-SNAPSHOT</version>
“shentao”ee2ca982016-09-18 15:38:21 +080023 </parent>
24
25 <modelVersion>4.0.0</modelVersion>
26 <artifactId>portal-package</artifactId>
27 <packaging>war</packaging>
28
“shentao”0443c852016-09-30 20:34:10 +080029 <properties>
30 <packagename>openo-portal</packagename>
31 </properties>
32
“shentao”ee2ca982016-09-18 15:38:21 +080033 <dependencies>
34 <dependency>
“shentao”3a7ed642016-09-27 22:01:08 +080035 <groupId>org.openo.gso.gui</groupId>
“shentao”ee2ca982016-09-18 15:38:21 +080036 <artifactId>portal-common</artifactId>
j003022805db45212016-10-13 10:31:59 +080037 <version>1.1.0-SNAPSHOT</version>
“shentao”ee2ca982016-09-18 15:38:21 +080038 <type>war</type>
39 </dependency>
huangjianb3245af2016-09-27 10:45:31 +080040 <dependency>
“shentao”3a7ed642016-09-27 22:01:08 +080041 <groupId>org.openo.gso.gui</groupId>
“shentao”1f46ffc2016-09-27 21:26:27 +080042 <artifactId>portal-resmgr</artifactId>
j003022805db45212016-10-13 10:31:59 +080043 <version>1.1.0-SNAPSHOT</version>
“shentao”1f46ffc2016-09-27 21:26:27 +080044 <type>war</type>
45 </dependency>
46 <dependency>
“shentao”3a7ed642016-09-27 22:01:08 +080047 <groupId>org.openo.gso.gui</groupId>
huangjianb3245af2016-09-27 10:45:31 +080048 <artifactId>portal-extsys</artifactId>
j003022805db45212016-10-13 10:31:59 +080049 <version>1.1.0-SNAPSHOT</version>
huangjianb3245af2016-09-27 10:45:31 +080050 <type>war</type>
51 </dependency>
52 <dependency>
“shentao”3a7ed642016-09-27 22:01:08 +080053 <groupId>org.openo.gso.gui</groupId>
huangjianb3245af2016-09-27 10:45:31 +080054 <artifactId>portal-catalog</artifactId>
j003022805db45212016-10-13 10:31:59 +080055 <version>1.1.0-SNAPSHOT</version>
huangjianb3245af2016-09-27 10:45:31 +080056 <type>war</type>
57 </dependency>
“shentao”1f46ffc2016-09-27 21:26:27 +080058 <dependency>
“shentao”3a7ed642016-09-27 22:01:08 +080059 <groupId>org.openo.gso.gui</groupId>
“shentao”1f46ffc2016-09-27 21:26:27 +080060 <artifactId>portal-auth</artifactId>
j003022805db45212016-10-13 10:31:59 +080061 <version>1.1.0-SNAPSHOT</version>
“shentao”1f46ffc2016-09-27 21:26:27 +080062 <type>war</type>
63 </dependency>
64 <dependency>
“shentao”3a7ed642016-09-27 22:01:08 +080065 <groupId>org.openo.gso.gui</groupId>
“shentao”1f46ffc2016-09-27 21:26:27 +080066 <artifactId>portal-lifecyclemgr</artifactId>
j003022805db45212016-10-13 10:31:59 +080067 <version>1.1.0-SNAPSHOT</version>
“shentao”1f46ffc2016-09-27 21:26:27 +080068 <type>war</type>
69 </dependency>
“shentao”33796332016-10-21 15:05:13 +080070 <dependency>
71 <groupId>org.openo.gso.gui</groupId>
72 <artifactId>portal-performance</artifactId>
73 <version>1.1.0-SNAPSHOT</version>
74 <type>war</type>
75 </dependency>
“shentao”ee2ca982016-09-18 15:38:21 +080076 </dependencies>
77
78 <build>
“shentao”1f46ffc2016-09-27 21:26:27 +080079 <finalName>openo-portal</finalName>
“shentao”ee2ca982016-09-18 15:38:21 +080080 <plugins>
81 <plugin>
82 <groupId>org.apache.maven.plugins</groupId>
83 <artifactId>maven-war-plugin</artifactId>
84 <configuration>
85 <packagingExcludes>WEB-INF/web.xml</packagingExcludes>
86 <overlays>
87 <overlay>
“shentao”3a7ed642016-09-27 22:01:08 +080088 <groupId>org.openo.gso.gui</groupId>
“shentao”ee2ca982016-09-18 15:38:21 +080089 <artifactId>portal-common</artifactId>
90 </overlay>
huangjianb3245af2016-09-27 10:45:31 +080091 <overlay>
“shentao”3a7ed642016-09-27 22:01:08 +080092 <groupId>org.openo.gso.gui</groupId>
“shentao”1f46ffc2016-09-27 21:26:27 +080093 <artifactId>portal-resmgr</artifactId>
94 </overlay>
95 <overlay>
“shentao”3a7ed642016-09-27 22:01:08 +080096 <groupId>org.openo.gso.gui</groupId>
huangjianb3245af2016-09-27 10:45:31 +080097 <artifactId>portal-extsys</artifactId>
98 </overlay>
99 <overlay>
“shentao”3a7ed642016-09-27 22:01:08 +0800100 <groupId>org.openo.gso.gui</groupId>
huangjianb3245af2016-09-27 10:45:31 +0800101 <artifactId>portal-catalog</artifactId>
102 </overlay>
“shentao”1f46ffc2016-09-27 21:26:27 +0800103 <overlay>
“shentao”3a7ed642016-09-27 22:01:08 +0800104 <groupId>org.openo.gso.gui</groupId>
“shentao”1f46ffc2016-09-27 21:26:27 +0800105 <artifactId>portal-auth</artifactId>
106 </overlay>
107 <overlay>
“shentao”3a7ed642016-09-27 22:01:08 +0800108 <groupId>org.openo.gso.gui</groupId>
“shentao”1f46ffc2016-09-27 21:26:27 +0800109 <artifactId>portal-lifecyclemgr</artifactId>
110 </overlay>
“shentao”33796332016-10-21 15:05:13 +0800111 <overlay>
112 <groupId>org.openo.gso.gui</groupId>
113 <artifactId>portal-performance</artifactId>
114 </overlay>
“shentao”ee2ca982016-09-18 15:38:21 +0800115 </overlays>
116 </configuration>
117 </plugin>
“shentao”0dd54be2016-09-29 18:41:52 +0800118 <plugin>
119 <groupId>org.apache.maven.plugins</groupId>
120 <artifactId>maven-antrun-plugin</artifactId>
121 <executions>
122 <execution>
123 <id>zip</id>
124 <phase>package</phase>
125 <goals>
126 <goal>run</goal>
127 </goals>
128 <configuration>
129 <tasks name="${project.artifactId}">
“shentao”0443c852016-09-30 20:34:10 +0800130 <zip destfile="target/${packagename}-${project.version}.zip" update="true">
“shentao”0dd54be2016-09-29 18:41:52 +0800131 <zipfileset dir="target" includes="*.war"/>
132 </zip>
133 </tasks>
134 </configuration>
135 </execution>
136 </executions>
137 </plugin>
“shentao”0443c852016-09-30 20:34:10 +0800138 <plugin>
139 <groupId>org.codehaus.mojo</groupId>
140 <artifactId>build-helper-maven-plugin</artifactId>
141 <executions>
142 <execution>
143 <id>attach-artifacts</id>
144 <phase>package</phase>
145 <goals>
146 <goal>attach-artifact</goal>
147 </goals>
148 <configuration>
149 <artifacts>
150 <artifact>
151 <file>target/${packagename}-${project.version}.zip</file>
152 <type>zip</type>
153 </artifact>
154 </artifacts>
155 </configuration>
156 </execution>
157 </executions>
158 </plugin>
“shentao”ee2ca982016-09-18 15:38:21 +0800159 </plugins>
160 </build>
161</project>