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