blob: 351877995210ad30c257163f14ca46428021682b [file] [log] [blame]
Michael Lando451a3402017-02-19 10:28:42 +02001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3
4 <modelVersion>4.0.0</modelVersion>
5 <artifactId>catalog-fe</artifactId>
6 <packaging>war</packaging>
7
8
9
10 <parent>
11 <groupId>org.openecomp.sdc</groupId>
12 <artifactId>sdc-main</artifactId>
Michael Landoebd7c8f2017-03-15 20:38:00 +020013 <version>1.1.0-SNAPSHOT</version>
Michael Lando451a3402017-02-19 10:28:42 +020014 </parent>
15
16
17
18 <dependencies>
Michael Lando2e0ef972017-02-28 01:44:21 +020019
Michael Landoc0ac0152017-02-27 23:48:43 +020020 <dependency>
Michael Landoc34b77c2017-02-28 19:03:11 +020021 <groupId>junit</groupId>
22 <artifactId>junit</artifactId>
23 <version>4.12</version>
24 <scope>test</scope>
25 </dependency>
26
27 <dependency>
28 <groupId>org.testng</groupId>
29 <artifactId>testng</artifactId>
30 <version>6.9.10</version>
31 <scope>test</scope>
32 </dependency>
33
34 <dependency>
Michael Landoc0ac0152017-02-27 23:48:43 +020035 <groupId>org.springframework</groupId>
36 <artifactId>spring-core</artifactId>
37 <version>${spring.version}</version>
38 <scope>provided</scope>
39 </dependency>
40
41 <dependency>
42 <groupId>org.springframework</groupId>
43 <artifactId>spring-beans</artifactId>
44 <version>${spring.version}</version>
45 <scope>provided</scope>
46 </dependency>
47
48 <dependency>
49 <groupId>org.springframework</groupId>
50 <artifactId>spring-context</artifactId>
51 <version>${spring.version}</version>
52 <scope>provided</scope>
53 </dependency>
54
55 <dependency>
56 <groupId>org.springframework</groupId>
57 <artifactId>spring-context-support</artifactId>
58 <version>${spring.version}</version>
59 <scope>provided</scope>
60 </dependency>
61
62 <dependency>
63 <groupId>org.springframework</groupId>
64 <artifactId>spring-messaging</artifactId>
65 <version>${spring.version}</version>
66 <scope>provided</scope>
67 </dependency>
68
69 <dependency>
70 <groupId>org.springframework</groupId>
71 <artifactId>spring-web</artifactId>
72 <version>${spring.version}</version>
73 <scope>provided</scope>
74 </dependency>
75
76 <dependency>
77 <groupId>org.springframework</groupId>
78 <artifactId>spring-webmvc</artifactId>
79 <version>${spring.version}</version>
80 <scope>provided</scope>
81 </dependency>
82
83 <dependency>
84 <groupId>org.springframework</groupId>
85 <artifactId>spring-aop</artifactId>
86 <version>${spring.version}</version>
87 <scope>provided</scope>
88 </dependency>
89
90 <dependency>
91 <groupId>org.springframework</groupId>
92 <artifactId>spring-aspects</artifactId>
93 <version>${spring.version}</version>
94 <scope>provided</scope>
95 </dependency>
96
97 <dependency>
98 <groupId>org.springframework</groupId>
99 <artifactId>spring-expression</artifactId>
100 <version>${spring.version}</version>
101 <scope>test</scope>
102 </dependency>
103
104
Michael Lando451a3402017-02-19 10:28:42 +0200105 <dependency>
106 <groupId>org.functionaljava</groupId>
107 <artifactId>functionaljava</artifactId>
108 <scope>compile</scope>
109 </dependency>
110
111 <dependency>
112 <groupId>org.openecomp.sdc</groupId>
113 <artifactId>security-utils</artifactId>
114 <version>${security-utils.version}</version>
115 <scope>compile</scope> </dependency>
116
117 <dependency>
118 <groupId>org.openecomp.sdc</groupId>
119 <artifactId>common-app-api</artifactId>
120 <version>${common-app-api.version}</version>
121 </dependency>
122
123 <!-- File changes listener -->
124 <dependency>
125 <groupId>org.slf4j</groupId>
126 <artifactId>slf4j-api</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200127 <version>1.7.10</version>
Michael Lando451a3402017-02-19 10:28:42 +0200128 <scope>compile</scope>
129 </dependency>
130
131 <dependency>
132 <groupId>ch.qos.logback</groupId>
133 <artifactId>logback-classic</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200134 <version>${logback.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200135 <scope>compile</scope>
136 </dependency>
137
138 <dependency>
139 <groupId>ch.qos.logback</groupId>
140 <artifactId>logback-core</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200141 <version>${logback.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200142 <scope>compile</scope>
143 </dependency>
144
145 <dependency>
146 <groupId>org.codehaus.groovy</groupId>
147 <artifactId>groovy-all</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200148 <version>${groovy.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200149 <scope>compile</scope>
150 </dependency>
151
152 <dependency>
153 <groupId>org.codehaus.janino</groupId>
154 <artifactId>janino</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200155 <version>${janino.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200156 <scope>compile</scope>
157 </dependency>
158
159 <dependency>
160 <groupId>org.yaml</groupId>
161 <artifactId>snakeyaml</artifactId>
Michael Lando0de99c22017-02-28 10:54:57 +0200162 <version>1.14</version>
Michael Lando451a3402017-02-19 10:28:42 +0200163 <scope>compile</scope>
164 </dependency>
165
166 <dependency>
167 <groupId>org.apache.commons</groupId>
168 <artifactId>commons-jci-core</artifactId>
169 <scope>compile</scope>
170 </dependency>
171
172 <dependency>
173 <groupId>com.google.code.gson</groupId>
174 <artifactId>gson</artifactId>
Michael Lando9744a932017-02-28 08:22:59 +0200175 <version>2.3.1</version>
Michael Lando451a3402017-02-19 10:28:42 +0200176 <scope>compile</scope>
177 </dependency>
178
179 <dependency>
180 <groupId>org.glassfish.jersey.containers</groupId>
181 <artifactId>jersey-container-servlet</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200182 <version>2.24</version>
Michael Lando451a3402017-02-19 10:28:42 +0200183 <scope>compile</scope>
184 </dependency>
185
186 <dependency>
187 <groupId>org.glassfish.jersey.media</groupId>
188 <artifactId>jersey-media-multipart</artifactId>
189 <scope>compile</scope>
190 </dependency>
191
192 <dependency>
193 <groupId>org.glassfish.jersey.media</groupId>
194 <artifactId>jersey-media-moxy</artifactId>
195 <scope>compile</scope>
196 </dependency>
197
198 <dependency>
199 <groupId>javax.mail</groupId>
200 <artifactId>javax.mail-api</artifactId>
201 <version>1.5.2</version>
202 <scope>compile</scope>
203 </dependency>
204
205 <dependency>
206 <groupId>org.glassfish.jersey.media</groupId>
207 <artifactId>jersey-media-json-jackson</artifactId>
208 <scope>compile</scope>
209 </dependency>
210
211 <dependency>
212 <groupId>com.fasterxml.jackson.core</groupId>
213 <artifactId>jackson-core</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200214 <version>${jackson.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200215 <scope>compile</scope>
216 </dependency>
217
218 <dependency>
219 <groupId>com.fasterxml.jackson.core</groupId>
220 <artifactId>jackson-databind</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200221 <version>${jackson.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200222 <scope>compile</scope>
223 </dependency>
224
225 <dependency>
226 <groupId>com.fasterxml.jackson.core</groupId>
227 <artifactId>jackson-annotations</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200228 <version>${jackson.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200229 <scope>compile</scope>
230 </dependency>
231
232 <!-- http client -->
233 <dependency>
234 <groupId>org.apache.httpcomponents</groupId>
235 <artifactId>httpclient</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200236 <version>${httpclient.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200237 <scope>compile</scope>
238 </dependency>
239
240 <dependency>
241 <groupId>org.apache.httpcomponents</groupId>
242 <artifactId>httpcore</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200243 <version>${httpcore.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200244 <scope>compile</scope>
245 </dependency>
246
247 <dependency>
248 <groupId>org.apache.httpcomponents</groupId>
249 <artifactId>httpmime</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200250 <!--<version>4.3.2</version>-->
251 <version>${httpclient.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200252 <scope>compile</scope>
253 </dependency>
254
255 <dependency>
256 <groupId>commons-logging</groupId>
257 <artifactId>commons-logging</artifactId>
Michael Lando2e0ef972017-02-28 01:44:21 +0200258 <version>1.2.1-SNAPSHOT</version>
Michael Lando451a3402017-02-19 10:28:42 +0200259 <scope>compile</scope>
260 </dependency>
261
262 <dependency>
263 <groupId>commons-codec</groupId>
264 <artifactId>commons-codec</artifactId>
Michael Lando2e0ef972017-02-28 01:44:21 +0200265 <version>2.0-SNAPSHOT</version>
Michael Lando451a3402017-02-19 10:28:42 +0200266 <scope>compile</scope>
267 </dependency>
268 <!-- http client END -->
269
270 <dependency>
271 <groupId>javax.servlet</groupId>
272 <artifactId>servlet-api</artifactId>
273 <scope>provided</scope>
274 </dependency>
275
276 <!-- JSON and YAML Parsing -->
277 <dependency>
278 <groupId>com.fasterxml.jackson.dataformat</groupId>
279 <artifactId>jackson-dataformat-yaml</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200280 <version>${jackson.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200281 <scope>compile</scope>
282 </dependency>
283
284 <!-- Jetty Proxy -->
285 <dependency>
286 <groupId>org.eclipse.jetty</groupId>
287 <artifactId>jetty-proxy</artifactId>
288 <version>${jetty.version}</version>
289 <scope>compile</scope>
290 </dependency>
291
292 <dependency>
293 <groupId>org.eclipse.jetty</groupId>
294 <artifactId>jetty-servlets</artifactId>
295 <version>${jetty.servlets.version}</version>
296 <scope>compile</scope>
297 </dependency>
298
299 <!-- Proxy servlet -->
300 <dependency>
301 <groupId>com.google.guava</groupId>
302 <artifactId>guava</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200303 <version>${guava.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200304 <scope>compile</scope>
305 </dependency>
306
307 <!-- Aspects -->
308 <dependency>
309 <groupId>com.jcabi</groupId>
310 <artifactId>jcabi-aspects</artifactId>
311 <scope>compile</scope>
312 </dependency>
313 <dependency>
314 <groupId>org.aspectj</groupId>
315 <artifactId>aspectjrt</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200316 <version>${aspectjrt.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200317 <scope>compile</scope>
318 </dependency>
319 <dependency>
320 <groupId>org.apache.commons</groupId>
321 <artifactId>commons-lang3</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200322 <version>${lang3.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200323 <scope>compile</scope>
324 </dependency>
325
326 <!-- Inserted for ECOMP Portal Integration -->
327 <dependency>
328 <groupId>org.openecomp.ecompsdkos</groupId>
329 <artifactId>ecompFW</artifactId>
Michael Landoebd7c8f2017-03-15 20:38:00 +0200330 <version>${ecomp.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200331 <scope>compile</scope>
332 <exclusions>
333 <exclusion>
334 <groupId>com.att.nsa</groupId>
335 <artifactId>cambriaClient</artifactId>
336 </exclusion>
337 <exclusion>
338 <artifactId>slf4j-log4j12</artifactId>
339 <groupId>org.slf4j</groupId>
340 </exclusion>
341 </exclusions>
342 </dependency>
343
344 <!-- TEST -->
345 <dependency>
346 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
347 <artifactId>jersey-test-framework-provider-bundle</artifactId>
348 <type>pom</type>
349 <scope>test</scope>
350 </dependency>
351
352 <dependency>
353 <groupId>org.eclipse.jetty</groupId>
354 <artifactId>jetty-servlet</artifactId>
355 <scope>test</scope>
356 </dependency>
357
358 <dependency>
359 <groupId>org.eclipse.jetty</groupId>
360 <artifactId>jetty-webapp</artifactId>
361 <scope>test</scope>
362 </dependency>
363
364 <dependency>
365 <groupId>org.mockito</groupId>
366 <artifactId>mockito-all</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200367 <version>1.10.19</version>
368 <scope>test</scope>
Michael Lando451a3402017-02-19 10:28:42 +0200369 </dependency>
370
371 <dependency>
372 <groupId>org.springframework</groupId>
373 <artifactId>spring-test</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200374 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200375 <scope>test</scope>
376 </dependency>
377 </dependencies>
378
379
380
381
382
383 <build>
384
385 <finalName>${project.artifactId}-${project.version}</finalName>
386
387 <plugins>
388
389 <plugin>
390 <groupId>org.apache.maven.plugins</groupId>
391 <artifactId>maven-war-plugin</artifactId>
392 <version>2.6</version>
393 <configuration>
394 <archive>
395 <manifest>
396 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
397 </manifest>
398 </archive>
399
400 <webResources>
401 <resource>
402 <directory>src/main/resources</directory>
403 </resource>
404 </webResources>
405 </configuration>
406 </plugin>
407
408
409
410 <plugin>
411 <groupId>org.apache.maven.plugins</groupId>
412 <artifactId>maven-dependency-plugin</artifactId>
413 <executions>
414 <execution>
415 <id>copy-dependencies</id>
416 <phase>package</phase>
417 <goals>
418 <goal>copy-dependencies</goal>
419 </goals>
420 <configuration>
421 <includeScope>compile</includeScope>
422 </configuration>
423 </execution>
424 <execution>
425 <id>copy-installed</id>
426 <phase>install</phase>
427 <goals>
428 <goal>copy</goal>
429 </goals>
430 <configuration>
431 <artifactItems>
432 <artifactItem>
433 <groupId>${project.groupId}</groupId>
434 <artifactId>${project.artifactId}</artifactId>
435 <version>${project.version}</version>
436 <type>${project.packaging}</type>
437 </artifactItem>
438 </artifactItems>
439 <outputDirectory>${project.parent.basedir}/sdc-os-chef/sdc-frontend/</outputDirectory>
440 </configuration>
441 </execution>
442
443 </executions>
444 </plugin>
445
446
447
448 <plugin>
449 <groupId>org.eclipse.jetty</groupId>
450 <artifactId>jetty-maven-plugin</artifactId>
451 <version>9.0.6.v20130930</version>
452 <configuration>
453 <contextPath>/</contextPath>
454 <webApp>
455 <contextPath>/</contextPath>
456 <webInfIncludeJarPattern>.*/.*jersey-[^/]\.jar$</webInfIncludeJarPattern>
457 </webApp>
458 <war>${project.build.directory}/${project.build.finalName}.war</war>
459 </configuration>
460 </plugin>
461
462 <plugin>
463 <groupId>org.apache.maven.plugins</groupId>
464 <artifactId>maven-deploy-plugin</artifactId>
465 <version>2.7</version>
466 </plugin>
467
468 <plugin>
469 <groupId>com.jcabi</groupId>
470 <artifactId>jcabi-maven-plugin</artifactId>
471 <version>${jcabi.plugin.version}</version>
472 <executions>
473 <execution>
474 <goals>
475 <goal>ajc</goal>
476 </goals>
477 </execution>
478 </executions>
479 </plugin>
480 <!-- ============================================= -->
481 <!-- Create the TAR file -->
482 <!-- ============================================= -->
483 <plugin>
484 <groupId>org.apache.maven.plugins</groupId>
485 <artifactId>maven-assembly-plugin</artifactId>
486 <version>2.6</version>
487 <configuration>
488 <finalName>${project.artifactId}-${full.release.version}${build.type}</finalName>
489 <appendAssemblyId>false</appendAssemblyId>
490 <descriptor>${project.basedir}/tarball.xml</descriptor>
491 </configuration>
492
493 <executions>
494 <execution>
495 <id>assembly-tar-file</id>
496 <phase>package</phase>
497 <goals>
498 <goal>single</goal>
499 </goals>
500 </execution>
501 </executions>
502 </plugin>
503 </plugins>
504
505
506 <pluginManagement>
507 <plugins>
508 <!--This plugin's configuration is used to store Eclipse m2e settings
509 only. It has no influence on the Maven build itself. -->
510 <plugin>
511 <groupId>org.eclipse.m2e</groupId>
512 <artifactId>lifecycle-mapping</artifactId>
513 <version>1.0.0</version>
514 <configuration>
515 <lifecycleMappingMetadata>
516 <pluginExecutions>
517
518 <pluginExecution>
519 <pluginExecutionFilter>
520 <groupId>com.jcabi</groupId>
521 <artifactId>jcabi-maven-plugin</artifactId>
522 <versionRange>[0.0,)</versionRange>
523 <goals>
524 <goal>ajc</goal>
525 </goals>
526 </pluginExecutionFilter>
527 <action>
528 <execute />
529 </action>
530 </pluginExecution>
531
532 </pluginExecutions>
533 </lifecycleMappingMetadata>
534 </configuration>
535 </plugin>
536
537 <!-- jacbi (log injection) -->
538
539 </plugins>
540 </pluginManagement>
541
542 </build>
543
544
545
546
547
548
549</project>