Compilation fix
[vnfsdk/refrepo.git] / vnfmarket-be / vnf-sdk-marketplace / pom.xml
1 <?xml version="1.0"?>
2 <!--
3   Copyright 2017 Huawei 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/xsd/maven-4.0.0.xsd">
18     <parent>
19         <groupId>org.openo.vnf-sdk.marketplace</groupId>
20         <artifactId>vnf-sdk-marketplace-core-parent</artifactId>
21         <version>1.0.0-SNAPSHOT</version>
22     </parent>
23
24     <modelVersion>4.0.0</modelVersion>
25     <artifactId>vnf-sdk-marketplace</artifactId>
26     <name>vnf-sdk-marketplace/vnf-sdk-marketplace</name>
27     <packaging>war</packaging>
28     
29     <properties>
30         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
31         <cxf.version>3.1.6</cxf.version>
32         <!-- slf4j.version>1.6.1</slf4j.version> -->
33          <maven.test.skip>false</maven.test.skip>
34          <maven.test.failure.ignore>false</maven.test.failure.ignore>
35     </properties>
36         
37         <repositories>
38             <repository>
39                 <id>open-o</id>
40                 <name>OPEN-O repository</name>
41                 <url>https://nexus.open-o.org/content/repositories/public/</url>
42             </repository>
43         </repositories>
44         
45     <dependencies>
46         <dependency>
47             <groupId>org.apache.cxf</groupId>
48             <artifactId>cxf-rt-frontend-jaxrs</artifactId>
49             <version>${cxf.version}</version>
50         </dependency>
51         <dependency>
52             <groupId>org.apache.cxf</groupId>
53             <artifactId>cxf-rt-rs-client</artifactId>
54             <version>${cxf.version}</version>
55         </dependency>
56         <dependency>
57             <groupId>org.apache.cxf</groupId>
58             <artifactId>cxf-rt-transports-http-hc</artifactId>
59             <version>${cxf.version}</version>
60         </dependency>
61         <dependency>
62             <groupId>log4j</groupId>
63             <artifactId>log4j</artifactId>
64             <version>1.2.16</version>
65         </dependency>
66         <dependency>
67             <groupId>org.openo.common-services.common-utilities</groupId>
68             <artifactId>commonlib-cbb</artifactId>
69             <version>2.0.0</version>
70         </dependency>
71         <dependency>
72             <groupId>io.dropwizard</groupId>
73             <artifactId>dropwizard-core</artifactId>
74             <version>0.8.0</version>
75         </dependency>
76         <dependency>
77             <groupId>io.dropwizard</groupId>
78             <artifactId>dropwizard-assets</artifactId>
79             <version>0.8.0</version>
80         </dependency>
81         <dependency>
82             <groupId>io.dropwizard</groupId>
83             <artifactId>dropwizard-hibernate</artifactId>
84             <version>0.8.0</version>
85         </dependency>
86         <!-- lombok -->
87         <dependency>
88             <groupId>org.projectlombok</groupId>
89             <artifactId>lombok</artifactId> 
90             <version>1.16.4</version>           
91         </dependency>
92         <dependency>
93             <groupId>io.swagger</groupId>
94             <artifactId>swagger-jersey2-jaxrs</artifactId>
95             <version>1.5.3</version>
96         </dependency>
97         <!-- jersey -->
98         <dependency>
99             <groupId>org.glassfish.jersey.core</groupId>
100             <artifactId>jersey-server</artifactId>
101             <version>2.16</version>
102         </dependency>
103         <dependency>
104             <groupId>org.glassfish.jersey.media</groupId>
105             <artifactId>jersey-media-multipart</artifactId>
106             <version>2.16</version>
107         </dependency>
108         <dependency>
109             <groupId>org.glassfish.jersey.containers</groupId>
110             <artifactId>jersey-container-servlet-core</artifactId>
111             <version>2.16</version>
112         </dependency>
113         <dependency>
114             <groupId>org.apache.httpcomponents</groupId>
115             <artifactId>httpmime</artifactId>
116             <version>4.5.2</version>
117         </dependency>
118         <dependency>
119             <groupId>org.openo.common-services.common-utilities</groupId>
120             <artifactId>commonlib-restclient</artifactId>
121             <version>2.0.0</version>
122         </dependency>
123         <!-- consumer -->
124         <dependency>
125             <groupId>com.eclipsesource.jaxrs</groupId>
126             <artifactId>consumer</artifactId>
127             <exclusions>
128                 <exclusion>
129                     <groupId>com.eclipsesource.jaxrs</groupId>
130                     <artifactId>jersey-all</artifactId>
131                 </exclusion>
132             </exclusions>
133             <version>5.0</version>
134         </dependency>
135         <!-- gson -->
136         <dependency>
137             <groupId>com.google.code.gson</groupId>
138             <artifactId>gson</artifactId>
139             <version>2.2.4</version>
140         </dependency>
141         <dependency>
142             <groupId>mysql</groupId>
143             <artifactId>mysql-connector-java</artifactId>
144             <version>5.1.18</version>
145         </dependency>
146          <dependency>
147             <groupId>org.mybatis</groupId>
148             <artifactId>mybatis</artifactId>
149             <version>3.2.7</version>
150         </dependency>
151         <!-- UT -->
152         <dependency>
153             <groupId>junit</groupId>
154             <artifactId>junit</artifactId>
155             <version>4.12</version>
156             <scope>test</scope>
157         </dependency>
158         <dependency>
159             <groupId>org.powermock</groupId>
160             <artifactId>powermock-module-junit4</artifactId>
161             <version>1.4.10</version>
162             <scope>test</scope>
163         </dependency>
164         <dependency>
165             <groupId>org.powermock</groupId>
166             <artifactId>powermock-api-mockito</artifactId>
167             <version>1.4.10</version>
168             <scope>test</scope>
169         </dependency>
170         <dependency>
171             <groupId>org.jmockit</groupId>
172             <artifactId>jmockit</artifactId>
173             <version>1.19</version>
174             <scope>test</scope>
175         </dependency>
176         <dependency>
177             <groupId>org.jmockit</groupId>
178             <artifactId>jmockit-coverage</artifactId>
179             <version>1.19</version>
180             <scope>test</scope>
181         </dependency>
182         <dependency>
183             <groupId>org.apache.ant</groupId>
184             <artifactId>ant</artifactId>
185             <version>1.8.2</version>
186             <scope>test</scope>
187         </dependency>
188         <!-- UT end -->
189     </dependencies>
190     <profiles>
191         <profile>
192             <id>all-tests</id>
193             <properties>
194                 <build.profile.id>all-tests</build.profile.id>
195                 <skip.unit.tests>false</skip.unit.tests>
196             </properties>
197         </profile>
198     </profiles>
199     <build>
200         <finalName>ROOT</finalName>
201         <plugins>
202             <!-- Used for unit tests -->
203             <plugin>
204                 <groupId>org.apache.maven.plugins</groupId>
205                 <artifactId>maven-surefire-plugin</artifactId>
206                 <version>2.19.1</version>
207                 <configuration>
208                     <forkMode>always</forkMode>
209                     <argLine>${surefireArgLine}</argLine>
210                     <skip>${maven.test.skip}</skip>
211                     <testFailureIgnore>${maven.test.failure.ignore}</testFailureIgnore>
212                     <!-- Excludes integration tests when unit tests are run. -->
213                     <excludes>
214                         <exclude>**/IT*.java</exclude>
215                     </excludes>
216                 </configuration>
217             </plugin>
218         </plugins>
219     </build>
220 </project>