blob: 360d5b28ed4a56916c5d14880c715ae89ac6d523 [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 Shlosberg958c32d2018-02-15 12:04:46 +02002 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Michael Lando451a3402017-02-19 10:28:42 +02003
4 <modelVersion>4.0.0</modelVersion>
5 <artifactId>catalog-fe</artifactId>
6 <packaging>war</packaging>
7
Michael Lando451a3402017-02-19 10:28:42 +02008 <parent>
9 <groupId>org.openecomp.sdc</groupId>
10 <artifactId>sdc-main</artifactId>
Michael Lando0ad3c802017-09-19 16:32:59 +030011 <version>1.2.0-SNAPSHOT</version>
Michael Lando451a3402017-02-19 10:28:42 +020012 </parent>
13
Michael Lando451a3402017-02-19 10:28:42 +020014 <dependencies>
Michael Lando2e0ef972017-02-28 01:44:21 +020015
Michael Landoc0ac0152017-02-27 23:48:43 +020016 <dependency>
Michael Lando451a3402017-02-19 10:28:42 +020017 <groupId>org.functionaljava</groupId>
18 <artifactId>functionaljava</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +030019 <version>${functionaljava.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +020020 <scope>compile</scope>
21 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +030022
Michael Lando451a3402017-02-19 10:28:42 +020023 <dependency>
24 <groupId>org.openecomp.sdc</groupId>
25 <artifactId>security-utils</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +030026 <version>${project.version}</version>
27 <scope>compile</scope>
28 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020029
Michael Landoed64b5e2017-06-09 03:19:04 +030030 <dependency>
31 <groupId>org.openecomp.sdc</groupId>
32 <artifactId>common-app-api</artifactId>
33 <version>${project.version}</version>
34 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020035
Michael Landoed64b5e2017-06-09 03:19:04 +030036 <!-- File changes listener -->
37 <dependency>
38 <groupId>org.slf4j</groupId>
39 <artifactId>slf4j-api</artifactId>
40 <version>${slf4j-api.version}</version>
41 <scope>compile</scope>
42 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020043
Michael Landoed64b5e2017-06-09 03:19:04 +030044 <dependency>
45 <groupId>ch.qos.logback</groupId>
46 <artifactId>logback-classic</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020047 <version>${logback.version}</version>
Michael Landoed64b5e2017-06-09 03:19:04 +030048 <scope>compile</scope>
49 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020050
Michael Landoed64b5e2017-06-09 03:19:04 +030051 <dependency>
52 <groupId>ch.qos.logback</groupId>
53 <artifactId>logback-core</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020054 <version>${logback.version}</version>
Michael Landoed64b5e2017-06-09 03:19:04 +030055 <scope>compile</scope>
56 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020057
Michael Landoed64b5e2017-06-09 03:19:04 +030058 <dependency>
59 <groupId>org.codehaus.groovy</groupId>
60 <artifactId>groovy-all</artifactId>
61 <version>${groovy.version}</version>
62 <scope>compile</scope>
63 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020064
Michael Landoed64b5e2017-06-09 03:19:04 +030065 <dependency>
66 <groupId>org.codehaus.janino</groupId>
67 <artifactId>janino</artifactId>
68 <version>${janino.version}</version>
69 <scope>compile</scope>
70 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020071
Michael Landoed64b5e2017-06-09 03:19:04 +030072 <dependency>
73 <groupId>org.yaml</groupId>
74 <artifactId>snakeyaml</artifactId>
75 <version>${snakeyaml.version}</version>
76 <scope>compile</scope>
77 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020078
Michael Landoed64b5e2017-06-09 03:19:04 +030079 <dependency>
80 <groupId>org.apache.commons</groupId>
81 <artifactId>commons-jci-core</artifactId>
82 <version>${commons-jci-core.version}</version>
83 <scope>compile</scope>
84 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020085
Michael Landoed64b5e2017-06-09 03:19:04 +030086 <dependency>
87 <groupId>com.google.code.gson</groupId>
88 <artifactId>gson</artifactId>
89 <version>${gson.version}</version>
90 <scope>compile</scope>
91 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020092
Michael Landoed64b5e2017-06-09 03:19:04 +030093 <dependency>
94 <groupId>org.glassfish.jersey.containers</groupId>
95 <artifactId>jersey-container-servlet</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020096 <version>${jersey-bom.version}</version>
Michael Landoed64b5e2017-06-09 03:19:04 +030097 <scope>compile</scope>
98 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020099
Michael Landoed64b5e2017-06-09 03:19:04 +0300100 <dependency>
101 <groupId>org.glassfish.jersey.media</groupId>
102 <artifactId>jersey-media-multipart</artifactId>
103 <version>${jersey-bom.version}</version>
104 <scope>compile</scope>
105 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200106
Michael Landoed64b5e2017-06-09 03:19:04 +0300107 <dependency>
108 <groupId>org.glassfish.jersey.media</groupId>
109 <artifactId>jersey-media-moxy</artifactId>
110 <version>${jersey-bom.version}</version>
111 <scope>compile</scope>
112 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200113
Michael Landoed64b5e2017-06-09 03:19:04 +0300114 <dependency>
115 <groupId>javax.mail</groupId>
116 <artifactId>javax.mail-api</artifactId>
117 <version>1.5.2</version>
118 <scope>compile</scope>
119 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200120
Michael Landoed64b5e2017-06-09 03:19:04 +0300121 <dependency>
122 <groupId>org.glassfish.jersey.media</groupId>
123 <artifactId>jersey-media-json-jackson</artifactId>
124 <version>${jersey-bom.version}</version>
125 <scope>compile</scope>
126 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200127
Michael Landoed64b5e2017-06-09 03:19:04 +0300128 <dependency>
129 <groupId>com.fasterxml.jackson.core</groupId>
130 <artifactId>jackson-core</artifactId>
131 <version>${jackson.version}</version>
132 <scope>compile</scope>
133 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200134
Michael Landoed64b5e2017-06-09 03:19:04 +0300135 <dependency>
136 <groupId>com.fasterxml.jackson.core</groupId>
137 <artifactId>jackson-databind</artifactId>
138 <version>${jackson.version}</version>
139 <scope>compile</scope>
140 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200141
Michael Landoed64b5e2017-06-09 03:19:04 +0300142 <dependency>
143 <groupId>com.fasterxml.jackson.core</groupId>
144 <artifactId>jackson-annotations</artifactId>
145 <version>${jackson.annotations.version}</version>
146 <scope>compile</scope>
147 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200148
Michael Landoed64b5e2017-06-09 03:19:04 +0300149 <!-- http client -->
150 <dependency>
151 <groupId>org.apache.httpcomponents</groupId>
152 <artifactId>httpclient</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200153 <version>${httpclient.version}</version>
Michael Landoed64b5e2017-06-09 03:19:04 +0300154 <scope>compile</scope>
155 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200156
Michael Landoed64b5e2017-06-09 03:19:04 +0300157 <dependency>
158 <groupId>org.apache.httpcomponents</groupId>
159 <artifactId>httpcore</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200160 <version>${httpcore.version}</version>
Michael Landoed64b5e2017-06-09 03:19:04 +0300161 <scope>compile</scope>
162 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200163
Michael Landoed64b5e2017-06-09 03:19:04 +0300164 <dependency>
165 <groupId>org.apache.httpcomponents</groupId>
166 <artifactId>httpmime</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200167 <version>${httpclient.version}</version>
Michael Landoed64b5e2017-06-09 03:19:04 +0300168 <!--<version>4.3.2</version>-->
169 <scope>compile</scope>
170 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200171
Michael Landoed64b5e2017-06-09 03:19:04 +0300172 <dependency>
173 <groupId>commons-logging</groupId>
174 <artifactId>commons-logging</artifactId>
175 <version>${commons-logging}</version>
176 <scope>compile</scope>
177 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200178
Michael Landoed64b5e2017-06-09 03:19:04 +0300179 <dependency>
180 <groupId>commons-codec</groupId>
181 <artifactId>commons-codec</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200182 <version>${commons-codec}</version>
Michael Landoed64b5e2017-06-09 03:19:04 +0300183 <scope>compile</scope>
184 </dependency>
185 <!-- http client END -->
Michael Lando451a3402017-02-19 10:28:42 +0200186
Michael Landoed64b5e2017-06-09 03:19:04 +0300187 <dependency>
188 <groupId>javax.servlet</groupId>
189 <artifactId>servlet-api</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200190 <version>${servlet-api.version}</version>
Michael Landoed64b5e2017-06-09 03:19:04 +0300191 <scope>provided</scope>
192 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200193
Michael Landoed64b5e2017-06-09 03:19:04 +0300194 <!-- JSON and YAML Parsing -->
195 <dependency>
196 <groupId>com.fasterxml.jackson.dataformat</groupId>
197 <artifactId>jackson-dataformat-yaml</artifactId>
198 <version>${jackson.version}</version>
199 <scope>compile</scope>
200 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200201
Michael Landoed64b5e2017-06-09 03:19:04 +0300202 <!-- Jetty Proxy -->
203 <dependency>
204 <groupId>org.eclipse.jetty</groupId>
205 <artifactId>jetty-proxy</artifactId>
206 <version>${jetty.version}</version>
207 <scope>compile</scope>
208 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200209
Michael Landoed64b5e2017-06-09 03:19:04 +0300210 <dependency>
211 <groupId>org.eclipse.jetty</groupId>
212 <artifactId>jetty-servlets</artifactId>
213 <version>${jetty.version}</version>
Tal Gitelmanffdda7d2017-07-02 15:33:25 +0300214 <scope>compile</scope>
Michael Landoed64b5e2017-06-09 03:19:04 +0300215 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200216
Michael Landoed64b5e2017-06-09 03:19:04 +0300217 <!-- Proxy servlet -->
218 <dependency>
219 <groupId>com.google.guava</groupId>
220 <artifactId>guava</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200221 <version>${guava.version}</version>
Michael Landoed64b5e2017-06-09 03:19:04 +0300222 <scope>compile</scope>
223 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200224
Michael Landoed64b5e2017-06-09 03:19:04 +0300225 <!-- Aspects -->
226 <dependency>
227 <groupId>com.jcabi</groupId>
228 <artifactId>jcabi-aspects</artifactId>
229 <version>${jcabi.version}</version>
230 <scope>compile</scope>
231 </dependency>
232 <dependency>
233 <groupId>org.aspectj</groupId>
234 <artifactId>aspectjrt</artifactId>
235 <version>${aspectjrt.version}</version>
236 <scope>compile</scope>
237 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200238
Michael Landoed64b5e2017-06-09 03:19:04 +0300239 <dependency>
240 <groupId>org.apache.commons</groupId>
241 <artifactId>commons-lang3</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200242 <version>${lang3.version}</version>
Michael Landoed64b5e2017-06-09 03:19:04 +0300243 <scope>compile</scope>
244 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200245
Michael Landoed64b5e2017-06-09 03:19:04 +0300246 <!-- Inserted for ECOMP Portal Integration -->
247 <dependency>
248 <groupId>org.openecomp.ecompsdkos</groupId>
Michael Landob3d48982017-06-11 14:22:02 +0300249 <artifactId>epsdk-fw</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300250 <version>${ecomp.version}</version>
251 <scope>compile</scope>
252 <exclusions>
253 <exclusion>
254 <groupId>com.att.nsa</groupId>
255 <artifactId>cambriaClient</artifactId>
256 </exclusion>
257 <exclusion>
258 <artifactId>slf4j-log4j12</artifactId>
259 <groupId>org.slf4j</groupId>
260 </exclusion>
261 </exclusions>
262 </dependency>
263 <!-- System metrics -->
264 <dependency>
265 <groupId>org.fusesource</groupId>
266 <artifactId>sigar</artifactId>
267 <version>${sigar.version}</version>
268 <scope>compile</scope>
269 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200270
Michael Landoed64b5e2017-06-09 03:19:04 +0300271 <!-- TEST -->
272 <dependency>
273 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
274 <artifactId>jersey-test-framework-provider-bundle</artifactId>
275 <version>${jersey-bom.version}</version>
276 <type>pom</type>
277 <scope>test</scope>
278 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200279
Michael Landoed64b5e2017-06-09 03:19:04 +0300280 <dependency>
281 <groupId>org.eclipse.jetty</groupId>
282 <artifactId>jetty-servlet</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200283 <version>${jetty.version}</version>
Michael Landoed64b5e2017-06-09 03:19:04 +0300284 <scope>test</scope>
285 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200286
Michael Landoed64b5e2017-06-09 03:19:04 +0300287 <dependency>
288 <groupId>org.eclipse.jetty</groupId>
289 <artifactId>jetty-webapp</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200290 <version>${jetty.version}</version>
Michael Landoed64b5e2017-06-09 03:19:04 +0300291 <scope>test</scope>
292 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200293
Michael Landoed64b5e2017-06-09 03:19:04 +0300294 <dependency>
295 <groupId>org.mockito</groupId>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200296 <artifactId>mockito-core</artifactId>
Michael Landoce868e62017-12-25 20:07:37 +0200297 <version>${mockito.version}</version>
Michael Landoed64b5e2017-06-09 03:19:04 +0300298 <scope>test</scope>
299 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200300
Michael Landoed64b5e2017-06-09 03:19:04 +0300301 </dependencies>
Michael Lando451a3402017-02-19 10:28:42 +0200302
Michael Landoed64b5e2017-06-09 03:19:04 +0300303 <build>
Michael Lando451a3402017-02-19 10:28:42 +0200304
Michael Landoed64b5e2017-06-09 03:19:04 +0300305 <finalName>${project.artifactId}-${project.version}</finalName>
306
307 <plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200308 <plugin>
309 <groupId>org.apache.maven.plugins</groupId>
310 <artifactId>maven-war-plugin</artifactId>
311 <version>2.6</version>
312 <configuration>
313 <archive>
314 <manifest>
315 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
316 </manifest>
317 </archive>
Michael Landoed64b5e2017-06-09 03:19:04 +0300318
Michael Lando451a3402017-02-19 10:28:42 +0200319 <webResources>
320 <resource>
321 <directory>src/main/resources</directory>
322 </resource>
323 </webResources>
324 </configuration>
325 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200326
Michael Lando451a3402017-02-19 10:28:42 +0200327 <plugin>
328 <groupId>org.eclipse.jetty</groupId>
329 <artifactId>jetty-maven-plugin</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200330 <version>${jetty.version}</version>
Michael Landoed64b5e2017-06-09 03:19:04 +0300331 <!--<version>9.0.6.v20130930</version>-->
Michael Lando451a3402017-02-19 10:28:42 +0200332 <configuration>
333 <contextPath>/</contextPath>
334 <webApp>
335 <contextPath>/</contextPath>
336 <webInfIncludeJarPattern>.*/.*jersey-[^/]\.jar$</webInfIncludeJarPattern>
337 </webApp>
338 <war>${project.build.directory}/${project.build.finalName}.war</war>
339 </configuration>
340 </plugin>
341
342 <plugin>
343 <groupId>org.apache.maven.plugins</groupId>
344 <artifactId>maven-deploy-plugin</artifactId>
345 <version>2.7</version>
Michael Landoed64b5e2017-06-09 03:19:04 +0300346 <configuration>
347 <skip>true</skip>
348 </configuration>
Michael Lando451a3402017-02-19 10:28:42 +0200349 </plugin>
350
351 <plugin>
352 <groupId>com.jcabi</groupId>
353 <artifactId>jcabi-maven-plugin</artifactId>
354 <version>${jcabi.plugin.version}</version>
355 <executions>
356 <execution>
357 <goals>
358 <goal>ajc</goal>
359 </goals>
360 </execution>
361 </executions>
362 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200363 <plugin>
364 <artifactId>maven-clean-plugin</artifactId>
365 <version>3.0.0</version>
366 <executions>
367 <execution>
368 <id>clean.catalog.fe.folder</id>
369 <phase>clean</phase>
370 <goals>
371 <goal>clean</goal>
372 </goals>
373 <configuration>
374 <filesets>
375 <!-- FE WAR's -->
376 <fileset>
377 <directory>${project.parent.basedir}/catalog-fe/sdc-frontend/</directory>
378 <followSymlinks>false</followSymlinks>
379 <includes>
380 <include>*.war</include>
381 </includes>
382 </fileset>
383 </filesets>
384 </configuration>
385 </execution>
386 </executions>
387 </plugin>
388
Michael Lando451a3402017-02-19 10:28:42 +0200389 </plugins>
390
Michael Lando451a3402017-02-19 10:28:42 +0200391 <pluginManagement>
392 <plugins>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200393 <!--This plugin's configuration is used to store Eclipse m2e settings
Michael Landoed64b5e2017-06-09 03:19:04 +0300394 only. It has no influence on the Maven build itself. -->
Michael Lando451a3402017-02-19 10:28:42 +0200395 <plugin>
396 <groupId>org.eclipse.m2e</groupId>
397 <artifactId>lifecycle-mapping</artifactId>
398 <version>1.0.0</version>
399 <configuration>
400 <lifecycleMappingMetadata>
401 <pluginExecutions>
Michael Landoed64b5e2017-06-09 03:19:04 +0300402
Michael Lando451a3402017-02-19 10:28:42 +0200403 <pluginExecution>
404 <pluginExecutionFilter>
405 <groupId>com.jcabi</groupId>
406 <artifactId>jcabi-maven-plugin</artifactId>
407 <versionRange>[0.0,)</versionRange>
408 <goals>
409 <goal>ajc</goal>
410 </goals>
411 </pluginExecutionFilter>
412 <action>
413 <execute />
414 </action>
415 </pluginExecution>
Michael Landoed64b5e2017-06-09 03:19:04 +0300416
Michael Lando451a3402017-02-19 10:28:42 +0200417 </pluginExecutions>
418 </lifecycleMappingMetadata>
419 </configuration>
420 </plugin>
Michael Landoed64b5e2017-06-09 03:19:04 +0300421
Michael Lando451a3402017-02-19 10:28:42 +0200422 <!-- jacbi (log injection) -->
423
424 </plugins>
425 </pluginManagement>
Michael Landoed64b5e2017-06-09 03:19:04 +0300426
Michael Lando451a3402017-02-19 10:28:42 +0200427 </build>
428
Michael Landoed64b5e2017-06-09 03:19:04 +0300429 <profiles>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200430 <profile>
431 <id>catalog</id>
432 <activation>
433 <activeByDefault>false</activeByDefault>
434 </activation>
Michael Lando451a3402017-02-19 10:28:42 +0200435
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200436 <build>
437 <finalName>${project.artifactId}-${project.version}</finalName>
438 </build>
439 </profile>
440 <profile>
441 <id>docker-staging</id>
442 <properties>
443 <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>
444 <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>
445 </properties>
446 </profile>
447
448 <profile>
449 <id>docker</id>
450 <activation>
451 <activeByDefault>false</activeByDefault>
452 </activation>
453 <build>
454 <plugins>
455 <plugin>
456 <artifactId>maven-resources-plugin</artifactId>
457 <version>3.0.2</version>
458 <executions>
459 <execution>
460 <id>copy-resources-fe</id>
461 <phase>verify</phase>
462 <goals>
463 <goal>copy-resources</goal>
464 </goals>
465 <configuration>
466 <outputDirectory>${basedir}/sdc-frontend</outputDirectory>
467 <resources>
468 <resource>
469 <directory>${project.parent.basedir}/catalog-fe/target</directory>
470 <includes>
471 <include>catalog-fe-${project.version}.war</include>
472 </includes>
473 </resource>
474 <resource>
475 <directory>${project.parent.basedir}/openecomp-ui/target</directory>
476 <includes>
477 <include>onboarding-fe-${project.version}.war</include>
478 </includes>
479 </resource>
480 </resources>
481 </configuration>
482 </execution>
483 </executions>
484 </plugin>
485 <plugin>
486 <groupId>io.fabric8</groupId>
487 <artifactId>docker-maven-plugin</artifactId>
488 <version>0.23.0</version>
489
490 <configuration>
491 <verbose>true</verbose>
492 <apiVersion>1.23</apiVersion>
493 <registry>nexus3.onap.org:10001</registry>
494 <authConfig>
495 <pull>
496 <username>docker</username>
497 <password>docker</password>
498 </pull>
499 </authConfig>
500 <images>
501
502
503 <!-- Build frontend image -->
504 <image>
505 <name>onap/sdc-frontend</name>
506 <alias>sdc-frontend</alias>
507 <build>
508 <cleanup>try</cleanup>
509 <dockerFileDir>${project.basedir}/sdc-frontend</dockerFileDir>
510 <tags>
511 <tag>${docker.tag}</tag>
512 <tag>${docker.latest.tag}</tag>
513 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
514 </tags>
515 </build>
516 </image>
517 </images>
518 </configuration>
519 <executions>
520 <execution>
521 <id>clean-images</id>
522 <phase>pre-clean</phase>
523 <goals>
524 <goal>remove</goal>
525 </goals>
526 <configuration>
527 <removeAll>true</removeAll>
528 <image>onap/sdc-frontend</image>
529 </configuration>
530 </execution>
531
532 <execution>
533 <id>generate-images</id>
534 <phase>install</phase>
535 <goals>
536 <goal>build</goal>
537 </goals>
538 </execution>
539
540 <execution>
541 <id>push-images</id>
542 <phase>deploy</phase>
543 <goals>
544 <goal>push</goal>
545 </goals>
546 <configuration>
547 <image>onap/sdc-frontend</image>
548 </configuration>
549 </execution>
550 </executions>
551 </plugin>
552 </plugins>
553 </build>
554 </profile>
555
Michael Landoed64b5e2017-06-09 03:19:04 +0300556 </profiles>
Michael Lando451a3402017-02-19 10:28:42 +0200557</project>