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