Jersey jar mismatch error
[vnfsdk/refrepo.git] / vnfmarket-be / vnf-sdk-marketplace / pom.xml
1 <?xml version="1.0"?>
2 <!-- Copyright 2017 Huawei Technologies Co., Ltd. Licensed under the Apache 
3         License, Version 2.0 (the "License"); you may not use this file except in 
4         compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 
5         Unless required by applicable law or agreed to in writing, software distributed 
6         under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES 
7         OR CONDITIONS OF ANY KIND, either express or implied. See the License for 
8         the specific language governing permissions and limitations under the License. -->
9 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
11         <parent>
12                 <groupId>org.onap.vnfsdk.refrepo</groupId>
13                 <artifactId>vnf-sdk-marketplace-core-parent</artifactId>
14                 <version>1.1.0</version>
15         </parent>
16
17         <modelVersion>4.0.0</modelVersion>
18         <artifactId>vnf-sdk-marketplace</artifactId>
19         <version>1.1.0</version>
20         <name>vnf-sdk-marketplace/vnf-sdk-marketplace</name>
21         <packaging>war</packaging>
22
23         <properties>
24                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
25                 <cxf.version>3.2.3</cxf.version>
26                 <!-- slf4j.version>1.6.1</slf4j.version> -->
27                 <maven.test.skip>false</maven.test.skip>
28                 <maven.test.failure.ignore>false</maven.test.failure.ignore>
29         </properties>
30
31
32
33         <dependencies>
34                 <dependency>
35                         <groupId>org.apache.cxf</groupId>
36                         <artifactId>cxf-rt-frontend-jaxrs</artifactId>
37                         <version>${cxf.version}</version>
38                 </dependency>
39                 <dependency>
40                         <groupId>org.apache.cxf</groupId>
41                         <artifactId>cxf-rt-rs-client</artifactId>
42                         <version>${cxf.version}</version>
43                 </dependency>
44                 <dependency>
45                         <groupId>org.apache.cxf</groupId>
46                         <artifactId>cxf-rt-transports-http-hc</artifactId>
47                         <version>${cxf.version}</version>
48                 </dependency>
49                 <dependency>
50                         <groupId>log4j</groupId>
51                         <artifactId>log4j</artifactId>
52                         <version>1.2.16</version>
53                 </dependency>
54                 <dependency>
55                         <groupId>io.dropwizard</groupId>
56                         <artifactId>dropwizard-assets</artifactId>
57                         <version>1.2.4</version>
58                 </dependency>
59                 <dependency>
60                         <groupId>org.eclipse.persistence</groupId>
61                         <artifactId>javax.persistence</artifactId>
62                         <version>2.1.0</version>
63                 </dependency>
64
65                 <dependency>
66                         <groupId>io.swagger</groupId>
67                         <artifactId>swagger-jersey2-jaxrs</artifactId>
68                         <version>1.5.18</version>
69                 </dependency>
70                 <!-- jersey -->
71
72                 <dependency>
73                         <groupId>org.glassfish.jersey.media</groupId>
74                         <artifactId>jersey-media-multipart</artifactId>
75                         <version>2.25.1</version>
76                 </dependency>
77                 <dependency>
78                         <groupId>org.glassfish.jersey.containers</groupId>
79                         <artifactId>jersey-container-jetty-servlet</artifactId>
80                         <version>2.25.1</version>               
81                 </dependency>
82                 <dependency>
83                         <groupId>org.apache.httpcomponents</groupId>
84                         <artifactId>httpmime</artifactId>
85                         <version>4.5.3</version>
86                 </dependency>
87                 <!-- consumer -->
88                 <dependency>
89                         <groupId>com.eclipsesource.jaxrs</groupId>
90                         <artifactId>consumer</artifactId>
91                         <exclusions>
92                                 <exclusion>
93                                         <groupId>com.eclipsesource.jaxrs</groupId>
94                                         <artifactId>jersey-all</artifactId>
95                                 </exclusion>
96                         </exclusions>
97                         <version>5.0</version>
98                 </dependency>
99                 <!-- gson -->
100                 <dependency>
101                         <groupId>com.google.code.gson</groupId>
102                         <artifactId>gson</artifactId>
103                         <version>2.3.1</version>
104                 </dependency>
105                 <dependency>
106                         <groupId>org.postgresql</groupId>
107                         <artifactId>postgresql</artifactId>
108                         <version>42.1.1</version>
109                 </dependency>
110                 <dependency>
111                         <groupId>org.mybatis</groupId>
112                         <artifactId>mybatis</artifactId>
113                         <version>3.2.7</version>
114                 </dependency>
115                 <!-- UT -->
116                 <dependency>
117                         <groupId>junit</groupId>
118                         <artifactId>junit</artifactId>
119                         <version>4.12</version>
120                         <scope>test</scope>
121                 </dependency>
122                 <dependency>
123                         <groupId>org.powermock</groupId>
124                         <artifactId>powermock-module-junit4</artifactId>
125                         <version>1.4.10</version>
126                         <scope>test</scope>
127                 </dependency>
128                 <dependency>
129                         <groupId>org.powermock</groupId>
130                         <artifactId>powermock-api-mockito</artifactId>
131                         <version>1.4.10</version>
132                         <scope>test</scope>
133                 </dependency>
134                 <dependency>
135                         <groupId>org.jmockit</groupId>
136                         <artifactId>jmockit</artifactId>
137                         <version>1.19</version>
138                         <scope>test</scope>
139                 </dependency>
140                 <dependency>
141                         <groupId>org.jmockit</groupId>
142                         <artifactId>jmockit-coverage</artifactId>
143                         <version>1.19</version>
144                         <scope>test</scope>
145                 </dependency>
146                 <dependency>
147                         <groupId>org.apache.ant</groupId>
148                         <artifactId>ant</artifactId>
149                         <version>1.8.2</version>
150                         <scope>test</scope>
151                 </dependency>
152
153
154                 <dependency>
155                         <groupId>org.apache.commons</groupId>
156                         <artifactId>commons-io</artifactId>
157                         <version>1.3.2</version>
158                 </dependency>
159                 <dependency>
160                         <groupId>commons-io</groupId>
161                         <artifactId>commons-io</artifactId>
162                         <version>2.4</version>
163                 </dependency>
164                 <dependency>
165            <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
166            <artifactId>jersey-guava</artifactId>
167            <version>2.6</version>
168         </dependency>
169                 <!-- UT end -->
170                 <dependency>
171                         <groupId>org.onap.vnfsdk.validation</groupId>
172                         <artifactId>validation-csar</artifactId>
173                         <version>1.1.1</version>
174                 </dependency>
175         </dependencies>
176         <profiles>
177                 <profile>
178                         <id>all-tests</id>
179                         <properties>
180                                 <build.profile.id>all-tests</build.profile.id>
181                                 <skip.unit.tests>false</skip.unit.tests>
182                         </properties>
183                 </profile>
184         </profiles>
185         <build>
186                 <finalName>ROOT</finalName>
187                 <plugins>
188                         <!-- Used for unit tests -->
189                         <plugin>
190                                 <groupId>org.apache.maven.plugins</groupId>
191                                 <artifactId>maven-surefire-plugin</artifactId>
192                                 <version>2.20</version>
193                                 <configuration>
194                                         <forkMode>always</forkMode>
195                                         <argLine>${surefireArgLine}</argLine>
196                                         <skip>${maven.test.skip}</skip>
197                                         <testFailureIgnore>${maven.test.failure.ignore}</testFailureIgnore>
198                                         <!-- Excludes integration tests when unit tests are run. -->
199                                         <excludes>
200                                                 <exclude>**/IT*.java</exclude>
201                                         </excludes>
202                                 </configuration>
203                         </plugin>
204                 </plugins>
205         </build>
206 </project>