Using ONAP/DCAE image naming
[dcaegen2/analytics/tca-gen2.git] / dcae-analytics / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ ================================================================================
4   ~ Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
5   ~ ================================================================================
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
9   ~
10   ~      http://www.apache.org/licenses/LICENSE-2.0
11   ~
12   ~ 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.
17   ~ ============LICENSE_END=========================================================
18   ~
19   -->
20
21 <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22          xmlns="http://maven.apache.org/POM/4.0.0"
23          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24
25     <modelVersion>4.0.0</modelVersion>
26         
27         <parent>
28                 <groupId>org.onap.dcaegen2.analytics.tca-gen2</groupId>
29                 <artifactId>tca-gen2-parent</artifactId>
30                 <version>3.0.0-SNAPSHOT</version>
31         </parent>
32
33     <artifactId>dcae-analytics</artifactId>
34     <version>3.0.0-SNAPSHOT</version>
35     <packaging>pom</packaging>
36
37     <name>DCAE Analytics Parent</name>
38     <description>Parent project for all DCAE Analytics Applications</description>
39
40
41     <modules>
42         <module>dcae-analytics-test</module>
43         <module>dcae-analytics-model</module>
44         <module>dcae-analytics-tca-model</module>
45         <module>dcae-analytics-tca-core</module>
46         <module>dcae-analytics-web</module>
47         <module>dcae-analytics-tca-web</module>
48     </modules>
49
50     <properties>
51
52         <!-- PROJECT SETTINGS-->
53         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
54         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
55         <main.basedir>${project.basedir}</main.basedir>
56
57         <!-- DEPENDENCIES VERSION -->
58         <eelf.logger.version>3.0.0-SNAPSHOT</eelf.logger.version>
59         <spring.boot.version>2.0.5.RELEASE</spring.boot.version>
60         <spring.cloud.version>Finchley.RC2</spring.cloud.version>
61         <commons.text.version>1.4</commons.text.version>
62         <springfox-swagger2.version>2.9.2</springfox-swagger2.version>
63         <findbugs.jsr305.version>3.0.2</findbugs.jsr305.version>
64         <findbugs.annotations.version>3.0.1</findbugs.annotations.version>
65
66         <!-- TEST DEPENDENCIES -->
67         <junit-jupiter.version>5.0.2</junit-jupiter.version>
68         <junit-platform.version>1.0.2</junit-platform.version>
69         <apiguardian-api.version>1.0.0</apiguardian-api.version>
70
71         <!--TEST SETTINGS -->
72         <surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile>
73         <!-- PLUGINS VERSIONS -->
74         <maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version>
75         <maven-jar-plugin.version>3.0.2</maven-jar-plugin.version>
76         <maven-assembly-plugin.version>3.1.0</maven-assembly-plugin.version>
77         <maven-javadoc-plugin.version>3.0.0-M1</maven-javadoc-plugin.version>
78         <maven-surefire-plugin.version>2.19</maven-surefire-plugin.version>
79         <maven-failsafe-plugin.version>2.19.1</maven-failsafe-plugin.version>
80         <maven-source-plugin.version>3.0.1</maven-source-plugin.version>
81         <maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
82         <jacoco.plugin.version>0.8.1</jacoco.plugin.version>
83         <findbugs.plugin.version>3.0.5</findbugs.plugin.version>
84         <pmd.plugin.version>3.8</pmd.plugin.version>
85         <checkstyle.plugin.version>2.17</checkstyle.plugin.version>
86         <lombok.plugin.version>1.16.18.1</lombok.plugin.version>
87         <gitcommitid.plugin.version>2.2.3</gitcommitid.plugin.version>
88         <maven.build.helper.plugin.version>3.0.0</maven.build.helper.plugin.version>
89         <dockerfile-maven-version>1.4.3</dockerfile-maven-version>
90
91         <!--PLUGIN SETTINGS -->
92         <compiler.source.version>1.8</compiler.source.version>
93         <compiler.target.version>1.8</compiler.target.version>
94         <unit.test.pattern>**/*Test.java</unit.test.pattern>
95         <skip.unit.tests>false</skip.unit.tests>
96         <integration.test.pattern>**/*IT.java</integration.test.pattern>
97         <skip.integration.tests>false</skip.integration.tests>
98         <pmd.violation.buildfail>true</pmd.violation.buildfail>
99         <findbugs.failOnError>true</findbugs.failOnError>
100         <checkstyle.failOnViolation>true</checkstyle.failOnViolation>
101         <checkstyle.file.name>checkstyle.xml</checkstyle.file.name>
102         <checkstyle.suppression.file.name>checkstyle-suppressions.xml</checkstyle.suppression.file.name>
103
104
105         <dependency.locations.enabled>false</dependency.locations.enabled>
106         <nexusproxy>https://nexus.onap.org</nexusproxy>
107         <snapshots.path>content/repositories/snapshots/</snapshots.path>
108         <releases.path>content/repositories/releases/</releases.path>
109         <docker.repository>nexus3.onap.org:10003</docker.repository>
110
111
112         <!-- SONAR EXCLUSIONS -->
113         <!-- EXCLUDE TEST COVERAGE ON
114           TEST PACKAGES - USED FOR TESTING - NOT FOR DEPLOYMENT
115           MODEL PACAKGES - MODELS ONLY CONTAINS POJOs AND NO BUSINESS LOGIC,
116           CONFIG PACKAGE -  CONATINS WIRINGS OF SPRING BEANS,
117           -->
118         <sonar.coverage.exclusions>**/test/**,**/model/**,**/config/**</sonar.coverage.exclusions>
119
120     </properties>
121
122   
123
124     <dependencyManagement>
125
126         <dependencies>
127
128             <!-- PROJECT DEPENDENCIES -->
129             <dependency>
130                 <groupId>${project.groupId}</groupId>
131                 <artifactId>dcae-analytics-test</artifactId>
132                 <version>${project.version}</version>
133                 <scope>test</scope>
134             </dependency>
135
136             <dependency>
137                 <groupId>${project.groupId}</groupId>
138                 <artifactId>dcae-analytics-model</artifactId>
139                 <version>${project.version}</version>
140             </dependency>
141
142             <dependency>
143                 <groupId>${project.groupId}</groupId>
144                 <artifactId>dcae-analytics-web</artifactId>
145                 <version>${project.version}</version>
146             </dependency>
147
148             <dependency>
149                 <groupId>${project.groupId}</groupId>
150                 <artifactId>dcae-analytics-tca-model</artifactId>
151                 <version>${project.version}</version>
152             </dependency>
153
154             <dependency>
155                 <groupId>${project.groupId}</groupId>
156                 <artifactId>dcae-analytics-tca-core</artifactId>
157                 <version>${project.version}</version>
158             </dependency>
159
160
161             <!-- EELF LOGGER -->
162             <dependency>
163                 <groupId>org.onap.dcaegen2.analytics.tca-gen2</groupId>
164                 <artifactId>eelf-logger-logback-impl</artifactId>
165                 <version>${eelf.logger.version}</version>
166             </dependency>
167
168             <!-- UTILITIES -->
169             <dependency>
170                 <groupId>org.apache.commons</groupId>
171                 <artifactId>commons-text</artifactId>
172                 <version>${commons.text.version}</version>
173             </dependency>
174
175             <!-- REST API SWAGGER -->
176             <dependency>
177                 <groupId>io.springfox</groupId>
178                 <artifactId>springfox-swagger2</artifactId>
179                 <version>${springfox-swagger2.version}</version>
180             </dependency>
181             <dependency>
182                 <groupId>io.springfox</groupId>
183                 <artifactId>springfox-swagger-ui</artifactId>
184                 <version>${springfox-swagger2.version}</version>
185             </dependency>
186
187             <!-- FIND BUGS -->
188             <dependency>
189                 <groupId>com.google.code.findbugs</groupId>
190                 <artifactId>jsr305</artifactId>
191                 <version>${findbugs.jsr305.version}</version>
192                 <scope>provided</scope>
193             </dependency>
194             <dependency>
195                 <groupId>com.google.code.findbugs</groupId>
196                 <artifactId>annotations</artifactId>
197                 <version>${findbugs.annotations.version}</version>
198                 <scope>provided</scope>
199             </dependency>
200
201             <!-- JUNIT 5 DEPENDENCIES -->
202             <dependency>
203                 <groupId>org.junit.jupiter</groupId>
204                 <artifactId>junit-jupiter-api</artifactId>
205                 <version>${junit-jupiter.version}</version>
206                 <scope>test</scope>
207             </dependency>
208             <dependency>
209                 <groupId>org.junit.jupiter</groupId>
210                 <artifactId>junit-jupiter-engine</artifactId>
211                 <version>${junit-jupiter.version}</version>
212                 <scope>test</scope>
213             </dependency>
214             <dependency>
215                 <groupId>org.junit.jupiter</groupId>
216                 <artifactId>junit-jupiter-params</artifactId>
217                 <version>${junit-jupiter.version}</version>
218                 <scope>test</scope>
219             </dependency>
220             <dependency>
221                 <groupId>org.junit.platform</groupId>
222                 <artifactId>junit-platform-engine</artifactId>
223                 <version>${junit-platform.version}</version>
224                 <scope>test</scope>
225             </dependency>
226             <dependency>
227                 <groupId>org.junit.platform</groupId>
228                 <artifactId>junit-platform-launcher</artifactId>
229                 <version>${junit-platform.version}</version>
230                 <scope>test</scope>
231             </dependency>
232             <dependency>
233                 <groupId>org.apiguardian</groupId>
234                 <artifactId>apiguardian-api</artifactId>
235                 <version>${apiguardian-api.version}</version>
236                 <scope>test</scope>
237             </dependency>
238
239             <!-- IMPORT DEPENDENCY MANAGEMENT FROM SPRING BOOT -->
240             <dependency>
241                 <groupId>org.springframework.boot</groupId>
242                 <artifactId>spring-boot-dependencies</artifactId>
243                 <version>${spring.boot.version}</version>
244                 <type>pom</type>
245                 <scope>import</scope>
246             </dependency>
247             <!-- IMPORT DEPENDENCY MANAGEMENT FROM SPRING CLOUD -->
248             <dependency>
249                 <groupId>org.springframework.cloud</groupId>
250                 <artifactId>spring-cloud-dependencies</artifactId>
251                 <version>${spring.cloud.version}</version>
252                 <type>pom</type>
253                 <scope>import</scope>
254             </dependency>
255
256         </dependencies>
257     </dependencyManagement>
258
259     <build>
260
261         <pluginManagement>
262
263             <plugins>
264
265                 <!-- COMPILER PLUGIN -->
266                 <plugin>
267                     <groupId>org.apache.maven.plugins</groupId>
268                     <artifactId>maven-compiler-plugin</artifactId>
269                     <version>${maven-compiler-plugin.version}</version>
270                     <configuration>
271                         <fork>true</fork>
272                         <debug>true</debug>
273                         <meminitial>256m</meminitial>
274                         <maxmem>1024m</maxmem>
275                         <source>${compiler.target.version}</source>
276                         <target>${compiler.source.version}</target>
277                         <showWarnings>true</showWarnings>
278                         <showDeprecation>true</showDeprecation>
279                     </configuration>
280                 </plugin>
281
282                 <!-- MAVEN SOURCE PLUGIN -->
283                 <plugin>
284                     <groupId>org.apache.maven.plugins</groupId>
285                     <artifactId>maven-source-plugin</artifactId>
286                     <version>${maven-source-plugin.version}</version>
287                     <configuration>
288                         <excludeResources>true</excludeResources>
289                     </configuration>
290                     <executions>
291                         <execution>
292                             <id>attach-sources</id>
293                             <phase>verify</phase>
294                             <goals>
295                                 <goal>jar-no-fork</goal>
296                             </goals>
297                         </execution>
298                     </executions>
299                 </plugin>
300
301                 <!-- MAVEN JAVADOC PLUGIN -->
302                 <plugin>
303                     <groupId>org.apache.maven.plugins</groupId>
304                     <artifactId>maven-javadoc-plugin</artifactId>
305                     <version>${maven-javadoc-plugin.version}</version>
306                     <configuration>
307                         <!-- minimize console output messages -->
308                         <quiet>true</quiet>
309                         <verbose>false</verbose>
310                         <useStandardDocletOptions>false</useStandardDocletOptions>
311                     </configuration>
312                     <executions>
313                         <execution>
314                             <id>aggregate</id>
315                             <phase>site</phase>
316                             <goals>
317                                 <goal>aggregate</goal>
318                             </goals>
319                         </execution>
320                         <execution>
321                             <id>attach-javadoc</id>
322                             <goals>
323                                 <goal>jar</goal>
324                             </goals>
325                         </execution>
326                     </executions>
327                 </plugin>
328
329                 <!-- MAVEN DEPLOY PLUGIN -->
330                 <plugin>
331                     <artifactId>maven-deploy-plugin</artifactId>
332                     <version>${maven-deploy-plugin.version}</version>
333                     <configuration>
334                         <deployAtEnd>true</deployAtEnd>
335                     </configuration>
336                 </plugin>
337
338                 <!-- SUREFIRE TEST PLUGIN -->
339                 <plugin>
340                     <groupId>org.apache.maven.plugins</groupId>
341                     <artifactId>maven-surefire-plugin</artifactId>
342                     <version>${maven-surefire-plugin.version}</version>
343                     <configuration>
344                         <skipTests>${skip.unit.tests}</skipTests>
345                         <argLine>-Xmx2048m -Djava.awt.headless=true -XX:+UseConcMarkSweepGC
346                             -XX:OnOutOfMemoryError="kill -9 %p" -XX:+HeapDumpOnOutOfMemoryError ${surefireArgLine}
347                         </argLine>
348                         <redirectTestOutputToFile>${surefire.redirectTestOutputToFile}</redirectTestOutputToFile>
349                         <parallel>classesAndMethods</parallel>
350                         <threadCount>4</threadCount>
351                         <forkCount>4</forkCount>
352                         <reuseForks>false</reuseForks>
353                         <reportFormat>xml</reportFormat>
354                         <trimStackTrace>false</trimStackTrace>
355                         <systemPropertyVariables>
356                             <java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
357                             <logback.configurationFile>
358                                 ${basedir}/src/test/resources/logback-test.xml
359                             </logback.configurationFile>
360                             <logging.config>classpath:logback-test.xml</logging.config>
361                         </systemPropertyVariables>
362                         <includes>
363                             <include>${unit.test.pattern}</include>
364                         </includes>
365                         <excludes>
366                             <exclude>${integration.test.pattern}</exclude>
367                         </excludes>
368                     </configuration>
369                     <dependencies>
370                         <dependency>
371                             <groupId>org.junit.platform</groupId>
372                             <artifactId>junit-platform-surefire-provider</artifactId>
373                             <version>${junit-platform.version}</version>
374                         </dependency>
375                     </dependencies>
376                 </plugin>
377
378                 <!-- FAIL SAFE PLUGIN FOR INTEGRATION TEST -->
379                 <plugin>
380                     <groupId>org.apache.maven.plugins</groupId>
381                     <artifactId>maven-failsafe-plugin</artifactId>
382                     <version>${maven-failsafe-plugin.version}</version>
383                     <dependencies>
384                         <dependency>
385                             <groupId>org.junit.platform</groupId>
386                             <artifactId>junit-platform-surefire-provider</artifactId>
387                             <version>${junit-platform.version}</version>
388                         </dependency>
389                     </dependencies>
390                     <executions>
391                         <execution>
392                             <id>integration-tests</id>
393                             <goals>
394                                 <goal>integration-test</goal>
395                                 <goal>verify</goal>
396                             </goals>
397                             <configuration>
398                                 <argLine>${failsafeArgLine}</argLine>
399                                 <redirectTestOutputToFile>true</redirectTestOutputToFile>
400                                 <skipTests>${skip.integration.tests}</skipTests>
401                                 <includes>
402                                     <include>${integration.test.pattern}</include>
403                                 </includes>
404                                 <excludes>
405                                     <exclude>${unit.test.pattern}</exclude>
406                                 </excludes>
407                                 <systemPropertyVariables>
408                                     <java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
409                                     <logging.config>classpath:logback-test.xml</logging.config>
410                                 </systemPropertyVariables>
411                             </configuration>
412                         </execution>
413                     </executions>
414                 </plugin>
415
416
417                 <!-- FIND BUGS (STATIC CODE ANALYSIS) PLUGIN -->
418                 <plugin>
419                     <groupId>org.codehaus.mojo</groupId>
420                     <artifactId>findbugs-maven-plugin</artifactId>
421                     <version>${findbugs.plugin.version}</version>
422                     <configuration>
423                         <effort>Max</effort>
424                         <threshold>Low</threshold>
425                         <xmlOutput>true</xmlOutput>
426                         <!-- BUILD FAIL ON FINDBUGS ERRORS -->
427                         <failOnError>${findbugs.failOnError}</failOnError>
428                         <excludeFilterFile>${main.basedir}/findbugs-exclude.xml</excludeFilterFile>
429                         <outputDirectory>${project.reporting.outputDirectory}/findbugs</outputDirectory>
430                         <findbugsXmlOutputDirectory>${project.reporting.outputDirectory}/findbugs
431                         </findbugsXmlOutputDirectory>
432                     </configuration>
433                     <executions>
434                         <execution>
435                             <id>analyze-compile</id>
436                             <phase>compile</phase>
437                             <goals>
438                                 <goal>check</goal>
439                             </goals>
440                         </execution>
441                     </executions>
442                 </plugin>
443
444                 <!-- PMD PLUGIN SETUP -->
445                 <plugin>
446                     <groupId>org.apache.maven.plugins</groupId>
447                     <artifactId>maven-pmd-plugin</artifactId>
448                     <version>${pmd.plugin.version}</version>
449                     <configuration>
450                         <sourceEncoding>${project.build.sourceEncoding}</sourceEncoding>
451                         <targetJdk>${compiler.target.version}</targetJdk>
452                         <linkXRef>false</linkXRef>
453                         <excludes>
454                             <exclude>**/*Mixin.java</exclude>
455                         </excludes>
456                         <!-- BUILD FAIL ON PMD VIOLATION -->
457                         <failOnViolation>${pmd.violation.buildfail}</failOnViolation>
458                         <targetDirectory>${project.reporting.outputDirectory}/pmd</targetDirectory>
459                     </configuration>
460                     <executions>
461                         <execution>
462                             <id>pmd-check</id>
463                             <goals>
464                                 <goal>check</goal>
465                             </goals>
466                             <configuration>
467                                 <printFailingErrors>true</printFailingErrors>
468                                 <excludeFromFailureFile>${main.basedir}/pmd-exclude.properties</excludeFromFailureFile>
469                             </configuration>
470                         </execution>
471                         <execution>
472                             <id>cpd-check</id>
473                             <goals>
474                                 <goal>cpd-check</goal>
475                             </goals>
476                             <configuration>
477                                 <printFailingErrors>true</printFailingErrors>
478                                 <excludeFromFailureFile>${main.basedir}/cpd-exclude.properties</excludeFromFailureFile>
479                             </configuration>
480                         </execution>
481                     </executions>
482                 </plugin>
483
484                 <!-- CHECKSTYLE PLUGIN -->
485                 <plugin>
486                     <groupId>org.apache.maven.plugins</groupId>
487                     <artifactId>maven-checkstyle-plugin</artifactId>
488                     <version>${checkstyle.plugin.version}</version>
489                     <executions>
490                         <execution>
491                             <id>validate</id>
492                             <phase>validate</phase>
493                             <configuration>
494                                 <configLocation>${checkstyle.file.name}</configLocation>
495                                 <suppressionsLocation>${checkstyle.suppression.file.name}</suppressionsLocation>
496                                 <encoding>UTF-8</encoding>
497                                 <consoleOutput>true</consoleOutput>
498                                 <!-- BUILD FAIL ON CHECKSTYLE VIOLATION -->
499                                 <failOnViolation>${checkstyle.failOnViolation}</failOnViolation>
500                                 <includeTestSourceDirectory>true</includeTestSourceDirectory>
501                                 <outputFile>${project.reporting.outputDirectory}/checkstyle</outputFile>
502                             </configuration>
503                             <goals>
504                                 <goal>check</goal>
505                             </goals>
506                         </execution>
507                     </executions>
508                     <dependencies>
509                         <dependency>
510                             <groupId>com.puppycrawl.tools</groupId>
511                             <artifactId>checkstyle</artifactId>
512                             <version>6.19</version>
513                         </dependency>
514                     </dependencies>
515                 </plugin>
516
517                 <!-- LOMBOK PLUGIN -->
518                 <plugin>
519                     <groupId>org.projectlombok</groupId>
520                     <artifactId>lombok-maven-plugin</artifactId>
521                     <version>${lombok.plugin.version}</version>
522                     <executions>
523                         <execution>
524                             <id>delombok</id>
525                             <phase>generate-sources</phase>
526                             <goals>
527                                 <goal>delombok</goal>
528                             </goals>
529                             <configuration>
530                                 <addOutputDirectory>false</addOutputDirectory>
531                                 <sourceDirectory>src/main/java</sourceDirectory>
532                             </configuration>
533                         </execution>
534                     </executions>
535                 </plugin>
536
537                 <!-- GIT COMMIT ID PLUGIN -->
538                 <plugin>
539                     <groupId>pl.project13.maven</groupId>
540                     <artifactId>git-commit-id-plugin</artifactId>
541                     <version>${gitcommitid.plugin.version}</version>
542                     <executions>
543                         <execution>
544                             <id>generate-git-properties</id>
545                             <phase>generate-resources</phase>
546                             <goals>
547                                 <goal>revision</goal>
548                             </goals>
549                             <configuration>
550                                 <failOnNoGitDirectory>false</failOnNoGitDirectory>
551                                 <generateGitPropertiesFile>true</generateGitPropertiesFile>
552                                 <generateGitPropertiesFilename>
553                                     ${project.build.directory}/git/git.properties
554                                 </generateGitPropertiesFilename>
555                             </configuration>
556                         </execution>
557                     </executions>
558                 </plugin>
559
560                 <!-- JAR PLUGIN -->
561                 <plugin>
562                     <groupId>org.apache.maven.plugins</groupId>
563                     <artifactId>maven-jar-plugin</artifactId>
564                     <version>${maven-jar-plugin.version}</version>
565                     <configuration>
566                         <archive>
567                             <manifest>
568                                 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
569                             </manifest>
570                             <manifestEntries>
571                                 <Implementation-Build-Version>${project.version}</Implementation-Build-Version>
572                             </manifestEntries>
573                         </archive>
574                     </configuration>
575                 </plugin>
576
577
578                 <!-- ASSEMBLY PLUGIN -->
579                 <plugin>
580                     <groupId>org.apache.maven.plugins</groupId>
581                     <artifactId>maven-assembly-plugin</artifactId>
582                     <version>${maven-assembly-plugin.version}</version>
583                     <configuration>
584                         <descriptors>
585                             <descriptor>${main.basedir}/assembly/cdp-assembly-descriptor.xml</descriptor>
586                         </descriptors>
587                     </configuration>
588                     <executions>
589                         <execution>
590                             <id>cdp-assembly</id>
591                             <phase>package</phase>
592                             <goals>
593                                 <goal>single</goal>
594                             </goals>
595                         </execution>
596                     </executions>
597                 </plugin>
598
599                 <!-- BUILD HELPER PLUGIN -->
600                 <plugin>
601                     <groupId>org.codehaus.mojo</groupId>
602                     <artifactId>build-helper-maven-plugin</artifactId>
603                     <version>${maven.build.helper.plugin.version}</version>
604                 </plugin>
605
606                 <!-- SPRING BOOT PLUGIN -->
607                 <plugin>
608                     <groupId>org.springframework.boot</groupId>
609                     <artifactId>spring-boot-maven-plugin</artifactId>
610                     <version>${spring.boot.version}</version>
611                     <executions>
612                         <execution>
613                             <id>build-info</id>
614                             <goals>
615                                 <goal>build-info</goal>
616                             </goals>
617                         </execution>
618                         <execution>
619                             <id>spring-boot-uber-jar</id>
620                             <goals>
621                                 <goal>repackage</goal>
622                             </goals>
623                         </execution>
624                     </executions>
625                 </plugin>
626
627                 <!-- DOCKER PLUGIN -->
628                 <plugin>
629                     <groupId>com.spotify</groupId>
630                     <artifactId>dockerfile-maven-plugin</artifactId>
631                     <version>${dockerfile-maven-version}</version>
632                     <configuration>
633                         <repository>${docker.repository}/onap/${project.groupId}.${project.artifactId}</repository>
634                         <tag>${project.version}</tag>
635                     </configuration>
636                 </plugin>
637
638             </plugins>
639
640         </pluginManagement>
641
642
643         <plugins>
644
645             <plugin>
646                 <groupId>org.apache.maven.plugins</groupId>
647                 <artifactId>maven-compiler-plugin</artifactId>
648             </plugin>
649
650             <plugin>
651                 <groupId>org.apache.maven.plugins</groupId>
652                 <artifactId>maven-jar-plugin</artifactId>
653             </plugin>
654
655             <plugin>
656                 <groupId>org.apache.maven.plugins</groupId>
657                 <artifactId>maven-surefire-plugin</artifactId>
658             </plugin>
659
660             <plugin>
661                 <groupId>org.apache.maven.plugins</groupId>
662                 <artifactId>maven-failsafe-plugin</artifactId>
663             </plugin>
664
665             <plugin>
666                 <groupId>org.apache.maven.plugins</groupId>
667                 <artifactId>maven-source-plugin</artifactId>
668             </plugin>
669
670             <plugin>
671                 <groupId>org.apache.maven.plugins</groupId>
672                 <artifactId>maven-javadoc-plugin</artifactId>
673             </plugin>
674
675             <plugin>
676                 <groupId>org.apache.maven.plugins</groupId>
677                 <artifactId>maven-deploy-plugin</artifactId>
678             </plugin>
679
680             <plugin>
681                 <groupId>org.apache.maven.plugins</groupId>
682                 <artifactId>maven-pmd-plugin</artifactId>
683             </plugin>
684
685             <plugin>
686                 <groupId>org.codehaus.mojo</groupId>
687                 <artifactId>findbugs-maven-plugin</artifactId>
688             </plugin>
689
690             <plugin>
691                 <groupId>org.apache.maven.plugins</groupId>
692                 <artifactId>maven-checkstyle-plugin</artifactId>
693             </plugin>
694
695             <plugin>
696                 <groupId>org.jacoco</groupId>
697                 <artifactId>jacoco-maven-plugin</artifactId>
698             </plugin>
699
700         </plugins>
701     </build>
702
703 </project>