blob: e93b04a5a3cd85edeab586a0145b0acbfb39bf8c [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
“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>
37 <version>1.0.0-SNAPSHOT</version>
38 <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>
43 <version>1.0.0-SNAPSHOT</version>
44 <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>
49 <version>1.0.0-SNAPSHOT</version>
50 <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>
55 <version>1.0.0-SNAPSHOT</version>
56 <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>
61 <version>1.0.0-SNAPSHOT</version>
62 <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>
67 <version>1.0.0-SNAPSHOT</version>
68 <type>war</type>
69 </dependency>
“shentao”ee2ca982016-09-18 15:38:21 +080070 </dependencies>
71
72 <build>
“shentao”1f46ffc2016-09-27 21:26:27 +080073 <finalName>openo-portal</finalName>
“shentao”ee2ca982016-09-18 15:38:21 +080074 <plugins>
75 <plugin>
76 <groupId>org.apache.maven.plugins</groupId>
77 <artifactId>maven-war-plugin</artifactId>
78 <configuration>
79 <packagingExcludes>WEB-INF/web.xml</packagingExcludes>
80 <overlays>
81 <overlay>
“shentao”3a7ed642016-09-27 22:01:08 +080082 <groupId>org.openo.gso.gui</groupId>
“shentao”ee2ca982016-09-18 15:38:21 +080083 <artifactId>portal-common</artifactId>
84 </overlay>
huangjianb3245af2016-09-27 10:45:31 +080085 <overlay>
“shentao”3a7ed642016-09-27 22:01:08 +080086 <groupId>org.openo.gso.gui</groupId>
“shentao”1f46ffc2016-09-27 21:26:27 +080087 <artifactId>portal-resmgr</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-extsys</artifactId>
92 </overlay>
93 <overlay>
“shentao”3a7ed642016-09-27 22:01:08 +080094 <groupId>org.openo.gso.gui</groupId>
huangjianb3245af2016-09-27 10:45:31 +080095 <artifactId>portal-catalog</artifactId>
96 </overlay>
“shentao”1f46ffc2016-09-27 21:26:27 +080097 <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-auth</artifactId>
100 </overlay>
101 <overlay>
“shentao”3a7ed642016-09-27 22:01:08 +0800102 <groupId>org.openo.gso.gui</groupId>
“shentao”1f46ffc2016-09-27 21:26:27 +0800103 <artifactId>portal-lifecyclemgr</artifactId>
104 </overlay>
“shentao”ee2ca982016-09-18 15:38:21 +0800105 </overlays>
106 </configuration>
107 </plugin>
“shentao”0dd54be2016-09-29 18:41:52 +0800108 <plugin>
109 <groupId>org.apache.maven.plugins</groupId>
110 <artifactId>maven-antrun-plugin</artifactId>
111 <executions>
112 <execution>
113 <id>zip</id>
114 <phase>package</phase>
115 <goals>
116 <goal>run</goal>
117 </goals>
118 <configuration>
119 <tasks name="${project.artifactId}">
“shentao”0443c852016-09-30 20:34:10 +0800120 <zip destfile="target/${packagename}-${project.version}.zip" update="true">
“shentao”0dd54be2016-09-29 18:41:52 +0800121 <zipfileset dir="target" includes="*.war"/>
122 </zip>
123 </tasks>
124 </configuration>
125 </execution>
126 </executions>
127 </plugin>
“shentao”0443c852016-09-30 20:34:10 +0800128 <plugin>
129 <groupId>org.codehaus.mojo</groupId>
130 <artifactId>build-helper-maven-plugin</artifactId>
131 <executions>
132 <execution>
133 <id>attach-artifacts</id>
134 <phase>package</phase>
135 <goals>
136 <goal>attach-artifact</goal>
137 </goals>
138 <configuration>
139 <artifacts>
140 <artifact>
141 <file>target/${packagename}-${project.version}.zip</file>
142 <type>zip</type>
143 </artifact>
144 </artifacts>
145 </configuration>
146 </execution>
147 </executions>
148 </plugin>
“shentao”ee2ca982016-09-18 15:38:21 +0800149 </plugins>
150 </build>
151</project>