cddf21c70761ef1233b00bbe4e4574be76c3a5da
[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.4.0-SNAPSHOT</version>
15     </parent>
16
17     <modelVersion>4.0.0</modelVersion>
18     <artifactId>vnf-sdk-marketplace</artifactId>
19     <name>vnf-sdk-marketplace/vnf-sdk-marketplace</name>
20     <packaging>war</packaging>
21
22     <properties>
23         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
24         <cxf.version>3.2.5</cxf.version>
25         <!-- slf4j.version>1.6.1</slf4j.version> -->
26         <maven.test.skip>false</maven.test.skip>
27         <maven.test.failure.ignore>false</maven.test.failure.ignore>
28         <swagger-ui.version>3.12.0</swagger-ui.version>
29     </properties>
30
31
32
33     <dependencies>
34     <!--  oclip -->
35           <dependency>
36             <groupId>org.onap.cli</groupId>
37             <artifactId>oclip-grpc-client</artifactId>
38             <version>4.0.0</version>
39           </dependency>
40         <dependency>
41             <groupId>org.apache.cxf</groupId>
42             <artifactId>cxf-rt-frontend-jaxrs</artifactId>
43             <version>${cxf.version}</version>
44         </dependency>
45         <dependency>
46             <groupId>org.apache.cxf</groupId>
47             <artifactId>cxf-rt-rs-client</artifactId>
48             <version>${cxf.version}</version>
49         </dependency>
50         <dependency>
51             <groupId>org.apache.cxf</groupId>
52             <artifactId>cxf-rt-transports-http-hc</artifactId>
53             <version>${cxf.version}</version>
54         </dependency>
55         <dependency>
56             <groupId>log4j</groupId>
57             <artifactId>log4j</artifactId>
58             <version>1.2.16</version>
59         </dependency>
60
61         <dependency>
62             <groupId>org.eclipse.persistence</groupId>
63             <artifactId>javax.persistence</artifactId>
64             <version>2.1.0</version>
65         </dependency>
66
67         <dependency>
68             <groupId>io.swagger</groupId>
69             <artifactId>swagger-jersey2-jaxrs</artifactId>
70             <version>1.5.19</version>
71         </dependency>
72         <!-- jersey -->
73 <!-- excluded jetty-util and added invulnerable version -->
74         <dependency>
75             <groupId>org.glassfish.jersey.containers</groupId>
76             <artifactId>jersey-container-jetty-servlet</artifactId>
77             <version>2.24.1</version>
78                 <exclusions>
79                 <exclusion>
80                    <groupId>org.eclipse.jetty</groupId>
81                    <artifactId>jetty-util</artifactId>
82                </exclusion>
83             </exclusions>
84         </dependency>
85 <!-- commons-codec excluded due to Security Issues:- Sonatype-2012-0050
86         and added invulnerable commons-codec-1.13  -->
87         <dependency>
88             <groupId>org.apache.httpcomponents</groupId>
89             <artifactId>httpmime</artifactId>
90             <version>4.5.3</version>
91            <exclusions>
92                 <exclusion>
93                     <groupId>commons-codec</groupId>
94                     <artifactId>commons-codec</artifactId>
95                 </exclusion>
96            </exclusions>
97         </dependency>
98         <dependency>
99             <groupId>commons-codec</groupId>
100             <artifactId>commons-codec</artifactId>
101             <version>1.13</version>
102         </dependency>
103         <!-- jetty -->
104 <!-- Updated jetty-util,jetty-http,jetty-servlet and jetty-server
105 due to Security Issues:- CVE-2019-10241,CVE-2019-10247,CVE-2019-10246
106 -->
107         <dependency>
108             <groupId>org.eclipse.jetty</groupId>
109             <artifactId>jetty-http</artifactId>
110             <version>9.4.20.v20190813</version>
111         </dependency>
112         <dependency>
113             <groupId>org.eclipse.jetty</groupId>
114             <artifactId>jetty-servlet</artifactId>
115             <version>9.4.20.v20190813</version>
116         </dependency>
117         <dependency>
118             <groupId>org.eclipse.jetty</groupId>
119             <artifactId>jetty-server</artifactId>
120             <version>9.4.20.v20190813</version>
121         </dependency>
122         <dependency>
123             <groupId>org.eclipse.jetty</groupId>
124             <artifactId>jetty-util</artifactId>
125             <version>9.4.20.v20190813</version>
126         </dependency>
127         <!-- consumer -->
128         <dependency>
129             <groupId>com.eclipsesource.jaxrs</groupId>
130             <artifactId>consumer</artifactId>
131             <exclusions>
132                 <exclusion>
133                     <groupId>com.eclipsesource.jaxrs</groupId>
134                     <artifactId>jersey-all</artifactId>
135                 </exclusion>
136             </exclusions>
137             <version>5.0</version>
138         </dependency>
139         <!-- gson -->
140         <dependency>
141             <groupId>com.google.code.gson</groupId>
142             <artifactId>gson</artifactId>
143             <version>2.8.2</version>
144         </dependency>
145         <dependency>
146             <groupId>org.postgresql</groupId>
147             <artifactId>postgresql</artifactId>
148             <version>42.2.5</version>
149         </dependency>
150         <dependency>
151             <groupId>org.mybatis</groupId>
152             <artifactId>mybatis</artifactId>
153             <version>3.2.7</version>
154         </dependency>
155         <!-- UT -->
156         <dependency>
157             <groupId>junit</groupId>
158             <artifactId>junit</artifactId>
159             <version>4.12</version>
160             <scope>test</scope>
161         </dependency>
162         <dependency>
163             <groupId>org.powermock</groupId>
164             <artifactId>powermock-module-junit4</artifactId>
165             <version>1.4.10</version>
166             <scope>test</scope>
167         </dependency>
168         <dependency>
169             <groupId>org.powermock</groupId>
170             <artifactId>powermock-api-mockito</artifactId>
171             <version>1.4.10</version>
172             <scope>test</scope>
173         </dependency>
174         <dependency>
175             <groupId>org.jmockit</groupId>
176             <artifactId>jmockit</artifactId>
177             <version>1.19</version>
178             <scope>test</scope>
179         </dependency>
180         <dependency>
181             <groupId>org.jmockit</groupId>
182             <artifactId>jmockit-coverage</artifactId>
183             <version>1.19</version>
184             <scope>test</scope>
185         </dependency>
186         <dependency>
187             <groupId>org.apache.ant</groupId>
188             <artifactId>ant</artifactId>
189             <version>1.8.2</version>
190             <scope>test</scope>
191         </dependency>
192
193
194         <dependency>
195             <groupId>org.apache.commons</groupId>
196             <artifactId>commons-io</artifactId>
197             <version>1.3.2</version>
198         </dependency>
199         <dependency>
200             <groupId>commons-io</groupId>
201             <artifactId>commons-io</artifactId>
202             <version>2.4</version>
203         </dependency>
204         <dependency>
205             <groupId>com.google.guava</groupId>
206             <artifactId>guava</artifactId>
207             <version>25.0-jre</version>
208         </dependency>
209
210     </dependencies>
211     <profiles>
212         <profile>
213             <id>all-tests</id>
214             <properties>
215                 <build.profile.id>all-tests</build.profile.id>
216                 <skip.unit.tests>false</skip.unit.tests>
217             </properties>
218         </profile>
219     </profiles>
220     <build>
221         <finalName>ROOT</finalName>
222         <plugins>
223             <!-- Used for unit tests -->
224             <plugin>
225                 <groupId>org.apache.maven.plugins</groupId>
226                 <artifactId>maven-surefire-plugin</artifactId>
227                 <version>2.20</version>
228                 <configuration>
229                     <forkMode>always</forkMode>
230                     <argLine>${surefireArgLine}</argLine>
231                     <skip>${maven.test.skip}</skip>
232                     <testFailureIgnore>${maven.test.failure.ignore}</testFailureIgnore>
233                     <!-- Excludes integration tests when unit tests are run. -->
234                     <excludes>
235                         <exclude>**/IT*.java</exclude>
236                     </excludes>
237                 </configuration>
238             </plugin>
239             <plugin>
240                 <groupId>com.googlecode.maven-download-plugin</groupId>
241                 <artifactId>download-maven-plugin</artifactId>
242                 <version>1.2.1</version>
243                 <executions>
244                     <execution>
245                         <id>swagger-ui</id>
246                         <goals>
247                             <goal>wget</goal>
248                         </goals>
249                         <configuration>
250                             <url>https://github.com/swagger-api/swagger-ui/archive/master.tar.gz</url>
251                             <unpack>true</unpack>
252                             <outputDirectory>${project.build.directory}</outputDirectory>
253                         </configuration>
254                     </execution>
255                 </executions>
256             </plugin>
257         </plugins>
258     </build>
259 </project>