Update vulnerable dependency - javax.servlet:javax.servlet-api
[sdc.git] / common-be / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0"
2     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4     <modelVersion>4.0.0</modelVersion>
5
6     <groupId>org.openecomp.sdc.be</groupId>
7     <artifactId>common-be</artifactId>
8
9     <parent>
10         <groupId>org.openecomp.sdc</groupId>
11         <artifactId>sdc-main</artifactId>
12         <version>1.12.3-SNAPSHOT</version>
13     </parent>
14
15     <dependencies>
16         <dependency>
17             <groupId>com.fasterxml.jackson.core</groupId>
18             <artifactId>jackson-core</artifactId>
19             <version>${jackson.version}</version>
20         </dependency>
21         <dependency>
22             <groupId>com.fasterxml.jackson.core</groupId>
23             <artifactId>jackson-annotations</artifactId>
24             <version>${jackson-annotations.version}</version>
25         </dependency>
26         <dependency>
27             <groupId>io.minio</groupId>
28             <artifactId>minio</artifactId>
29             <version>${minio.version}</version>
30             <exclusions>
31                 <exclusion>
32                     <groupId>com.squareup.okhttp3</groupId>
33                     <artifactId>okhttp</artifactId>
34                 </exclusion>
35             </exclusions>
36         </dependency>
37         <dependency>
38             <groupId>com.squareup.okhttp3</groupId>
39             <artifactId>okhttp</artifactId>
40             <version>${okhttp.version}</version>
41         </dependency>
42
43         <!-- Common of SD&C -->
44         <dependency>
45             <groupId>org.eclipse.jetty</groupId>
46             <artifactId>jetty-server</artifactId>
47             <version>${jetty.version}</version>
48             <scope>compile</scope>
49             <exclusions>
50                 <exclusion>
51                     <groupId>org.eclipse.jetty</groupId>
52                     <artifactId>jetty-http</artifactId>
53                 </exclusion>
54                 <exclusion>
55                     <groupId>javax.servlet</groupId>
56                     <artifactId>javax.servlet-api</artifactId>
57                 </exclusion>
58             </exclusions>
59         </dependency>
60         <dependency>
61             <groupId>org.eclipse.jetty</groupId>
62             <artifactId>jetty-servlet</artifactId>
63             <version>${jetty.version}</version>
64             <scope>compile</scope>
65             <exclusions>
66                 <exclusion>
67                     <groupId>org.eclipse.jetty</groupId>
68                     <artifactId>jetty-security</artifactId>
69                 </exclusion>
70             </exclusions>
71         </dependency>
72         <dependency>
73             <groupId>org.openecomp.sdc</groupId>
74             <artifactId>common-app-api</artifactId>
75             <version>${project.version}</version>
76             <exclusions>
77                 <exclusion>
78                     <groupId>com.fasterxml.jackson.core</groupId>
79                     <artifactId>jackson-core</artifactId>
80                 </exclusion>
81                 <exclusion>
82                     <groupId>commons-codec</groupId>
83                     <artifactId>commons-codec</artifactId>
84                 </exclusion>
85                 <exclusion>
86                     <groupId>org.apache.httpcomponents</groupId>
87                     <artifactId>httpcore</artifactId>
88                 </exclusion>
89                 <exclusion>
90                     <groupId>org.functionaljava</groupId>
91                     <artifactId>functionaljava</artifactId>
92                 </exclusion>
93             </exclusions>
94         </dependency>
95
96         <dependency>
97             <groupId>org.apache.commons</groupId>
98             <artifactId>commons-lang3</artifactId>
99             <version>${lang3.version}</version>
100             <scope>provided</scope>
101         </dependency>
102
103         <dependency>
104             <groupId>ch.qos.logback</groupId>
105             <artifactId>logback-classic</artifactId>
106             <version>${logback.version}</version>
107             <scope>provided</scope>
108         </dependency>
109
110         <dependency>
111             <groupId>com.google.guava</groupId>
112             <artifactId>guava</artifactId>
113             <version>${guava.version}</version>
114             <scope>provided</scope>
115         </dependency>
116         <dependency>
117             <groupId>org.functionaljava</groupId>
118             <artifactId>functionaljava</artifactId>
119             <version>${functionaljava.version}</version>
120             <scope>provided</scope>
121         </dependency>
122
123         <dependency>
124             <groupId>com.fasterxml.jackson.core</groupId>
125             <artifactId>jackson-databind</artifactId>
126             <version>${jackson.version}</version>
127             <scope>provided</scope>
128             <exclusions>
129                 <exclusion>
130                     <groupId>com.fasterxml.jackson.core</groupId>
131                     <artifactId>jackson-core</artifactId>
132                 </exclusion>
133             </exclusions>
134         </dependency>
135
136         <dependency>
137             <groupId>org.bouncycastle</groupId>
138             <artifactId>bcpkix-jdk15on</artifactId>
139             <version>${bouncycastle.version}</version>
140             <scope>compile</scope>
141         </dependency>
142
143         <dependency>
144             <groupId>org.hamcrest</groupId>
145             <artifactId>hamcrest</artifactId>
146             <version>${hamcrest.version}</version>
147             <scope>test</scope>
148         </dependency>
149         <dependency>
150             <groupId>org.hamcrest</groupId>
151             <artifactId>hamcrest-library</artifactId>
152             <version>${hamcrest.version}</version>
153             <scope>test</scope>
154         </dependency>
155         <dependency>
156             <groupId>org.junit.jupiter</groupId>
157             <artifactId>junit-jupiter</artifactId>
158             <version>${junitJupiter.version}</version>
159             <scope>test</scope>
160         </dependency>
161         <dependency>
162             <groupId>org.mockito</groupId>
163             <artifactId>mockito-junit-jupiter</artifactId>
164             <version>${mockitoJupiter.version}</version>
165             <scope>test</scope>
166         </dependency>
167         <dependency>
168             <groupId>org.onap.sdc.common</groupId>
169             <artifactId>onap-tosca-datatype</artifactId>
170             <version>${tosca.datatype.version}</version>
171             <exclusions>
172                 <exclusion>
173                     <groupId>com.fasterxml.jackson.core</groupId>
174                     <artifactId>jackson-core</artifactId>
175                 </exclusion>
176             </exclusions>
177         </dependency>
178         <dependency>
179             <groupId>org.projectlombok</groupId>
180             <artifactId>lombok</artifactId>
181             <version>${lombok.version}</version>
182         </dependency>
183         <dependency>
184             <groupId>com.google.code.bean-matchers</groupId>
185             <artifactId>bean-matchers</artifactId>
186             <version>${bean-matchers.version}</version>
187             <scope>test</scope>
188         </dependency>
189
190         <!-- Togglz core module (mandatory) -->
191         <dependency>
192             <groupId>org.togglz</groupId>
193             <artifactId>togglz-core</artifactId>
194             <version>${togglz.version}</version>
195         </dependency>
196
197         <!-- Togglz for Servlet environments (mandatory for webapps) -->
198         <dependency>
199             <groupId>org.togglz</groupId>
200             <artifactId>togglz-servlet</artifactId>
201             <version>${togglz.version}</version>
202         </dependency>
203
204         <!-- Togglz Admin Console -->
205         <dependency>
206             <groupId>org.togglz</groupId>
207             <artifactId>togglz-console</artifactId>
208             <version>${togglz.version}</version>
209         </dependency>
210
211         <!-- Togglz for testing -->
212         <dependency>
213             <groupId>org.togglz</groupId>
214             <artifactId>togglz-testing</artifactId>
215             <version>${togglz.version}</version>
216             <scope>test</scope>
217         </dependency>
218         <dependency>
219             <groupId>org.springframework</groupId>
220             <artifactId>spring-context</artifactId>
221             <version>${spring.version}</version>
222             <scope>compile</scope>
223             <exclusions>
224                 <exclusion>
225                     <groupId>org.springframework</groupId>
226                     <artifactId>spring-expression</artifactId>
227                 </exclusion>
228                 <exclusion>
229                     <groupId>org.springframework</groupId>
230                     <artifactId>spring-core</artifactId>
231                 </exclusion>
232             </exclusions>
233         </dependency>
234         <dependency>
235             <groupId>org.springframework</groupId>
236             <artifactId>spring-core</artifactId>
237             <version>${spring.version}</version>
238         </dependency>
239         <dependency>
240             <groupId>org.apache.cxf</groupId>
241             <artifactId>cxf-rt-frontend-jaxrs</artifactId>
242             <version>${cxf.version}</version>
243             <exclusions>
244                 <exclusion>
245                     <groupId>org.jboss.spec.javax.rmi</groupId>
246                     <artifactId>jboss-rmi-api_1.0_spec</artifactId>
247                 </exclusion>
248             </exclusions>
249         </dependency>
250         <dependency>
251             <groupId>org.openecomp.sdc.core</groupId>
252             <artifactId>openecomp-common-lib</artifactId>
253             <version>${project.version}</version>
254         </dependency>
255         <dependency>
256             <groupId>org.openecomp.sdc.be</groupId>
257             <artifactId>common-be-tests-utils</artifactId>
258             <version>${project.version}</version>
259             <scope>test</scope>
260             <exclusions>
261                 <exclusion>
262                     <groupId>org.eclipse.jetty</groupId>
263                     <artifactId>jetty-server</artifactId>
264                 </exclusion>
265                 <exclusion>
266                     <groupId>org.eclipse.jetty</groupId>
267                     <artifactId>jetty-servlet</artifactId>
268                 </exclusion>
269             </exclusions>
270         </dependency>
271     </dependencies>
272
273     <build>
274         <plugins>
275             <plugin>
276                 <groupId>org.apache.maven.plugins</groupId>
277                 <artifactId>maven-jar-plugin</artifactId>
278                 <executions>
279                     <execution>
280                         <id>default-jar</id>
281                         <phase>package</phase>
282                         <goals>
283                             <goal>jar</goal>
284                         </goals>
285                     </execution>
286                 </executions>
287             </plugin>
288             <plugin>
289                 <groupId>com.github.sylvainlaurent.maven</groupId>
290                 <artifactId>yaml-json-validator-maven-plugin</artifactId>
291                 <executions>
292                     <execution>
293                         <id>validate</id>
294                         <phase>validate</phase>
295                         <goals>
296                             <goal>validate</goal>
297                         </goals>
298                         <configuration>
299                             <validationSets>
300                                 <validationSet>
301                                     <includes>
302                                         <include>src/main/resources/**/*.y*ml</include>
303                                         <include>src/test/resources/**/*.y*ml</include>
304                                     </includes>
305                                 </validationSet>
306                                 <validationSet>
307                                     <includes>
308                                         <include>src/main/resources/**/*.json</include>
309                                         <include>src/test/resources/**/*.json</include>
310                                     </includes>
311                                 </validationSet>
312                             </validationSets>
313                             <skip>${skipYamlJsonValidator}</skip>
314                         </configuration>
315                     </execution>
316                 </executions>
317             </plugin>
318         </plugins>
319     </build>
320
321 </project>