blob: 815df7f0fefd93203dab52f59423a0ee7f5af2d6 [file] [log] [blame]
DylanB95ESTb5a23832021-06-02 19:45:46 +01001<!--
2 ============LICENSE_START=======================================================
ToineSiebelink54d10a72022-04-05 13:54:32 +01003 Copyright (c) 2021-2022 Nordix Foundation.
puthuparambil.aditya08fe9712021-07-13 11:52:13 +01004 Modifications Copyright (C) 2021 Bell Canada.
DylanB95ESTb5a23832021-06-02 19:45:46 +01005 ================================================================================
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
lukegleesonb208aeb2021-07-08 16:48:15 +01009
DylanB95ESTb5a23832021-06-02 19:45:46 +010010 http://www.apache.org/licenses/LICENSE-2.0
lukegleesonb208aeb2021-07-08 16:48:15 +010011
DylanB95ESTb5a23832021-06-02 19:45:46 +010012 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
lukegleesonb208aeb2021-07-08 16:48:15 +010017
18 SPDX-License-Identifier: Apache-2.0
DylanB95ESTb5a23832021-06-02 19:45:46 +010019 ============LICENSE_END=========================================================
ToineSiebelink4cbd60b2021-09-30 16:53:42 +010020-->
DylanB95ESTb5a23832021-06-02 19:45:46 +010021<project xmlns="http://maven.apache.org/POM/4.0.0"
puthuparambil.aditya08fe9712021-07-13 11:52:13 +010022 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
DylanB95ESTb5a23832021-06-02 19:45:46 +010024 <modelVersion>4.0.0</modelVersion>
DylanB95ESTb5a23832021-06-02 19:45:46 +010025 <parent>
26 <groupId>org.onap.oparent</groupId>
27 <artifactId>oparent</artifactId>
ToineSiebelink54d10a72022-04-05 13:54:32 +010028 <version>3.3.0</version>
DylanB95ESTb5a23832021-06-02 19:45:46 +010029 <relativePath/>
30 </parent>
DylanB95ESTb5a23832021-06-02 19:45:46 +010031 <organization>
32 <name>ONAP - CPS</name>
33 <url>http://www.onap.org/</url>
34 </organization>
DylanB95ESTb5a23832021-06-02 19:45:46 +010035 <groupId>org.onap.cps</groupId>
36 <artifactId>ncmp-dmi-plugin</artifactId>
mpriyank6527ea72022-10-17 14:30:28 +010037 <version>1.3.0-SNAPSHOT</version>
DylanB95ESTb5a23832021-06-02 19:45:46 +010038 <name>ncmp-dmi-plugin</name>
39 <description>DMI Plugin Service</description>
DylanB95ESTb5a23832021-06-02 19:45:46 +010040 <properties>
niamhcore71a61bb2021-07-06 10:32:17 +010041 <app>org.onap.cps.ncmp.dmi.Application</app>
shivasubedif4b36ef2021-06-23 16:01:10 +010042 <base.image>${docker.pull.registry}/onap/integration-java11:8.0.0</base.image>
mpriyank66781842022-10-05 10:46:06 +010043 <cps.version>3.1.4</cps.version>
shivasubedif4b36ef2021-06-23 16:01:10 +010044 <image.tag>${project.version}-${maven.build.timestamp}</image.tag>
ToineSiebelink4cbd60b2021-09-30 16:53:42 +010045 <jacoco.minimum.coverage>0.98</jacoco.minimum.coverage>
shivasubedif4b36ef2021-06-23 16:01:10 +010046 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
DylanB95ESTb5a23832021-06-02 19:45:46 +010047 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
ToineSiebelinkaf8d4342022-07-13 12:57:16 +010048 <httpclient.version>4.5.13</httpclient.version>
DylanB95ESTb5a23832021-06-02 19:45:46 +010049 </properties>
DylanB95ESTb5a23832021-06-02 19:45:46 +010050 <dependencyManagement>
51 <dependencies>
52 <dependency>
JosephKeenan2cd8b982022-05-23 15:43:05 +010053 <groupId>com.google.code.gson</groupId>
54 <artifactId>gson</artifactId>
55 <version>2.8.9</version>
56 </dependency>
57 <dependency>
58 <groupId>io.swagger</groupId>
59 <artifactId>swagger-annotations</artifactId>
60 <version>1.6.2</version>
61 </dependency>
62 <dependency>
63 <groupId>net.logstash.logback</groupId>
64 <artifactId>logstash-logback-encoder</artifactId>
65 <version>7.0.1</version>
66 </dependency>
67 <dependency>
DylanB95ESTb5a23832021-06-02 19:45:46 +010068 <groupId>org.springframework.boot</groupId>
69 <artifactId>spring-boot-dependencies</artifactId>
JosephKeenanbe383b42022-03-23 15:12:53 +000070 <version>2.6.4</version>
DylanB95ESTb5a23832021-06-02 19:45:46 +010071 <type>pom</type>
72 <scope>import</scope>
73 </dependency>
74 <dependency>
DylanB95ESTb5a23832021-06-02 19:45:46 +010075 <groupId>org.spockframework</groupId>
shivasubedi275c1dc2021-07-07 16:39:34 +010076 <artifactId>spock-bom</artifactId>
77 <version>2.0-M5-groovy-3.0</version>
78 <type>pom</type>
79 <scope>import</scope>
DylanB95ESTb5a23832021-06-02 19:45:46 +010080 </dependency>
niamhcore98351072021-12-15 11:23:56 +000081 <dependency>
JosephKeenan2cd8b982022-05-23 15:43:05 +010082 <groupId>org.springdoc</groupId>
83 <artifactId>springdoc-openapi-ui</artifactId>
84 <version>1.5.9</version>
ToineSiebelink6b354302022-03-02 12:26:02 +000085 </dependency>
JosephKeenanbe383b42022-03-23 15:12:53 +000086 <dependency>
87 <groupId>org.springframework.cloud</groupId>
88 <artifactId>spring-cloud-dependencies</artifactId>
89 <version>2021.0.1</version>
90 <type>pom</type>
91 <scope>import</scope>
92 </dependency>
mpriyank78e1d062022-04-08 15:12:22 +053093 <dependency>
94 <groupId>org.testcontainers</groupId>
95 <artifactId>testcontainers-bom</artifactId>
96 <version>1.15.3</version>
97 <type>pom</type>
98 <scope>import</scope>
99 </dependency>
sourabh_sourabhdf26bc32022-05-04 11:38:52 +0100100 <dependency>
sourabh_sourabhdf26bc32022-05-04 11:38:52 +0100101 <groupId>org.codehaus.janino</groupId>
102 <artifactId>janino</artifactId>
103 <version>3.1.7</version>
104 </dependency>
JosephKeenan2cd8b982022-05-23 15:43:05 +0100105 <dependency>
106 <groupId>org.onap.cps</groupId>
107 <artifactId>cps-ncmp-events</artifactId>
mpriyankb1332ae2022-09-23 12:59:38 +0100108 <version>${cps.version}</version>
JosephKeenan2cd8b982022-05-23 15:43:05 +0100109 </dependency>
DylanB95ESTb5a23832021-06-02 19:45:46 +0100110 </dependencies>
111 </dependencyManagement>
DylanB95ESTb5a23832021-06-02 19:45:46 +0100112 <dependencies>
113 <dependency>
JosephKeenan2cd8b982022-05-23 15:43:05 +0100114 <groupId>com.google.code.gson</groupId>
115 <artifactId>gson</artifactId>
116 </dependency>
117 <dependency>
118 <groupId>com.jayway.jsonpath</groupId>
119 <artifactId>json-path</artifactId>
120 </dependency>
121 <dependency>
122 <groupId>io.micrometer</groupId>
123 <artifactId>micrometer-registry-prometheus</artifactId>
124 </dependency>
125 <dependency>
126 <groupId>io.swagger</groupId>
127 <artifactId>swagger-annotations</artifactId>
128 </dependency>
129 <dependency>
130 <groupId>net.logstash.logback</groupId>
131 <artifactId>logstash-logback-encoder</artifactId>
132 </dependency>
133 <dependency>
134 <groupId>net.minidev</groupId>
135 <artifactId>json-smart</artifactId>
136 </dependency>
137 <dependency>
138 <groupId>org.apache.httpcomponents</groupId>
139 <artifactId>httpclient</artifactId>
140 <version>${httpclient.version}</version>
141 </dependency>
142 <dependency>
143 <groupId>org.codehaus.groovy</groupId>
144 <artifactId>groovy</artifactId>
145 </dependency>
146 <dependency>
147 <groupId>org.codehaus.janino</groupId>
148 <artifactId>janino</artifactId>
149 </dependency>
150 <dependency>
151 <groupId>org.onap.cps</groupId>
152 <artifactId>cps-ncmp-events</artifactId>
153 </dependency>
154 <dependency>
155 <groupId>org.projectlombok</groupId>
156 <artifactId>lombok</artifactId>
157 </dependency>
158 <dependency>
DylanB95ESTb5a23832021-06-02 19:45:46 +0100159 <groupId>org.springframework.boot</groupId>
160 <artifactId>spring-boot-starter-web</artifactId>
161 </dependency>
162 <dependency>
163 <groupId>org.springframework.boot</groupId>
164 <artifactId>spring-boot-starter-validation</artifactId>
165 </dependency>
166 <dependency>
JosephKeenan2cd8b982022-05-23 15:43:05 +0100167 <groupId>org.springdoc</groupId>
168 <artifactId>springdoc-openapi-ui</artifactId>
DylanB95ESTb5a23832021-06-02 19:45:46 +0100169 </dependency>
170 <dependency>
JosephKeenan2cd8b982022-05-23 15:43:05 +0100171 <groupId>org.springframework.boot</groupId>
172 <artifactId>spring-boot-starter-security</artifactId>
173 </dependency>
174 <dependency>
175 <groupId>org.springframework.boot</groupId>
176 <artifactId>spring-boot-starter-actuator</artifactId>
177 </dependency>
178 <dependency>
179 <groupId>org.springframework.kafka</groupId>
180 <artifactId>spring-kafka</artifactId>
181 </dependency>
182 <!-- T E S T - D E P E N D E N C I E S -->
183 <dependency>
184 <groupId>org.spockframework</groupId>
185 <artifactId>spock-core</artifactId>
186 <scope>test</scope>
187 </dependency>
188 <dependency>
189 <groupId>org.spockframework</groupId>
190 <artifactId>spock-spring</artifactId>
191 <scope>test</scope>
Renu Kumari306cadd2021-10-22 00:50:29 -0400192 </dependency>
193 <dependency>
DylanB95ESTb5a23832021-06-02 19:45:46 +0100194 <groupId>org.springframework.boot</groupId>
195 <artifactId>spring-boot-starter-test</artifactId>
196 <scope>test</scope>
197 <exclusions>
198 <exclusion>
199 <groupId>org.junit.vintage</groupId>
200 <artifactId>junit-vintage-engine</artifactId>
201 </exclusion>
202 </exclusions>
203 </dependency>
204 <dependency>
JosephKeenan2cd8b982022-05-23 15:43:05 +0100205 <groupId>org.springframework.kafka</groupId>
206 <artifactId>spring-kafka-test</artifactId>
DylanB95ESTb5a23832021-06-02 19:45:46 +0100207 <scope>test</scope>
208 </dependency>
209 <dependency>
Renu Kumari306cadd2021-10-22 00:50:29 -0400210 <groupId>org.springframework.security</groupId>
211 <artifactId>spring-security-test</artifactId>
212 <scope>test</scope>
213 </dependency>
214 <dependency>
mpriyank78e1d062022-04-08 15:12:22 +0530215 <groupId>org.testcontainers</groupId>
216 <artifactId>spock</artifactId>
217 <scope>test</scope>
218 </dependency>
219 <dependency>
220 <groupId>org.testcontainers</groupId>
221 <artifactId>kafka</artifactId>
222 <scope>test</scope>
223 </dependency>
DylanB95ESTb5a23832021-06-02 19:45:46 +0100224 </dependencies>
DylanB95ESTb5a23832021-06-02 19:45:46 +0100225 <build>
226 <resources>
227 <resource>
228 <directory>src/main/resources</directory>
229 <filtering>true</filtering>
230 </resource>
231 <resource>
232 <directory>target/generated-sources/license</directory>
233 <includes>
234 <include>third-party-licenses.txt</include>
235 </includes>
236 </resource>
237 <resource>
238 <directory>target/generated-resources/licenses</directory>
239 <includes>
240 <include>*.*</include>
241 </includes>
242 <targetPath>third-party-licenses</targetPath>
243 </resource>
244 </resources>
245 <plugins>
246 <plugin>
247 <groupId>io.swagger.codegen.v3</groupId>
248 <artifactId>swagger-codegen-maven-plugin</artifactId>
shivasubedi275c1dc2021-07-07 16:39:34 +0100249 <version>3.0.18</version>
DylanB95ESTb5a23832021-06-02 19:45:46 +0100250 <executions>
251 <execution>
252 <goals>
253 <goal>generate</goal>
254 </goals>
255 <configuration>
Renu Kumari3aea57e2021-10-12 13:41:01 -0400256 <inputSpec>${project.basedir}/openapi/openapi.yml</inputSpec>
DylanB95ESTb5a23832021-06-02 19:45:46 +0100257 <language>spring</language>
258 <generateSupportingFiles>false</generateSupportingFiles>
tragait7c4a9aa2021-07-19 13:46:37 +0100259 <apiPackage>org.onap.cps.ncmp.dmi.rest.api</apiPackage>
260 <modelPackage>org.onap.cps.ncmp.dmi.model</modelPackage>
DylanB95ESTb5a23832021-06-02 19:45:46 +0100261 <configOptions>
262 <sourceFolder>src/gen/java</sourceFolder>
263 <dateLibrary>java11</dateLibrary>
264 <interfaceOnly>true</interfaceOnly>
265 <useTags>true</useTags>
266 </configOptions>
267 </configuration>
268 </execution>
shivasubedi3d1579c2021-09-13 16:43:20 +0100269 <execution>
270 <id>openapi-yaml-gen</id>
271 <goals>
272 <goal>generate</goal>
273 </goals>
274 <phase>compile</phase>
275 <configuration>
Renu Kumari3aea57e2021-10-12 13:41:01 -0400276 <inputSpec>${project.basedir}/openapi/openapi.yml</inputSpec>
shivasubedi3d1579c2021-09-13 16:43:20 +0100277 <language>openapi-yaml</language>
278 </configuration>
279 </execution>
DylanB95ESTb5a23832021-06-02 19:45:46 +0100280 </executions>
281 </plugin>
282 <plugin>
puthuparambil.aditya1d902262021-11-23 14:53:43 +0000283 <artifactId>maven-resources-plugin</artifactId>
284 <executions>
285 <execution>
286 <id>copy-resources</id>
287 <phase>compile</phase>
288 <goals>
289 <goal>copy-resources</goal>
290 </goals>
291 <configuration>
292 <outputDirectory>${project.basedir}/target/classes/static/api-docs</outputDirectory>
293 <resources>
294 <resource>
295 <directory>${project.basedir}/target/generated-sources/swagger/</directory>
296 <includes>
297 <include>openapi.yaml</include>
298 </includes>
299 </resource>
300 </resources>
301 </configuration>
302 </execution>
303 </executions>
304 </plugin>
305 <plugin>
DylanB95ESTb5a23832021-06-02 19:45:46 +0100306 <groupId>org.springframework.boot</groupId>
307 <artifactId>spring-boot-maven-plugin</artifactId>
JosephKeenanbe383b42022-03-23 15:12:53 +0000308 <version>2.6.4</version>
DylanB95ESTb5a23832021-06-02 19:45:46 +0100309 <executions>
310 <execution>
311 <goals>
312 <goal>build-info</goal>
313 <goal>repackage</goal>
314 </goals>
315 </execution>
316 </executions>
317 </plugin>
318 <plugin>
319 <groupId>org.codehaus.gmavenplus</groupId>
320 <artifactId>gmavenplus-plugin</artifactId>
321 <executions>
322 <execution>
323 <goals>
324 <goal>compileTests</goal>
325 </goals>
326 </execution>
327 </executions>
328 </plugin>
329 <plugin>
330 <groupId>org.apache.maven.plugins</groupId>
331 <artifactId>maven-surefire-plugin</artifactId>
332 <configuration>
333 <argLine>${surefireArgLine}</argLine>
334 <includes>
335 <include>**/*Spec.java</include>
336 </includes>
337 <excludes>
338 <exclude>**/IT*.java</exclude>
339 </excludes>
mpriyank78e1d062022-04-08 15:12:22 +0530340 <environmentVariables>
341 <!--
342 Disable privileged container usage to cleanup the test containers;
343 these are removed automatically on jvm termination;
344 see https://www.testcontainers.org/features/configuration/#disabling-ryuk
345 -->
346 <TESTCONTAINERS_RYUK_DISABLED>true</TESTCONTAINERS_RYUK_DISABLED>
347 </environmentVariables>
DylanB95ESTb5a23832021-06-02 19:45:46 +0100348 </configuration>
349 </plugin>
shivasubedi55500c32021-06-23 16:31:02 +0100350 <plugin>
351 <groupId>org.apache.maven.plugins</groupId>
352 <artifactId>maven-checkstyle-plugin</artifactId>
353 <executions>
354 <execution>
Bruno Sakotoff5f74d2021-07-14 11:15:48 -0400355 <id>onap-license</id>
356 <goals>
357 <goal>check</goal>
358 </goals>
359 <phase>process-sources</phase>
360 <configuration>
361 <configLocation>onap-checkstyle/check-license.xml</configLocation>
362 <includeResources>false</includeResources>
363 <includeTestSourceDirectory>true</includeTestSourceDirectory>
364 <includeTestResources>false</includeTestResources>
365 <sourceDirectories>
366 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
367 </sourceDirectories>
368 <consoleOutput>false</consoleOutput>
369 <violationSeverity>warning</violationSeverity>
370 <failOnViolation>true</failOnViolation>
371 </configuration>
372 </execution>
373 <execution>
374 <id>onap-java-style</id>
375 <goals>
376 <goal>check</goal>
377 </goals>
378 <phase>process-sources</phase>
379 <configuration>
380 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
381 <sourceDirectories>
382 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
383 </sourceDirectories>
384 <includeResources>true</includeResources>
385 <includeTestSourceDirectory>true</includeTestSourceDirectory>
386 <includeTestResources>true</includeTestResources>
387 <consoleOutput>false</consoleOutput>
388 <violationSeverity>warning</violationSeverity>
389 <failOnViolation>true</failOnViolation>
390 </configuration>
391 </execution>
392 <execution>
shivasubedi55500c32021-06-23 16:31:02 +0100393 <id>cps-java-style</id>
394 <goals>
395 <goal>check</goal>
396 </goals>
397 <phase>process-sources</phase>
398 <configuration>
399 <configLocation>cps-java-style.xml</configLocation>
400 <sourceDirectories>
401 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
402 </sourceDirectories>
403 <includeResources>true</includeResources>
404 <includeTestSourceDirectory>true</includeTestSourceDirectory>
405 <includeTestResources>true</includeTestResources>
406 <consoleOutput>true</consoleOutput>
407 <violationSeverity>warning</violationSeverity>
408 <failOnViolation>true</failOnViolation>
409 </configuration>
410 </execution>
411 </executions>
412 <dependencies>
413 <dependency>
414 <groupId>${project.groupId}</groupId>
415 <artifactId>checkstyle</artifactId>
416 <version>${cps.version}</version>
417 </dependency>
418 </dependencies>
419 </plugin>
420 <plugin>
421 <groupId>com.github.spotbugs</groupId>
422 <artifactId>spotbugs-maven-plugin</artifactId>
shivasubedi275c1dc2021-07-07 16:39:34 +0100423 <version>4.1.3</version>
shivasubedi55500c32021-06-23 16:31:02 +0100424 <executions>
425 <execution>
426 <id>analyze-compile</id>
427 <phase>compile</phase>
428 <goals>
429 <goal>check</goal>
430 </goals>
431 </execution>
432 </executions>
433 <dependencies>
434 <dependency>
435 <groupId>${project.groupId}</groupId>
436 <artifactId>spotbugs</artifactId>
437 <version>${cps.version}</version>
438 <scope>compile</scope>
439 </dependency>
440 </dependencies>
441 <configuration>
442 <plugins>
443 <plugin>
444 <groupId>jp.skypencil.findbugs.slf4j</groupId>
445 <artifactId>bug-pattern</artifactId>
shivasubedi275c1dc2021-07-07 16:39:34 +0100446 <version>1.5.0</version>
shivasubedi55500c32021-06-23 16:31:02 +0100447 </plugin>
448 </plugins>
449 <effort>Max</effort>
450 <threshold>Low</threshold>
451 <failOnError>true</failOnError>
452 <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
niamhcore4f431882021-09-21 16:08:29 +0100453 <addSourceDirs>true</addSourceDirs>
shivasubedi55500c32021-06-23 16:31:02 +0100454 <xmlOutput>true</xmlOutput>
455 <xmlOutputDirectory>${basedir}/target/spotbugs</xmlOutputDirectory>
456 </configuration>
457 </plugin>
458 <plugin>
459 <groupId>org.jacoco</groupId>
460 <artifactId>jacoco-maven-plugin</artifactId>
shivasubedi275c1dc2021-07-07 16:39:34 +0100461 <version>0.8.5</version>
shivasubedi55500c32021-06-23 16:31:02 +0100462 <configuration>
463 <excludes>
tragait7c4a9aa2021-07-19 13:46:37 +0100464 <exclude>org/onap/cps/ncmp/dmi/model/*</exclude>
shivasubedi55500c32021-06-23 16:31:02 +0100465 </excludes>
466 </configuration>
467 <executions>
468 <execution>
469 <id>default-prepare-agent</id>
470 <goals>
471 <goal>prepare-agent</goal>
472 </goals>
473 </execution>
474 <execution>
475 <id>coverage-check</id>
476 <goals>
477 <goal>check</goal>
478 </goals>
479 <configuration>
480 <dataFile>${basedir}/target/code-coverage/jacoco-ut.exec</dataFile>
481 <rules>
482 <rule>
483 <element>BUNDLE</element>
484 <limits>
485 <limit>
486 <counter>INSTRUCTION</counter>
487 <value>COVEREDRATIO</value>
488 <minimum>${jacoco.minimum.coverage}</minimum>
489 </limit>
490 </limits>
491 </rule>
492 </rules>
493 </configuration>
494 </execution>
495 <execution>
496 <id>report</id>
497 <phase>verify</phase>
498 <goals>
499 <goal>report-aggregate</goal>
500 </goals>
501 <configuration>
502 <dataFileIncludes>
503 <fileInclude>**/code-coverage/jacoco-ut.exec</fileInclude>
504 </dataFileIncludes>
505 </configuration>
506 </execution>
507 </executions>
508 </plugin>
DylanB95ESTb5a23832021-06-02 19:45:46 +0100509 </plugins>
shivasubedif4b36ef2021-06-23 16:01:10 +0100510 <pluginManagement>
511 <plugins>
512 <plugin>
513 <groupId>com.google.cloud.tools</groupId>
514 <artifactId>jib-maven-plugin</artifactId>
niamhcore2fb3f662021-09-29 15:32:32 +0100515 <version>3.1.4</version>
shivasubedif4b36ef2021-06-23 16:01:10 +0100516 <configuration>
517 <container>
518 <mainClass>${app}</mainClass>
519 <creationTime>USE_CURRENT_TIMESTAMP</creationTime>
520 </container>
521 <from>
522 <image>${base.image}</image>
523 </from>
524 <to>
525 <tags>
JosephKeenan371ec2f2021-12-01 09:46:58 +0000526 <tag>${project.version}-latest</tag>
shivasubedif4b36ef2021-06-23 16:01:10 +0100527 </tags>
528 <image>${docker.push.registry}/onap/${image.name}:${image.tag}</image>
529 </to>
530 </configuration>
531 <executions>
532 <execution>
533 <phase>package</phase>
534 <id>build</id>
535 <goals>
536 <goal>dockerBuild</goal>
537 </goals>
538 </execution>
539 <execution>
540 <phase>deploy</phase>
541 <id>buildAndPush</id>
542 <goals>
543 <goal>build</goal>
544 </goals>
545 </execution>
546 </executions>
547 </plugin>
548 </plugins>
549 </pluginManagement>
DylanB95ESTb5a23832021-06-02 19:45:46 +0100550 </build>
shivasubedif4b36ef2021-06-23 16:01:10 +0100551 <profiles>
552 <profile>
puthuparambil.adityaeddb3dd2021-07-27 15:57:19 +0100553 <id>docker</id>
shivasubedif4b36ef2021-06-23 16:01:10 +0100554 <activation>
555 <activeByDefault>true</activeByDefault>
556 </activation>
557 <properties>
558 <image.name>ncmp-dmi-plugin</image.name>
559 </properties>
560 <build>
561 <plugins>
562 <plugin>
563 <groupId>com.google.cloud.tools</groupId>
564 <artifactId>jib-maven-plugin</artifactId>
565 </plugin>
566 </plugins>
567 </build>
568 </profile>
569 </profiles>
lukegleesonb208aeb2021-07-08 16:48:15 +0100570</project>