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