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