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