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