CLIENT GUI Framework
[vnfsdk/refrepo.git] / portal-package / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3     Copyright 2016-2017, CMCC Technologies Co., Ltd.
4
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.
16 -->
17 <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">
18   <parent>
19     <groupId>org.openo.gso.gui</groupId>
20     <artifactId>openo-portal</artifactId>
21     <version>1.1.0-SNAPSHOT</version>
22   </parent>
23
24   <modelVersion>4.0.0</modelVersion>
25   <artifactId>portal-package</artifactId>
26   <packaging>war</packaging>
27
28   <properties>
29     <packagename>openoui</packagename>
30     <version.logback>1.1.2</version.logback>
31     <version.slf4j>1.7.6</version.slf4j>
32   </properties>
33
34   <dependencies>
35     <dependency>
36       <groupId>ch.qos.logback</groupId>
37       <artifactId>logback-core</artifactId>
38       <version>${version.logback}</version>
39     </dependency>
40     <dependency>
41       <groupId>ch.qos.logback</groupId>
42       <artifactId>logback-classic</artifactId>
43       <version>${version.logback}</version>
44     </dependency>
45     <dependency>
46       <groupId>ch.qos.logback</groupId>
47       <artifactId>logback-access</artifactId>
48       <version>${version.logback}</version>
49     </dependency>
50     <dependency>
51       <groupId>org.slf4j</groupId>
52       <artifactId>slf4j-api</artifactId>
53       <version>${version.slf4j}</version>
54     </dependency>
55     <dependency>
56       <groupId>javax.servlet</groupId>
57       <artifactId>servlet-api</artifactId>
58       <scope>provided</scope>
59       <version>2.5</version>
60     </dependency>
61     <dependency>
62       <groupId>org.openo.gso.gui</groupId>
63       <artifactId>portal-common</artifactId>
64       <version>1.1.0-SNAPSHOT</version>
65       <type>war</type>
66     </dependency>
67     <dependency>
68       <groupId>org.openo.gso.gui</groupId>
69       <artifactId>portal-resmgr</artifactId>
70       <version>1.1.0-SNAPSHOT</version>
71       <type>war</type>
72     </dependency>
73     <dependency>
74       <groupId>org.openo.gso.gui</groupId>
75       <artifactId>portal-extsys</artifactId>
76       <version>1.1.0-SNAPSHOT</version>
77       <type>war</type>
78     </dependency>
79     <dependency>
80       <groupId>org.openo.gso.gui</groupId>
81       <artifactId>portal-catalog</artifactId>
82       <version>1.1.0-SNAPSHOT</version>
83       <type>war</type>
84     </dependency>
85     <dependency>
86       <groupId>org.openo.gso.gui</groupId>
87       <artifactId>portal-auth</artifactId>
88       <version>1.1.0-SNAPSHOT</version>
89       <type>war</type>
90     </dependency>
91     <dependency>
92       <groupId>org.openo.gso.gui</groupId>
93       <artifactId>portal-lifecyclemgr</artifactId>
94       <version>1.1.0-SNAPSHOT</version>
95       <type>war</type>
96     </dependency>
97     <dependency>
98       <groupId>org.openo.gso.gui</groupId>
99       <artifactId>portal-performance</artifactId>
100       <version>1.1.0-SNAPSHOT</version>
101       <type>war</type>
102     </dependency>
103     <dependency>
104       <groupId>org.openo.gso.gui</groupId>
105       <artifactId>portal-monitor</artifactId>
106       <version>1.1.0-SNAPSHOT</version>
107       <type>war</type>
108     </dependency>
109     <dependency>
110       <groupId>dom4j</groupId>
111       <artifactId>dom4j</artifactId>
112       <version>1.6.1</version>
113     </dependency>
114     <dependency>
115       <groupId>net.sf.json-lib</groupId>
116       <artifactId>json-lib</artifactId>
117       <version>2.1</version>
118       <classifier>jdk15</classifier>
119       </dependency>
120       <dependency>
121         <groupId>commons-httpclient</groupId>
122         <artifactId>commons-httpclient</artifactId>
123         <version>3.1</version>
124     </dependency>
125     <dependency>
126       <groupId>org.apache.httpcomponents</groupId>
127       <artifactId>httpclient</artifactId>
128         <version>4.3.5</version>
129     </dependency>
130   </dependencies>
131
132   <build>
133     <finalName>openoui</finalName>
134     <plugins>
135       <plugin>
136         <groupId>org.apache.maven.plugins</groupId>
137         <artifactId>maven-war-plugin</artifactId>
138         <configuration>
139           <packagingExcludes>WEB-INF/web.xml</packagingExcludes>
140           <overlays>
141             <overlay>
142               <groupId>org.openo.gso.gui</groupId>
143               <artifactId>portal-common</artifactId>
144             </overlay>
145             <overlay>
146               <groupId>org.openo.gso.gui</groupId>
147               <artifactId>portal-resmgr</artifactId>
148             </overlay>
149             <overlay>
150               <groupId>org.openo.gso.gui</groupId>
151               <artifactId>portal-extsys</artifactId>
152             </overlay>
153             <overlay>
154               <groupId>org.openo.gso.gui</groupId>
155               <artifactId>portal-catalog</artifactId>
156             </overlay>
157             <overlay>
158               <groupId>org.openo.gso.gui</groupId>
159               <artifactId>portal-auth</artifactId>
160             </overlay>
161             <overlay>
162               <groupId>org.openo.gso.gui</groupId>
163               <artifactId>portal-lifecyclemgr</artifactId>
164             </overlay>
165             <overlay>
166               <groupId>org.openo.gso.gui</groupId>
167               <artifactId>portal-performance</artifactId>
168             </overlay>
169             <overlay>
170               <groupId>org.openo.gso.gui</groupId>
171               <artifactId>portal-monitor</artifactId>
172             </overlay>
173           </overlays>
174         </configuration>
175       </plugin>
176       <plugin>
177         <groupId>org.apache.maven.plugins</groupId>
178         <artifactId>maven-antrun-plugin</artifactId>
179         <executions>
180           <execution>
181             <id>zip</id>
182             <phase>package</phase>
183             <goals>
184               <goal>run</goal>
185             </goals>
186             <configuration>
187               <tasks name="${project.artifactId}">
188                 <zip destfile="target/${packagename}-${project.version}.zip" update="true">
189                   <zipfileset dir="target/openoui" includes="**"/>
190                 </zip>
191               </tasks>
192             </configuration>
193           </execution>
194         </executions>
195       </plugin>
196       <plugin>
197         <groupId>org.codehaus.mojo</groupId>
198         <artifactId>build-helper-maven-plugin</artifactId>
199         <executions>
200           <execution>
201             <id>attach-artifacts</id>
202             <phase>package</phase>
203             <goals>
204               <goal>attach-artifact</goal>
205             </goals>
206             <configuration>
207               <artifacts>
208                 <artifact>
209                   <file>target/${packagename}-${project.version}.zip</file>
210                   <type>zip</type>
211                 </artifact>
212               </artifacts>
213             </configuration>
214           </execution>
215         </executions>
216       </plugin>
217     </plugins>
218   </build>
219 <name>gso-gui/openo-portal/portal-package</name></project>