Fix security issues
[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.0.0</version>
15         </parent>
16
17         <modelVersion>4.0.0</modelVersion>
18         <artifactId>vnf-sdk-marketplace</artifactId>
19         <version>1.1.0-SNAPSHOT</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.1</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
55                 <dependency>
56                         <groupId>io.dropwizard</groupId>
57                         <artifactId>dropwizard-core</artifactId>
58                         <version>0.9.3</version>
59                         <exclusions>
60                                 <exclusion>
61                                         <groupId>org.slf4j</groupId>
62                                         <artifactId>log4j-over-slf4j</artifactId>
63                                 </exclusion>
64                         </exclusions>
65                 </dependency>
66                 <dependency>
67                         <groupId>io.dropwizard</groupId>
68                         <artifactId>dropwizard-assets</artifactId>
69                         <version>0.9.3</version>
70                 </dependency>
71                 <dependency>
72                         <groupId>io.dropwizard</groupId>
73                         <artifactId>dropwizard-hibernate</artifactId>
74                         <version>0.9.3</version>
75                 </dependency>
76                 <dependency>
77                         <groupId>io.swagger</groupId>
78                         <artifactId>swagger-jersey2-jaxrs</artifactId>
79                         <version>1.5.3</version>
80                 </dependency>
81                 <!-- jersey -->
82                 <dependency>
83                         <groupId>org.glassfish.jersey.core</groupId>
84                         <artifactId>jersey-server</artifactId>
85                         <version>2.16</version>
86                 </dependency>
87                 <dependency>
88                         <groupId>org.glassfish.jersey.media</groupId>
89                         <artifactId>jersey-media-multipart</artifactId>
90                         <version>2.16</version>
91                 </dependency>
92                 <dependency>
93                         <groupId>org.glassfish.jersey.containers</groupId>
94                         <artifactId>jersey-container-servlet-core</artifactId>
95                         <version>2.16</version>
96                 </dependency>
97                 <dependency>
98                         <groupId>org.apache.httpcomponents</groupId>
99                         <artifactId>httpmime</artifactId>
100                         <version>4.5.3</version>
101                 </dependency>
102                 <!-- consumer -->
103                 <dependency>
104                         <groupId>com.eclipsesource.jaxrs</groupId>
105                         <artifactId>consumer</artifactId>
106                         <exclusions>
107                                 <exclusion>
108                                         <groupId>com.eclipsesource.jaxrs</groupId>
109                                         <artifactId>jersey-all</artifactId>
110                                 </exclusion>
111                         </exclusions>
112                         <version>5.0</version>
113                 </dependency>
114                 <!-- gson -->
115                 <dependency>
116                         <groupId>com.google.code.gson</groupId>
117                         <artifactId>gson</artifactId>
118                         <version>2.2.4</version>
119                 </dependency>
120                 <dependency>
121                         <groupId>org.postgresql</groupId>
122                         <artifactId>postgresql</artifactId>
123                         <version>42.1.1</version>
124                 </dependency>
125                 <dependency>
126                         <groupId>org.mybatis</groupId>
127                         <artifactId>mybatis</artifactId>
128                         <version>3.2.7</version>
129                 </dependency>
130                 <!-- UT -->
131                 <dependency>
132                         <groupId>junit</groupId>
133                         <artifactId>junit</artifactId>
134                         <version>4.12</version>
135                         <scope>test</scope>
136                 </dependency>
137                 <dependency>
138                         <groupId>org.powermock</groupId>
139                         <artifactId>powermock-module-junit4</artifactId>
140                         <version>1.4.10</version>
141                         <scope>test</scope>
142                 </dependency>
143                 <dependency>
144                         <groupId>org.powermock</groupId>
145                         <artifactId>powermock-api-mockito</artifactId>
146                         <version>1.4.10</version>
147                         <scope>test</scope>
148                 </dependency>
149                 <dependency>
150                         <groupId>org.jmockit</groupId>
151                         <artifactId>jmockit</artifactId>
152                         <version>1.19</version>
153                         <scope>test</scope>
154                 </dependency>
155                 <dependency>
156                         <groupId>org.jmockit</groupId>
157                         <artifactId>jmockit-coverage</artifactId>
158                         <version>1.19</version>
159                         <scope>test</scope>
160                 </dependency>
161                 <dependency>
162                         <groupId>org.apache.ant</groupId>
163                         <artifactId>ant</artifactId>
164                         <version>1.8.2</version>
165                         <scope>test</scope>
166                 </dependency>
167                 <dependency>
168                         <groupId>com.fasterxml.jackson.core</groupId>
169                         <artifactId>jackson-databind</artifactId>
170                         <version>2.9.4</version>
171                 </dependency>
172                 <dependency>
173                         <groupId>org.codehaus.jackson</groupId>
174                         <artifactId>jackson-jaxrs</artifactId>
175                         <version>1.9.13</version>
176                 </dependency>
177                 <dependency>
178                         <groupId>org.codehaus.jackson</groupId>
179                         <artifactId>jackson-mapper-asl</artifactId>
180                         <version>1.9.13</version>
181                 </dependency>
182                 
183                 <dependency>
184                         <groupId>org.apache.commons</groupId>
185                         <artifactId>commons-io</artifactId>
186                         <version>1.3.2</version>
187                 </dependency>
188                 <dependency>
189                         <groupId>commons-io</groupId>
190                         <artifactId>commons-io</artifactId>
191                         <version>2.4</version>
192                 </dependency>
193                 <!-- UT end -->
194                 <dependency>
195                         <groupId>org.onap.vnfsdk.validation</groupId>
196                         <artifactId>validation-csar</artifactId>
197                         <version>1.0.0-SNAPSHOT</version>
198                 </dependency>
199         </dependencies>
200         <profiles>
201                 <profile>
202                         <id>all-tests</id>
203                         <properties>
204                                 <build.profile.id>all-tests</build.profile.id>
205                                 <skip.unit.tests>false</skip.unit.tests>
206                         </properties>
207                 </profile>
208         </profiles>
209         <build>
210                 <finalName>ROOT</finalName>
211                 <plugins>
212                         <!-- Used for unit tests -->
213                         <plugin>
214                                 <groupId>org.apache.maven.plugins</groupId>
215                                 <artifactId>maven-surefire-plugin</artifactId>
216                                 <version>2.20</version>
217                                 <configuration>
218                                         <forkMode>always</forkMode>
219                                         <argLine>${surefireArgLine}</argLine>
220                                         <skip>${maven.test.skip}</skip>
221                                         <testFailureIgnore>${maven.test.failure.ignore}</testFailureIgnore>
222                                         <!-- Excludes integration tests when unit tests are run. -->
223                                         <excludes>
224                                                 <exclude>**/IT*.java</exclude>
225                                         </excludes>
226                                 </configuration>
227                         </plugin>
228                 </plugins>
229         </build>
230 </project>