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