7712990fd9fe6534b9c4c7302ce694819d246076
[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.1.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     <dependencies>
37         <dependency>
38             <groupId>org.apache.cxf</groupId>
39             <artifactId>cxf-rt-frontend-jaxrs</artifactId>
40             <version>${cxf.version}</version>
41         </dependency>
42         <dependency>
43             <groupId>org.apache.cxf</groupId>
44             <artifactId>cxf-rt-rs-client</artifactId>
45             <version>${cxf.version}</version>
46         </dependency>
47         <dependency>
48             <groupId>org.apache.cxf</groupId>
49             <artifactId>cxf-rt-transports-http-hc</artifactId>
50             <version>${cxf.version}</version>
51         </dependency>
52         <dependency>
53             <groupId>log4j</groupId>
54             <artifactId>log4j</artifactId>
55             <version>1.2.16</version>
56         </dependency>
57         <dependency>
58             <groupId>org.openo.common-services.common-utilities</groupId>
59             <artifactId>commonlib-cbb</artifactId>
60             <version>1.1.0-SNAPSHOT</version>
61         </dependency>
62         <dependency>
63             <groupId>io.dropwizard</groupId>
64             <artifactId>dropwizard-core</artifactId>
65             <version>0.8.0</version>
66         </dependency>
67         <dependency>
68             <groupId>io.dropwizard</groupId>
69             <artifactId>dropwizard-assets</artifactId>
70             <version>0.8.0</version>
71         </dependency>
72         <dependency>
73             <groupId>io.dropwizard</groupId>
74             <artifactId>dropwizard-hibernate</artifactId>
75             <version>0.8.0</version>
76         </dependency>
77         <!-- lombok -->
78         <dependency>
79             <groupId>org.projectlombok</groupId>
80             <artifactId>lombok</artifactId> 
81             <version>1.16.4</version>           
82         </dependency>
83         <dependency>
84             <groupId>io.swagger</groupId>
85             <artifactId>swagger-jersey2-jaxrs</artifactId>
86             <version>1.5.3</version>
87         </dependency>
88         <!-- jersey -->
89         <dependency>
90             <groupId>org.glassfish.jersey.core</groupId>
91             <artifactId>jersey-server</artifactId>
92             <version>2.16</version>
93         </dependency>
94         <dependency>
95             <groupId>org.glassfish.jersey.media</groupId>
96             <artifactId>jersey-media-multipart</artifactId>
97             <version>2.16</version>
98         </dependency>
99         <dependency>
100             <groupId>org.glassfish.jersey.containers</groupId>
101             <artifactId>jersey-container-servlet-core</artifactId>
102             <version>2.16</version>
103         </dependency>
104         <dependency>
105             <groupId>org.apache.httpcomponents</groupId>
106             <artifactId>httpmime</artifactId>
107             <version>4.5.2</version>
108         </dependency>
109         <dependency>
110             <groupId>org.openo.common-services.common-utilities</groupId>
111             <artifactId>commonlib-restclient</artifactId>
112             <version>1.1.0-SNAPSHOT</version>
113         </dependency>
114         <!-- consumer -->
115         <dependency>
116             <groupId>com.eclipsesource.jaxrs</groupId>
117             <artifactId>consumer</artifactId>
118             <exclusions>
119                 <exclusion>
120                     <groupId>com.eclipsesource.jaxrs</groupId>
121                     <artifactId>jersey-all</artifactId>
122                 </exclusion>
123             </exclusions>
124             <version>5.0</version>
125         </dependency>
126         <!-- gson -->
127         <dependency>
128             <groupId>com.google.code.gson</groupId>
129             <artifactId>gson</artifactId>
130             <version>2.2.4</version>
131         </dependency>
132         <dependency>
133             <groupId>mysql</groupId>
134             <artifactId>mysql-connector-java</artifactId>
135             <version>5.1.18</version>
136         </dependency>
137          <dependency>
138             <groupId>org.mybatis</groupId>
139             <artifactId>mybatis</artifactId>
140             <version>3.2.7</version>
141         </dependency>
142         <!-- UT -->
143         <dependency>
144             <groupId>junit</groupId>
145             <artifactId>junit</artifactId>
146             <version>4.12</version>
147             <scope>test</scope>
148         </dependency>
149         <dependency>
150             <groupId>org.powermock</groupId>
151             <artifactId>powermock-module-junit4</artifactId>
152             <version>1.4.10</version>
153             <scope>test</scope>
154         </dependency>
155         <dependency>
156             <groupId>org.powermock</groupId>
157             <artifactId>powermock-api-mockito</artifactId>
158             <version>1.4.10</version>
159             <scope>test</scope>
160         </dependency>
161         <dependency>
162             <groupId>org.jmockit</groupId>
163             <artifactId>jmockit</artifactId>
164             <version>1.19</version>
165             <scope>test</scope>
166         </dependency>
167         <dependency>
168             <groupId>org.jmockit</groupId>
169             <artifactId>jmockit-coverage</artifactId>
170             <version>1.19</version>
171             <scope>test</scope>
172         </dependency>
173         <dependency>
174             <groupId>org.apache.ant</groupId>
175             <artifactId>ant</artifactId>
176             <version>1.8.2</version>
177             <scope>test</scope>
178         </dependency>
179         <!-- UT end -->
180     </dependencies>
181     <profiles>
182         <profile>
183             <id>all-tests</id>
184             <properties>
185                 <build.profile.id>all-tests</build.profile.id>
186                 <skip.unit.tests>false</skip.unit.tests>
187             </properties>
188         </profile>
189     </profiles>
190     <build>
191         <finalName>ROOT</finalName>
192         <plugins>
193             <!-- Used for unit tests -->
194             <plugin>
195                 <groupId>org.apache.maven.plugins</groupId>
196                 <artifactId>maven-surefire-plugin</artifactId>
197                 <version>2.19.1</version>
198                 <configuration>
199                     <forkMode>always</forkMode>
200                     <argLine>${surefireArgLine}</argLine>
201                     <skip>${maven.test.skip}</skip>
202                     <testFailureIgnore>${maven.test.failure.ignore}</testFailureIgnore>
203                     <!-- Excludes integration tests when unit tests are run. -->
204                     <excludes>
205                         <exclude>**/IT*.java</exclude>
206                     </excludes>
207                 </configuration>
208             </plugin>
209         </plugins>
210     </build>
211 </project>