blob: fbab1e36b7a3944fe4f350118ba2cb81dc10f019 [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"
Yuli Shlosbergaf70a202018-09-25 17:16:48 +03002 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02003 <modelVersion>4.0.0</modelVersion>
Michael Lando451a3402017-02-19 10:28:42 +02004
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02005 <artifactId>catalog-be</artifactId>
6 <packaging>war</packaging>
Michael Lando451a3402017-02-19 10:28:42 +02007
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02008 <parent>
9 <groupId>org.openecomp.sdc</groupId>
10 <artifactId>sdc-main</artifactId>
Sonsino, Ofir (os0695)55c536e2019-05-07 18:30:15 +030011 <version>1.5.0-SNAPSHOT</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020012 </parent>
Michael Lando451a3402017-02-19 10:28:42 +020013
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020014 <properties>
Tomasz Golabek7e28cea2019-04-11 14:29:49 +020015 <java-hamcrest.version>2.0.0.0</java-hamcrest.version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020016 </properties>
Michael Lando451a3402017-02-19 10:28:42 +020017
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020018 <dependencies>
19 <!--JSON and YAML Parsing-->
20 <dependency>
21 <groupId>com.fasterxml.jackson.dataformat</groupId>
22 <artifactId>jackson-dataformat-yaml</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +030023 <version>${jackson.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020024 <scope>compile</scope>
25 </dependency>
Michael Landoc34b77c2017-02-28 19:03:11 +020026
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020027 <dependency>
28 <groupId>com.fasterxml.jackson.core</groupId>
29 <artifactId>jackson-databind</artifactId>
30 <version>${jackson.version}</version>
31 <scope>compile</scope>
32 </dependency>
Michael Landoc0ac0152017-02-27 23:48:43 +020033
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020034 <dependency>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020035 <groupId>org.openecomp.sdc</groupId>
36 <artifactId>security-utils</artifactId>
37 <version>${project.version}</version>
38 <scope>compile</scope>
39 </dependency>
shrek20001dd5db92019-02-07 12:57:08 +020040 <dependency>
41 <groupId>org.onap.sdc.common</groupId>
42 <artifactId>onap-tosca-datatype</artifactId>
43 <version>${project.version}</version>
44 <scope>compile</scope>
45 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020046
Tomasz Golabek06e8b702019-03-26 16:36:22 +010047 <dependency>
48 <groupId>org.onap.sdc.common</groupId>
49 <artifactId>onap-generic-artifact-browser-service</artifactId>
50 <version>${project.version}</version>
51 <scope>compile</scope>
52 </dependency>
53
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020054 <!-- Swagger Dependencies Start -->
55 <dependency>
56 <groupId>io.swagger</groupId>
57 <artifactId>swagger-jersey2-jaxrs</artifactId>
58 <scope>compile</scope>
Michael Landocb1b7da2018-05-22 20:43:41 +030059 <version>1.5.15</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020060 </dependency>
61 <!-- Swagger Dependencies End -->
Tal Gitelmaned7e1c32017-06-29 19:30:00 +030062
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020063 <dependency>
64 <groupId>org.openecomp.sdc</groupId>
65 <artifactId>common-app-api</artifactId>
66 <version>${project.version}</version>
67 <scope>compile</scope>
68 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020069
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020070 <dependency>
71 <groupId>org.openecomp.sdc.be</groupId>
72 <artifactId>common-be</artifactId>
73 <version>${project.version}</version>
74 <scope>compile</scope>
75 </dependency>
76 <dependency>
77 <groupId>org.openecomp.sdc.be</groupId>
78 <artifactId>catalog-dao</artifactId>
79 <version>${project.version}</version>
80 <scope>compile</scope>
81 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020082
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020083 <dependency>
84 <groupId>org.openecomp.sdc.be</groupId>
85 <artifactId>catalog-model</artifactId>
86 <version>${project.version}</version>
87 <scope>compile</scope>
88 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020089
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020090 <dependency>
91 <groupId>ch.qos.logback</groupId>
92 <artifactId>logback-classic</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +030093 <version>${logback.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020094 <scope>compile</scope>
95 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020096
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020097 <!-- Snake Yaml -->
98 <dependency>
99 <groupId>org.yaml</groupId>
100 <artifactId>snakeyaml</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300101 <version>${snakeyaml.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200102 <scope>compile</scope>
103 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200104
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200105 <!-- File changes listener -->
106 <dependency>
107 <groupId>org.apache.commons</groupId>
108 <artifactId>commons-jci-core</artifactId>
109 <version>${commons-jci-core.version}</version>
110 <scope>compile</scope>
111 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200112
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200113 <!-- Gson -->
114 <dependency>
115 <groupId>com.google.code.gson</groupId>
116 <artifactId>gson</artifactId>
117 <version>${gson.version}</version>
118 <scope>compile</scope>
119 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200120
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200121 <!-- jersey -->
122 <dependency>
123 <groupId>org.glassfish.jersey.media</groupId>
124 <artifactId>jersey-media-json-jackson</artifactId>
125 <version>${jersey-bom.version}</version>
126 <scope>compile</scope>
127 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200128
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200129 <dependency>
130 <groupId>org.glassfish.jersey.containers</groupId>
131 <artifactId>jersey-container-servlet-core</artifactId>
132 <version>${jersey-bom.version}</version>
133 <scope>compile</scope>
134 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200135
Michael Lando5b593492018-07-29 16:13:45 +0300136 <dependency>
137 <groupId>org.glassfish.jersey.media</groupId>
138 <artifactId>jersey-media-multipart</artifactId>
139 <version>${jersey-bom.version}</version>
140 <scope>compile</scope>
141 </dependency>
Michael Lando5b593492018-07-29 16:13:45 +0300142 <dependency>
143 <groupId>org.glassfish.jersey.ext</groupId>
144 <artifactId>jersey-spring4</artifactId>
145 <version>${jersey-bom.version}</version>
146 <exclusions>
147 <exclusion>
148 <groupId>org.springframework</groupId>
149 <artifactId>spring-web</artifactId>
150 </exclusion>
151 <exclusion>
152 <groupId>org.springframework</groupId>
153 <artifactId>spring-beans</artifactId>
154 </exclusion>
155 <exclusion>
156 <groupId>org.springframework</groupId>
157 <artifactId>spring-core</artifactId>
158 </exclusion>
159 <exclusion>
160 <groupId>org.springframework</groupId>
161 <artifactId>spring-aop</artifactId>
162 </exclusion>
163 <!-- Transitive dependency of spring-bridge -->
164 <exclusion>
165 <groupId>org.springframework</groupId>
166 <artifactId>spring-context</artifactId>
167 </exclusion>
168 </exclusions>
Michael Landoa5445102018-03-04 14:53:33 +0200169
Michael Lando5b593492018-07-29 16:13:45 +0300170 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200171
Michael Lando5b593492018-07-29 16:13:45 +0300172 <!--asm-all-repackaged is a jersey dependency. in current version jersey depends on a version that was compiled using java 9 compiler
173 currently our jetty (v9.3.6) does not support java 9. as soon as jetty gets upgraded we will remove this dependency-->
174 <dependency>
175 <groupId>org.glassfish.hk2.external</groupId>
176 <artifactId>asm-all-repackaged</artifactId>
177 </dependency>
178
179 <dependency>
180 <groupId>org.glassfish.jersey.ext</groupId>
181 <artifactId>jersey-bean-validation</artifactId>
182 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200183
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200184 <!-- http client -->
185 <dependency>
186 <groupId>org.apache.httpcomponents</groupId>
187 <artifactId>httpclient</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300188 <version>${httpclient.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200189 <scope>compile</scope>
190 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200191
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200192 <dependency>
193 <groupId>org.apache.httpcomponents</groupId>
194 <artifactId>httpcore</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300195 <version>${httpcore.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200196 <scope>compile</scope>
197 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200198
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200199 <dependency>
200 <groupId>commons-logging</groupId>
201 <artifactId>commons-logging</artifactId>
202 <version>${commons-logging}</version>
203 <scope>compile</scope>
204 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200205
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200206 <dependency>
207 <groupId>commons-codec</groupId>
208 <artifactId>commons-codec</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300209 <version>${commons-codec}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200210 <scope>compile</scope>
211 </dependency>
212 <!-- http client END -->
Michael Lando451a3402017-02-19 10:28:42 +0200213
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200214 <dependency>
215 <groupId>javax.servlet</groupId>
vempod6d12912018-07-09 14:27:57 +0300216 <artifactId>javax.servlet-api</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300217 <version>${servlet-api.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200218 <scope>provided</scope>
219 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200220
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200221 <dependency>
222 <groupId>org.eclipse.jgit</groupId>
223 <artifactId>org.eclipse.jgit</artifactId>
224 <version>3.4.1.201406201815-r</version>
225 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200226
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200227 <!-- spring - used by A4C -->
228 <dependency>
229 <groupId>org.springframework</groupId>
230 <artifactId>spring-core</artifactId>
231 <version>${spring.version}</version>
232 <scope>compile</scope>
233 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200234
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200235 <dependency>
236 <groupId>org.springframework</groupId>
237 <artifactId>spring-context</artifactId>
238 <version>${spring.version}</version>
239 <scope>compile</scope>
240 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200241
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200242 <dependency>
243 <groupId>org.springframework</groupId>
244 <artifactId>spring-web</artifactId>
245 <version>${spring.version}</version>
246 <scope>compile</scope>
247 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200248
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200249 <dependency>
250 <groupId>org.springframework</groupId>
251 <artifactId>spring-webmvc</artifactId>
252 <version>${spring.version}</version>
253 <scope>compile</scope>
254 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200255
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200256 <dependency>
257 <groupId>org.springframework</groupId>
258 <artifactId>spring-aop</artifactId>
259 <version>${spring.version}</version>
260 <scope>compile</scope>
261 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200262
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200263 <dependency>
264 <groupId>org.springframework</groupId>
265 <artifactId>spring-beans</artifactId>
266 <version>${spring.version}</version>
267 <scope>compile</scope>
268 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200269
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200270 <dependency>
271 <groupId>org.springframework</groupId>
272 <artifactId>spring-expression</artifactId>
273 <version>${spring.version}</version>
274 <scope>compile</scope>
275 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200276
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200277 <dependency>
278 <groupId>org.codehaus.groovy</groupId>
Tal Gitelmana3b79a22018-09-25 17:22:34 +0300279 <artifactId>groovy</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200280 <scope>compile</scope>
281 </dependency>
Michael Landoc34b77c2017-02-28 19:03:11 +0200282
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200283 <dependency>
284 <groupId>org.codehaus.janino</groupId>
285 <artifactId>janino</artifactId>
286 <version>${janino.version}</version>
287 <scope>compile</scope>
288 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200289
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200290 <dependency>
291 <groupId>org.codehaus.janino</groupId>
292 <artifactId>commons-compiler</artifactId>
293 <version>${janino.version}</version>
294 <scope>compile</scope>
295 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200296
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200297 <dependency>
298 <groupId>com.google.guava</groupId>
299 <artifactId>guava</artifactId>
300 <version>${guava.version}</version>
301 <scope>compile</scope>
302 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200303
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200304 <dependency>
shrikantawachar2623c842019-05-20 12:11:54 +0530305 <groupId>org.janusgraph</groupId>
306 <artifactId>janusgraph-core</artifactId>
307 <version>${janusgraph.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200308 <scope>compile</scope>
309 <exclusions>
310 <exclusion>
311 <groupId>org.json</groupId>
312 <artifactId>json</artifactId>
313 </exclusion>
314 <exclusion>
315 <artifactId>slf4j-log4j12</artifactId>
316 <groupId>org.slf4j</groupId>
317 </exclusion>
Tal Gitelman76783962018-09-06 18:16:24 +0300318 <exclusion>
319 <artifactId>commons-collections</artifactId>
320 <groupId>commons-collections</groupId>
321 </exclusion>
Piotr Darosza67f45c2019-06-13 12:56:13 +0200322 <exclusion>
323 <groupId>org.apache.thrift</groupId>
324 <artifactId>libthrift</artifactId>
325 </exclusion>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200326 </exclusions>
327 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200328
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200329 <dependency>
shrikantawachar2623c842019-05-20 12:11:54 +0530330 <groupId>org.janusgraph</groupId>
331 <artifactId>janusgraph-cassandra</artifactId>
332 <version>${janusgraph.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200333 <scope>compile</scope>
334 <exclusions>
335 <exclusion>
336 <groupId>org.slf4j</groupId>
337 <artifactId>slf4j-log4j12</artifactId>
338 </exclusion>
339 <exclusion>
340 <groupId>io.netty</groupId>
341 <artifactId>netty-all</artifactId>
342 </exclusion>
343 </exclusions>
344 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200345
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200346 <dependency>
347 <groupId>org.apache.commons</groupId>
348 <artifactId>commons-lang3</artifactId>
349 <version>${lang3.version}</version>
350 <scope>compile</scope>
351 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200352
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200353 <dependency>
354 <groupId>com.googlecode.json-simple</groupId>
355 <artifactId>json-simple</artifactId>
356 <version>${json-simple.version}</version>
357 <scope>compile</scope>
Michael Lando451a3402017-02-19 10:28:42 +0200358
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200359 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200360
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200361 <dependency>
362 <groupId>org.elasticsearch</groupId>
363 <artifactId>elasticsearch</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300364 <version>${elastic-search.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200365 <scope>compile</scope>
366 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200367
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200368 <!-- functional java -->
369 <dependency>
370 <groupId>org.functionaljava</groupId>
371 <artifactId>functionaljava</artifactId>
372 <version>${functionaljava.version}</version>
373 <scope>compile</scope>
374 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200375
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200376 <!-- Aspects -->
377 <dependency>
378 <groupId>com.jcabi</groupId>
379 <artifactId>jcabi-aspects</artifactId>
380 <version>${jcabi.version}</version>
381 <scope>compile</scope>
382 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200383
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200384 <dependency>
385 <groupId>org.aspectj</groupId>
386 <artifactId>aspectjrt</artifactId>
387 <version>${aspectjrt.version}</version>
388 <scope>compile</scope>
389 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200390
Michael Landoa5445102018-03-04 14:53:33 +0200391
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200392 <!-- CAMBRIA CLIENT for U-EB -->
393 <dependency>
394 <groupId>com.att.nsa</groupId>
395 <artifactId>cambriaClient</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200396 <version>1.2.1-oss</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200397 <scope>compile</scope>
398 <exclusions>
399 <exclusion>
Michael Lando5b593492018-07-29 16:13:45 +0300400 <groupId>com.att.nsa</groupId>
401 <artifactId>saClientLibrary</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200402 </exclusion>
403 </exclusions>
404 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200405
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200406 <dependency>
407 <groupId>org.json</groupId>
408 <artifactId>json</artifactId>
409 <version>20131018</version>
410 <scope>compile</scope>
411 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200412
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200413 <!-- CASSANDRA -->
414 <dependency>
415 <groupId>com.datastax.cassandra</groupId>
416 <artifactId>cassandra-driver-core</artifactId>
417 <version>${cassandra.driver.version}</version>
418 <scope>compile</scope>
419 </dependency>
420 <dependency>
421 <groupId>com.datastax.cassandra</groupId>
422 <artifactId>cassandra-driver-mapping</artifactId>
423 <version>${cassandra.driver.version}</version>
424 <scope>compile</scope>
425 </dependency>
Piotr Darosza67f45c2019-06-13 12:56:13 +0200426 <dependency>
427 <groupId>org.apache.thrift</groupId>
428 <artifactId>libthrift</artifactId>
429 <version>${libthrift.version}</version>
430 </dependency>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200431 <!-- CASSANDRA END -->
Michael Lando451a3402017-02-19 10:28:42 +0200432
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200433 <!-- Inserted for ECOMP Portal Integration -->
434 <dependency>
Tal Gitelman7d05e162018-10-10 14:52:54 +0300435 <groupId>org.onap.portal.sdk</groupId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200436 <artifactId>epsdk-fw</artifactId>
437 <version>${ecomp.version}</version>
438 <scope>compile</scope>
439 <exclusions>
440 <exclusion>
441 <groupId>com.att.nsa</groupId>
442 <artifactId>cambriaClient</artifactId>
443 </exclusion>
444 <exclusion>
445 <artifactId>slf4j-log4j12</artifactId>
446 <groupId>org.slf4j</groupId>
447 </exclusion>
448 </exclusions>
449 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200450
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200451 <!--Jetty Proxy-->
452 <dependency>
453 <groupId>org.eclipse.jetty</groupId>
454 <artifactId>jetty-proxy</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300455 <version>${jetty.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200456 <scope>compile</scope>
457 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200458
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200459 <dependency>
460 <groupId>org.eclipse.jetty</groupId>
461 <artifactId>jetty-servlets</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300462 <version>${jetty.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200463 <scope>compile</scope>
464 </dependency>
465 <!-- System metrics -->
466 <dependency>
467 <groupId>org.fusesource</groupId>
468 <artifactId>sigar</artifactId>
469 <version>${sigar.version}</version>
470 <scope>compile</scope>
471 </dependency>
Michael Lando5b593492018-07-29 16:13:45 +0300472 <dependency>
473 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
474 <artifactId>dmaapClient</artifactId>
475 <version>1.1.3</version>
476 <scope>compile</scope>
477 <exclusions>
478 <exclusion>
479 <groupId>com.att.aft</groupId>
480 <artifactId>dme2</artifactId>
481 </exclusion>
482 </exclusions>
483 </dependency>
Michael Lando5b593492018-07-29 16:13:45 +0300484 <dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200485 <groupId>com.att.aft</groupId>
486 <artifactId>dme2</artifactId>
487 <version>3.1.200-oss</version>
488 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200489
Michael Lando5b593492018-07-29 16:13:45 +0300490 <dependency>
491 <groupId>javax.jms</groupId>
492 <artifactId>jms</artifactId>
493 <version>1.1</version>
494 <scope>provided</scope>
495 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200496
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200497 <!-- TEST -->
498 <dependency>
Michael Lando5b593492018-07-29 16:13:45 +0300499 <groupId>org.assertj</groupId>
500 <artifactId>assertj-core</artifactId>
501 <scope>test</scope>
502 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200503
Michael Lando5b593492018-07-29 16:13:45 +0300504 <dependency>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200505 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
506 <artifactId>jersey-test-framework-provider-bundle</artifactId>
507 <version>${jersey-bom.version}</version>
508 <type>pom</type>
509 <scope>test</scope>
510 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200511
Michael Lando5b593492018-07-29 16:13:45 +0300512 <dependency>
513 <groupId>org.glassfish.jersey.core</groupId>
514 <artifactId>jersey-client</artifactId>
515 <version>${jersey-bom.version}</version>
Michael Lando5b593492018-07-29 16:13:45 +0300516 </dependency>
517
518 <dependency>
519 <groupId>com.github.tomakehurst</groupId>
520 <artifactId>wiremock-standalone</artifactId>
521 <scope>test</scope>
522 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200523
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200524 <dependency>
525 <groupId>org.eclipse.jetty</groupId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200526 <artifactId>jetty-webapp</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300527 <version>${jetty.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200528 <scope>test</scope>
529 </dependency>
530
531 <dependency>
532 <groupId>junit</groupId>
533 <artifactId>junit</artifactId>
534 <version>${junit.version}</version>
535 <scope>test</scope>
536 </dependency>
537
538 <dependency>
539 <groupId>org.mockito</groupId>
540 <artifactId>mockito-core</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200541 <scope>test</scope>
542 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200543
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200544 <dependency>
545 <groupId>org.springframework</groupId>
546 <artifactId>spring-test</artifactId>
547 <version>${spring.version}</version>
548 <scope>test</scope>
549 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200550
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200551 <dependency>
552 <groupId>org.springframework</groupId>
553 <artifactId>spring-tx</artifactId>
554 <version>${spring.version}</version>
Michael Lando5b593492018-07-29 16:13:45 +0300555 </dependency>
556
557 <dependency>
558 <groupId>io.cucumber</groupId>
559 <artifactId>cucumber-java</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200560 <scope>test</scope>
561 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200562
Michael Lando5b593492018-07-29 16:13:45 +0300563 <dependency>
564 <groupId>io.cucumber</groupId>
565 <artifactId>cucumber-junit</artifactId>
566 <scope>test</scope>
567 </dependency>
dekstroza37843cb2018-05-18 14:42:24 +0100568
569 <dependency>
570 <groupId>org.jmockit</groupId>
571 <artifactId>jmockit</artifactId>
572 <version>${jmockit.version}</version>
573 <scope>test</scope>
574 </dependency>
Tal Gitelman364c0f52018-06-13 14:51:53 +0300575
576 <dependency>
577 <groupId>com.google.code.bean-matchers</groupId>
578 <artifactId>bean-matchers</artifactId>
579 <version>0.11</version>
580 <scope>test</scope>
581 </dependency>
Tal Gitelmane0199372018-09-18 11:57:53 +0300582
583 <dependency>
Tomasz Golabek7e28cea2019-04-11 14:29:49 +0200584 <groupId>org.hamcrest</groupId>
585 <artifactId>java-hamcrest</artifactId>
586 <version>${java-hamcrest.version}</version>
587 <scope>test</scope>
588 </dependency>
589
590 <dependency>
Tal Gitelmane0199372018-09-18 11:57:53 +0300591 <groupId>org.codehaus.groovy</groupId>
592 <artifactId>groovy</artifactId>
593 <version>2.4.8</version>
594 </dependency>
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300595
596 <dependency>
597 <groupId>io.netty</groupId>
598 <artifactId>netty-handler</artifactId>
599 </dependency>
Talio09537852019-01-31 18:00:36 +0200600 <dependency>
601 <groupId>org.onap.sdc.common</groupId>
602 <artifactId>onap-tosca-datatype</artifactId>
603 <version>${project.version}</version>
604 </dependency>
605 <dependency>
606 <groupId>org.apache.commons</groupId>
607 <artifactId>commons-collections4</artifactId>
Talio1468fdc2019-02-05 11:05:05 +0200608 <version>${commons.collections.version}</version>
Talio09537852019-01-31 18:00:36 +0200609 </dependency>
taliofe4afd42019-04-14 15:37:20 +0300610 <dependency>
611 <groupId>org.codehaus.jackson</groupId>
612 <artifactId>jackson-mapper-asl</artifactId>
613 <version>${jackson.mapper.version}</version>
614 </dependency>
talioa4c1c762019-06-05 16:11:11 +0300615 <dependency>
616 <groupId>org.apache.commons</groupId>
617 <artifactId>commons-collections4</artifactId>
618 <version>${commons.collections.version}</version>
619 </dependency>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200620 </dependencies>
dekstroza37843cb2018-05-18 14:42:24 +0100621
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200622 <build>
Michael Lando451a3402017-02-19 10:28:42 +0200623
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200624 <finalName>${project.artifactId}-${project.version}</finalName>
Michael Lando451a3402017-02-19 10:28:42 +0200625
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200626 <plugins>
627 <plugin>
628 <groupId>org.apache.maven.plugins</groupId>
629 <artifactId>maven-war-plugin</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200630 <configuration>
631 <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar,
632 WEB-INF/classes/elasticsearch.yml,
633 WEB-INF/classes/portal.properties
634 </packagingExcludes>
635 <archive>
636 <manifestEntries>
637 <SDC-Version>${project.version}</SDC-Version>
638 </manifestEntries>
639 <manifest>
640 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
641 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
642 </manifest>
643 </archive>
Michael Lando451a3402017-02-19 10:28:42 +0200644
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200645 <webResources>
646 <resource>
647 <directory>src/main/resources</directory>
648 <directory>src/main/resources/swagger</directory>
649 </resource>
650 </webResources>
651 <attachClasses>true</attachClasses>
652 </configuration>
653 </plugin>
Michael Lando5b593492018-07-29 16:13:45 +0300654 <plugin>
dekstroza37843cb2018-05-18 14:42:24 +0100655 <groupId>com.github.sylvainlaurent.maven</groupId>
656 <artifactId>yaml-json-validator-maven-plugin</artifactId>
657 <executions>
658 <execution>
659 <id>validate</id>
660 <phase>validate</phase>
661 <goals>
662 <goal>validate</goal>
663 </goals>
664 <configuration>
665 <validationSets>
666 <validationSet>
667 <includes>
668 <include>src/main/resources/**/*.y*ml</include>
669 <include>src/test/resources/**/*.y*ml</include>
670 </includes>
671 </validationSet>
672 <validationSet>
673 <includes>
674 <include>src/main/resources/**/*.json</include>
675 <include>src/test/resources/**/*.json</include>
676 </includes>
677 </validationSet>
678 </validationSets>
679 </configuration>
680 </execution>
681 </executions>
682 </plugin>
683 <plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200684 <groupId>com.jcabi</groupId>
685 <artifactId>jcabi-maven-plugin</artifactId>
Michael Landodc856bb2018-08-13 13:27:52 +0300686 <version>${jcabi.maven.plugin.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200687 <executions>
688 <execution>
689 <goals>
690 <goal>ajc</goal>
691 </goals>
692 </execution>
693 </executions>
694 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200695 <plugin>
696 <groupId>org.apache.maven.plugins</groupId>
697 <artifactId>maven-assembly-plugin</artifactId>
698 <executions>
699 <execution>
700 <id>normatives</id>
701 <phase>package</phase>
702 <goals>
703 <goal>single</goal>
704 </goals>
705 <configuration>
706 <finalName>normatives</finalName>
707 <appendAssemblyId>false</appendAssemblyId>
Michael Lando02ab6512018-04-05 23:32:27 +0300708 <descriptors>
709 <descriptor>${project.basedir}/normatives.xml</descriptor>
710 </descriptors>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200711 </configuration>
712 </execution>
713 </executions>
714 </plugin>
715 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300716 <groupId>org.apache.maven.plugins</groupId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200717 <artifactId>maven-clean-plugin</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200718 <executions>
719 <execution>
720 <id>clean.sdc.backend.folder</id>
721 <phase>clean</phase>
722 <goals>
723 <goal>clean</goal>
724 </goals>
725 <configuration>
726 <filesets>
727 <!-- static configuration files -->
728 <fileset>
729 <directory>
730 ${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default
731 </directory>
732 <followSymlinks>false</followSymlinks>
733 <includes>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200734 <include>error-configuration.yaml</include>
735 <include>ecomp-error-configuration.yaml</include>
736 <include>logback.xml</include>
737 </includes>
738 </fileset>
739 <!-- BE WAR's -->
740 <fileset>
741 <directory>${project.parent.basedir}/catalog-be/sdc-backend</directory>
742 <followSymlinks>false</followSymlinks>
743 <includes>
744 <include>*.war</include>
745 </includes>
746 </fileset>
747 <fileset>
748 <directory>
749 ${project.basedir}/sdc-backend-init/chef-repo/cookbooks/sdc-normatives/files/default
750 </directory>
751 <followSymlinks>false</followSymlinks>
752 <includes>
753 <include>normatives.tar.gz</include>
754 </includes>
755 </fileset>
Michael Lando451a3402017-02-19 10:28:42 +0200756
757
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200758 </filesets>
759 </configuration>
760 </execution>
Michael Lando5b593492018-07-29 16:13:45 +0300761
Michael Landoa5445102018-03-04 14:53:33 +0200762 <execution>
Michael Lando5b593492018-07-29 16:13:45 +0300763 <id>clean-static-files</id>
764 <phase>clean</phase>
765 <goals>
766 <goal>clean</goal>
767 </goals>
768 <configuration>
769 <filesets>
770 <!-- tosca files -->
771 <fileset>
772 <directory>${project.parent.basedir}/asdctool/tosca</directory>
773 <followSymlinks>false</followSymlinks>
774 </fileset>
775 </filesets>
776 </configuration>
777 </execution>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200778 </executions>
779 </plugin>
Michael Lando5b593492018-07-29 16:13:45 +0300780 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300781 <groupId>org.apache.maven.plugins</groupId>
Michael Lando5b593492018-07-29 16:13:45 +0300782 <artifactId>maven-resources-plugin</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300783 <executions>
784 <execution>
785 <id>copy-static-configuration-files</id>
786 <phase>verify</phase>
787 <goals>
788 <goal>copy-resources</goal>
789 </goals>
790 <configuration>
Yuli Shlosbergaf70a202018-09-25 17:16:48 +0300791 <outputDirectory>
792 ${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default
793 </outputDirectory>
Michael Lando5b593492018-07-29 16:13:45 +0300794 <resources>
795 <resource>
Yuli Shlosbergaf70a202018-09-25 17:16:48 +0300796 <directory>${project.parent.basedir}/catalog-be/src/main/resources/config
797 </directory>
Michael Lando5b593492018-07-29 16:13:45 +0300798 <includes>
Michael Lando5b593492018-07-29 16:13:45 +0300799 <include>error-configuration.yaml</include>
800 <include>ecomp-error-configuration.yaml</include>
801 <include>logback.xml</include>
802 </includes>
803 </resource>
804 </resources>
805 </configuration>
806 </execution>
807 <execution>
808 <id>copy-tosca-folder</id>
809 <!-- here the phase you need -->
810 <phase>install</phase>
811 <goals>
812 <goal>copy-resources</goal>
813 </goals>
814 <configuration>
815 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
816 <resources>
817 <resource>
Yuli Shlosbergaf70a202018-09-25 17:16:48 +0300818 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca
819 </directory>
Michael Lando5b593492018-07-29 16:13:45 +0300820 <filtering>true</filtering>
821 </resource>
822 </resources>
823 </configuration>
824 </execution>
825 </executions>
826 </plugin>
Avi Ziv4bf6e7f2019-06-17 13:04:58 +0300827 <plugin>
828 <groupId>com.github.kongchen</groupId>
829 <artifactId>swagger-maven-plugin</artifactId>
830 <version>3.1.0</version>
831 <configuration>
832 <apiSources>
833 <apiSource>
834 <springmvc>false</springmvc>
835 <schemes>http</schemes>
836 <basePath>/sdc</basePath>
837 <locations>io.swagger.jaxrs.json;org.openecomp.sdc.be.externalapi.servlet;org.openecomp.sdc.be.distribution.servlet;org.openecomp.normative.api</locations>
838 <info>
839 <title>External Rest API</title>
840 <version>v1.0</version>
841 <description>External Rest API Documentation</description>
842 <termsOfService>
843 http://www.github.com/kongchen/swagger-maven-plugin
844 </termsOfService>
845 </info>
846 <templatePath>${basedir}/templates/strapdown.html.hbs</templatePath>
847 <outputPath>${basedir}/target/generated/swagger-ui/api.html</outputPath>
848 <swaggerDirectory>${basedir}/target/generated/swagger-ui
849 </swaggerDirectory>
850 <swaggerApiReader>io.swagger.jaxrs.config.DefaultJaxrsConfig</swaggerApiReader>
851 </apiSource>
852 </apiSources>
853 </configuration>
854 <executions>
855 <execution>
856 <phase>compile</phase>
857 <goals>
858 <goal>generate</goal>
859 </goals>
860 </execution>
861 </executions>
862 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200863 </plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200864
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200865 <pluginManagement>
866 <plugins>
867 <!--This plugin's configuration is used to store Eclipse m2e settings
868 only. It has no influence on the Maven build itself. -->
869 <plugin>
870 <groupId>org.eclipse.m2e</groupId>
871 <artifactId>lifecycle-mapping</artifactId>
872 <version>1.0.0</version>
873 <configuration>
874 <lifecycleMappingMetadata>
875 <pluginExecutions>
876 <pluginExecution>
877 <pluginExecutionFilter>
878 <groupId>com.googlecode.maven-download-plugin</groupId>
879 <artifactId>download-maven-plugin</artifactId>
880 <versionRange>[1.2.1,)</versionRange>
881 <goals>
882 <goal>wget</goal>
883 </goals>
884 </pluginExecutionFilter>
885 <action>
886 <ignore></ignore>
887 </action>
888 </pluginExecution>
Michael Lando451a3402017-02-19 10:28:42 +0200889
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200890 <pluginExecution>
891 <pluginExecutionFilter>
892 <groupId>com.jcabi</groupId>
893 <artifactId>jcabi-maven-plugin</artifactId>
894 <versionRange>[0.0,)</versionRange>
895 <goals>
896 <goal>ajc</goal>
897 </goals>
898 </pluginExecutionFilter>
899 <action>
900 <execute/>
901 </action>
902 </pluginExecution>
903
904 </pluginExecutions>
905 </lifecycleMappingMetadata>
906 </configuration>
907 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200908 </plugins>
909 </pluginManagement>
910 <!-- Swagger Plugins End -->
911 </build>
912
913 <profiles>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200914 <profile>
915 <id>docker-staging</id>
916 <properties>
917 <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>
918 <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>
919 </properties>
920 </profile>
921
922 <profile>
923 <id>docker</id>
924 <activation>
925 <activeByDefault>false</activeByDefault>
926 </activation>
927 <build>
928 <plugins>
929 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300930 <groupId>org.apache.maven.plugins</groupId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200931 <artifactId>maven-resources-plugin</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200932 <executions>
933 <execution>
934 <id>copy-resources-apidocs</id>
935 <phase>verify</phase>
936 <goals>
937 <goal>copy-resources</goal>
938 </goals>
939 <configuration>
940 <outputDirectory>${basedir}/sdc-backend</outputDirectory>
941 <resources>
942 <resource>
943 <directory>
Gautam Shah09a41f52018-04-11 19:55:29 +0530944 ${project.parent.basedir}/openecomp-be/tools/swagger-ui/target/api-docs
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200945 </directory>
946 <includes>
947 <include>api-docs.war</include>
948 </includes>
949 </resource>
950 </resources>
951 </configuration>
952 </execution>
953
954 <execution>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200955 <id>copy-resources-be</id>
956 <phase>verify</phase>
957 <goals>
958 <goal>copy-resources</goal>
959 </goals>
960 <configuration>
961 <outputDirectory>${basedir}/sdc-backend</outputDirectory>
962 <resources>
963 <resource>
964 <directory>${project.parent.basedir}/catalog-be/target</directory>
965 <includes>
966 <include>catalog-be-${project.version}.war</include>
967 </includes>
968 </resource>
969 <resource>
970 <directory>
971 ${project.parent.basedir}/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/target
972 </directory>
973 <includes>
974 <include>onboarding-be-${project.version}.war</include>
975 </includes>
976 </resource>
977 </resources>
978 </configuration>
979 </execution>
980 <execution>
981 <id>copy-normatives</id>
982 <phase>verify</phase>
983 <goals>
984 <goal>copy-resources</goal>
985 </goals>
986 <configuration>
Yuli Shlosbergaf70a202018-09-25 17:16:48 +0300987 <outputDirectory>
988 sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default
989 </outputDirectory>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200990 <resources>
991 <resource>
992 <directory>${project.parent.basedir}/catalog-be/target</directory>
993 <includes>
994 <include>normatives.tar.gz</include>
995 </includes>
996 </resource>
997 </resources>
998 </configuration>
999 </execution>
1000 </executions>
1001 </plugin>
1002 <plugin>
1003 <groupId>io.fabric8</groupId>
1004 <artifactId>docker-maven-plugin</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02001005 <configuration>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02001006 <apiVersion>1.23</apiVersion>
1007 <registry>nexus3.onap.org:10001</registry>
1008 <authConfig>
1009 <pull>
1010 <username>docker</username>
1011 <password>docker</password>
1012 </pull>
1013 </authConfig>
1014 <images>
1015
1016 <!-- Build backend image -->
1017 <image>
1018 <name>onap/sdc-backend</name>
1019 <alias>sdc-backend</alias>
1020 <build>
1021 <cleanup>try</cleanup>
1022 <dockerFileDir>${project.basedir}/sdc-backend</dockerFileDir>
1023 <tags>
1024 <tag>${docker.tag}</tag>
Yuli Shlosbergaf70a202018-09-25 17:16:48 +03001025 <tag>
1026 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
1027 </tag>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02001028 </tags>
1029 </build>
1030 </image>
1031 <!-- Build backend-init image -->
1032 <image>
1033 <name>onap/sdc-backend-init</name>
1034 <alias>sdc-backend-init</alias>
1035 <build>
1036 <cleanup>try</cleanup>
1037 <dockerFileDir>${project.basedir}/sdc-backend-init</dockerFileDir>
1038 <tags>
1039 <tag>${docker.tag}</tag>
Yuli Shlosbergaf70a202018-09-25 17:16:48 +03001040 <tag>
1041 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
1042 </tag>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02001043 </tags>
1044 </build>
1045 </image>
1046 </images>
1047 </configuration>
1048 <executions>
1049 <execution>
1050 <id>clean-images</id>
1051 <phase>pre-clean</phase>
1052 <goals>
1053 <goal>remove</goal>
1054 </goals>
1055 <configuration>
1056 <removeAll>true</removeAll>
1057 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1058 </configuration>
1059 </execution>
1060
1061 <execution>
1062 <id>generate-images</id>
1063 <phase>install</phase>
1064 <goals>
1065 <goal>build</goal>
1066 </goals>
1067 </execution>
1068
1069 <execution>
1070 <id>push-images</id>
1071 <phase>deploy</phase>
1072 <goals>
1073 <goal>push</goal>
1074 </goals>
1075 <configuration>
1076 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1077 </configuration>
1078 </execution>
1079 </executions>
1080 </plugin>
1081 </plugins>
1082 </build>
1083 </profile>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02001084 </profiles>
dekstroza37843cb2018-05-18 14:42:24 +01001085</project>