Release 5.0.5
[clamp.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4   ONAP CLAMP
5   ================================================================================
6   Copyright (C) 2017-2019 AT&T Intellectual Property. All rights
7                               reserved.
8   ================================================================================
9   Licensed under the Apache License, Version 2.0 (the "License");
10   you may not use this file except in compliance with the License.
11   You may obtain a copy of the License at
12
13   http://www.apache.org/licenses/LICENSE-2.0
14
15   Unless required by applicable law or agreed to in writing, software
16   distributed under the License is distributed on an "AS IS" BASIS,
17   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18   See the License for the specific language governing permissions and
19   limitations under the License.
20   ============LICENSE_END============================================
21   ===================================================================
22 -->
23 <project xmlns="http://maven.apache.org/POM/4.0.0"
24         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
26         <modelVersion>4.0.0</modelVersion>
27         <groupId>org.onap.clamp</groupId>
28         <artifactId>clds</artifactId>
29         <version>5.0.5-SNAPSHOT</version>
30         <name>clamp</name>
31
32
33         <parent>
34                 <groupId>org.onap.oparent</groupId>
35                 <artifactId>oparent</artifactId>
36                 <version>2.1.0</version>
37         </parent>
38
39         <description>
40                This is the MAVEN project that builds everything for ONAP CLAMP.
41                Docker engine is normally requires to perfom all possible tasks (including integration tests)
42
43            It can build:
44            - The ONAP CLAMP JAR that contains CLAMP back-end code.
45            - The DOCKER images for:
46                 * CLAMP backend (Java Spring)
47                 * CLAMP frontend (Javscript React)
48
49            It can test:
50             - The CLAMP backend, JAVA unit testing
51             - The CLAMP backend, JAVA integration tests (with Spring + docker mariadb database + docker policy/dcae emulator written in python)
52             - The CLAMP frontend, Javascrip tests (NodeJS(NPM) + JEST + Enzyme fro React)
53
54            The test coverage for dev's can be found after a "clean install" build in:
55             - Clamp backend: target/jacoco-dev.exec (unit tests + integration tests merged)
56                 or separately target/coverage-reports/jacoco.exec and target/coverage-reports/jacoco-it.exec
57             - Clamp frontend: target/ui-react/coverage
58
59            Useful mvn commands:
60             - mvn clean install: Build Clamp backend JAR + unit tests + integration tests + NPM tests (+coverage for all)
61             - mvn clean install -DskipITs=true: Build Clamp backend JAR + unit tests + NPM tests (+coverage for all), it does not require a DOCKER engine
62             - mvn clean install -DskipTests -P docker: Build Clamp backend JAR + all docker images
63
64            To start CLAMP (Build it before):
65             - Use docker-compose file in ./extra/docker/clamp/docker-compose.yml
66             - Use the script located in ./extra/bin/start-backend.sh + start-frontend.sh
67             - Use your IDE to use the Jar or start NVM/NPM
68
69         </description>
70
71         <properties>
72                 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
73                 <clamp.project.version>${project.version}</clamp.project.version>
74                 <clamp.build.timestamp>${maven.build.timestamp}</clamp.build.timestamp>
75                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
76                 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
77
78                 <eelf.core.version>1.0.0</eelf.core.version>
79                 <camel.version>2.25.0</camel.version>
80                 <springboot.version>2.2.5.RELEASE</springboot.version>
81
82                 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
83                 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
84                 <sonar.coverage.jacoco.xmlReportPaths>${project.build.directory}/jacoco-html-xml-reports/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
85                 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
86                 <sonar.projectVersion>${project.version}</sonar.projectVersion>
87                 <sonar.log.level>DEBUG</sonar.log.level>
88                 <sonar.nodejs.executable>${project.build.directory}/${ui.react.src}/node/node</sonar.nodejs.executable>
89                 <sonar.verbose>true</sonar.verbose>
90                 <sonar.sources>src/main,${project.build.directory}/${ui.react.src}/src</sonar.sources>
91                 <sonar.exclusions>src/main/resources/**</sonar.exclusions>
92                 <sonar.scm.exclusions.disabled>true</sonar.scm.exclusions.disabled>
93                 <sonar.javascript.lcov.reportPaths>${project.build.directory}/${ui.react.src}/coverage/lcov.info</sonar.javascript.lcov.reportPaths>
94                 <sonar.coverage.exclusions>src/main/resources/**,target/ui-react/src/**/*.test.js,target/ui-react/src/setupTests.js</sonar.coverage.exclusions>
95                 <docker.push.registry>localhost:5000</docker.push.registry>
96                 <docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry>
97                 <docker.skip.build>true</docker.skip.build>
98                 <docker.skip.push>true</docker.skip.push>
99                 <docker.skip.tag>true</docker.skip.tag>
100                 <skip.staging.artifacts>false</skip.staging.artifacts>
101                 <python.http.proxy.param />
102                 <tomcat.version>9.0.33</tomcat.version>
103                 <ui.react.src>ui-react</ui.react.src>
104                 <ui.react.lib.src>ui-react-lib</ui.react.lib.src>
105                 <npm.publish.url>https://nexus3.onap.org/repository/npm.snapshot/</npm.publish.url>
106         </properties>
107
108         <profiles>
109                 <!-- BEGIN: NOT USABLE profiles, those are defined when specific flags are enabled -->
110                 <profile>
111                         <id>without-test</id>
112                         <activation>
113                                 <property>
114                                         <name>maven.test.skip</name>
115                                         <value>true</value>
116                                 </property>
117                         </activation>
118                         <properties>
119                                 <docker.skip.run>true</docker.skip.run>
120                                 <docker.skip>true</docker.skip>
121                         </properties>
122                 </profile>
123                 <profile>
124                         <id>without-IT-only</id>
125                         <activation>
126                                 <property>
127                                         <name>skipITs</name>
128                                         <value>true</value>
129                                 </property>
130                         </activation>
131                         <properties>
132                                 <docker.skip.run>true</docker.skip.run>
133                                 <docker.skip>true</docker.skip>
134                         </properties>
135                 </profile>
136                 <profile>
137                         <id>without-IT-only2</id>
138                         <activation>
139                                 <property>
140                                         <name>skipTests</name>
141                                         <value>true</value>
142                                 </property>
143                         </activation>
144                         <properties>
145                                 <docker.skip.run>true</docker.skip.run>
146                                 <docker.skip>true</docker.skip>
147                         </properties>
148                 </profile>
149                 <!-- END: NOT USABLE profiles, those are defined when specific flags are enabled -->
150                 <profile>
151                         <id>docker</id>
152                         <properties>
153                                 <skip.staging.artifacts>true</skip.staging.artifacts>
154                                 <docker.skip.build>false</docker.skip.build>
155                                 <docker.skip.tag>false</docker.skip.tag>
156                                 <docker.skip.push>false</docker.skip.push>
157                                 <docker.skip>false</docker.skip>
158                         </properties>
159                 </profile>
160         </profiles>
161
162         <distributionManagement>
163                 <repository>
164                         <id>ecomp-releases</id>
165                         <name>Clamp Release Repository</name>
166                         <url>https://nexus.onap.org/content/repositories/releases/</url>
167                 </repository>
168                 <snapshotRepository>
169                         <id>ecomp-snapshots</id>
170                         <name>Clamp Snapshot Repository</name>
171                         <url>https://nexus.onap.org/content/repositories/snapshots/</url>
172                 </snapshotRepository>
173                 <site>
174                         <id>ecomp-site</id>
175                         <url>dav:https://nexus.onap.org/content/sites/site/org/onap/clamp/${project.version}</url>
176                 </site>
177         </distributionManagement>
178
179         <repositories>
180                 <repository>
181                         <id>onap-public</id>
182                         <name>onap-public</name>
183                         <url>https://nexus.onap.org/content/repositories/public/</url>
184                         <releases>
185                                 <enabled>true</enabled>
186                         </releases>
187                         <snapshots>
188                                 <enabled>false</enabled>
189                         </snapshots>
190                 </repository>
191                 <repository>
192                         <id>ecomp-releases</id>
193                         <name>ONAP Release Repository</name>
194                         <url>https://nexus.onap.org/content/repositories/releases/</url>
195                 </repository>
196                 <repository>
197                         <id>ecomp-staging</id>
198                         <name>ONAP Staging Repository</name>
199                         <url>https://nexus.onap.org/content/repositories/staging/</url>
200                 </repository>
201                 <repository>
202                         <id>ecomp-snapshots</id>
203                         <name>ONAP Snapshot Repository</name>
204                         <url>https://nexus.onap.org/content/repositories/snapshots/</url>
205                         <snapshots>
206                                 <enabled>true</enabled>
207                         </snapshots>
208                         <releases>
209                                 <enabled>false</enabled>
210                         </releases>
211                 </repository>
212                 <repository>
213                         <id>central</id>
214                         <url>http://repo1.maven.org/maven2/</url>
215                 </repository>
216         </repositories>
217         <pluginRepositories>
218                 <pluginRepository>
219                         <id>onap-public</id>
220                         <name>onap-public</name>
221                         <url>https://nexus.onap.org/content/repositories/public/</url>
222                         <releases>
223                                 <enabled>true</enabled>
224                         </releases>
225                         <snapshots>
226                                 <enabled>false</enabled>
227                         </snapshots>
228                 </pluginRepository>
229                 <pluginRepository>
230                         <id>central</id>
231                         <url>http://repo1.maven.org/maven2/</url>
232                 </pluginRepository>
233         </pluginRepositories>
234
235         <dependencyManagement>
236                 <dependencies>
237                         <!-- Spring Boot BOM -->
238                         <dependency>
239                                 <groupId>org.springframework.boot</groupId>
240                                 <artifactId>spring-boot-dependencies</artifactId>
241                                 <version>${springboot.version}</version>
242                                 <type>pom</type>
243                                 <scope>import</scope>
244                         </dependency>
245                         <!-- Camel BOM -->
246                         <dependency>
247                                 <groupId>org.apache.camel</groupId>
248                                 <artifactId>camel-spring-boot-dependencies</artifactId>
249                                 <version>${camel.version}</version>
250                                 <type>pom</type>
251                                 <scope>import</scope>
252                         </dependency>
253                 </dependencies>
254         </dependencyManagement>
255
256         <dependencies>
257                 <dependency>
258                         <groupId>org.apache.xmlgraphics</groupId>
259                         <artifactId>batik-svggen</artifactId>
260                         <version>1.11</version>
261                         <exclusions>
262                         <exclusion>
263                                 <groupId>xml-apis</groupId>
264                                 <artifactId>xml-apis</artifactId>
265                         </exclusion>
266                         </exclusions>
267                 </dependency>
268                 <dependency>
269                         <groupId>org.apache.xmlgraphics</groupId>
270                         <artifactId>batik-svg-dom</artifactId>
271                         <version>1.11</version>
272                         <exclusions>
273                                 <exclusion>
274                                         <groupId>xml-apis</groupId>
275                                         <artifactId>xml-apis</artifactId>
276                                 </exclusion>
277                         </exclusions>
278                 </dependency>
279                 <dependency>
280                         <groupId>org.apache.xmlgraphics</groupId>
281                         <artifactId>batik-transcoder</artifactId>
282                         <version>1.11</version>
283                         <exclusions>
284                                 <exclusion>
285                                         <groupId>xml-apis</groupId>
286                                         <artifactId>xml-apis</artifactId>
287                                 </exclusion>
288                         </exclusions>
289                 </dependency>
290                 <dependency>
291                         <groupId>com.att.eelf</groupId>
292                         <artifactId>eelf-core</artifactId>
293                         <version>${eelf.core.version}</version>
294                         <exclusions>
295                                 <exclusion>
296                                         <groupId>org.powermock</groupId>
297                                         <artifactId>powermock-module-junit4</artifactId>
298                                 </exclusion>
299                                 <exclusion>
300                                         <groupId>org.powermock</groupId>
301                                         <artifactId>powermock-api-mockito</artifactId>
302                                 </exclusion>
303                         </exclusions>
304                 </dependency>
305                 <dependency>
306                         <groupId>org.codehaus.janino</groupId>
307                         <artifactId>janino</artifactId>
308                         <version>3.0.8</version>
309                 </dependency>
310                 <dependency>
311                         <groupId>org.apache.tomcat.embed</groupId>
312                         <artifactId>tomcat-embed-core</artifactId>
313                         <version>${tomcat.version}</version>
314                 </dependency>
315                 <dependency>
316                         <groupId>org.apache.tomcat.embed</groupId>
317                         <artifactId>tomcat-embed-el</artifactId>
318                         <version>${tomcat.version}</version>
319                 </dependency>
320                 <dependency>
321                         <groupId>org.apache.tomcat.embed</groupId>
322                         <artifactId>tomcat-embed-websocket</artifactId>
323                         <version>${tomcat.version}</version>
324                 </dependency>
325                 <dependency>
326                         <groupId>org.apache.tomcat</groupId>
327                         <artifactId>tomcat-annotations-api</artifactId>
328                         <version>${tomcat.version}</version>
329                 </dependency>
330                 <!-- For CAMEL -->
331                 <dependency>
332                         <groupId>org.apache.camel</groupId>
333                         <artifactId>camel-http4-starter</artifactId>
334                 </dependency>
335                 <dependency>
336                         <groupId>org.apache.camel</groupId>
337                         <artifactId>camel-spring-boot-starter</artifactId>
338                 </dependency>
339                 <dependency>
340                         <groupId>org.apache.camel</groupId>
341                         <artifactId>camel-jaxb-starter</artifactId>
342                 </dependency>
343                 <dependency>
344                         <groupId>org.apache.camel</groupId>
345                         <artifactId>camel-servlet-starter</artifactId>
346                 </dependency>
347                 <dependency>
348                         <groupId>org.apache.camel</groupId>
349                         <artifactId>camel-gson-starter</artifactId>
350                 </dependency>
351                 <dependency>
352                         <groupId>org.apache.camel</groupId>
353                         <artifactId>camel-swagger-java-starter</artifactId>
354                         <exclusions>
355                                 <exclusion>
356                                         <groupId>javax.ws.rs</groupId>
357                                         <artifactId>jsr311-api</artifactId>
358                                 </exclusion>
359                                 <exclusion>
360                                         <groupId>org.slf4j</groupId>
361                                         <artifactId>slf4j-ext</artifactId>
362                                 </exclusion>
363                                 <exclusion>
364                                         <groupId>com.fasterxml.jackson.core</groupId>
365                                         <artifactId>jackson-databind</artifactId>
366                                 </exclusion>
367                         </exclusions>
368                 </dependency>
369                 <dependency>
370                         <groupId>javax.xml.ws</groupId>
371                         <artifactId>jaxws-api</artifactId>
372                         <version>2.3.1</version>
373                 </dependency>
374                 <dependency>
375                         <groupId>javax.xml.bind</groupId>
376                         <artifactId>jaxb-api</artifactId>
377                         <version>2.3.0</version>
378                 </dependency>
379                 <dependency>
380                         <groupId>org.glassfish.jersey.core</groupId>
381                         <artifactId>jersey-common</artifactId>
382                         <version>2.27</version>
383                 </dependency>
384                 <!-- Spring famework -->
385                 <dependency>
386                         <groupId>org.springframework.boot</groupId>
387                         <artifactId>spring-boot-starter-web</artifactId>
388                         <exclusions>
389                                 <exclusion>
390                                         <groupId>org.springframework.boot</groupId>
391                                         <artifactId>spring-boot-starter-json</artifactId>
392                                 </exclusion>
393                         </exclusions>
394                 </dependency>
395                 <dependency>
396                         <groupId>org.springframework.boot</groupId>
397                         <artifactId>spring-boot-starter-tomcat</artifactId>
398                 </dependency>
399                 <dependency>
400                         <groupId>org.springframework</groupId>
401                         <artifactId>spring-jdbc</artifactId>
402                 </dependency>
403                 <dependency>
404                         <groupId>org.springframework.boot</groupId>
405                         <artifactId>spring-boot-starter-security</artifactId>
406                 </dependency>
407                 <dependency>
408                         <groupId>org.springframework.boot</groupId>
409                         <artifactId>spring-boot-autoconfigure</artifactId>
410                 </dependency>
411                 <dependency>
412                         <groupId>org.springframework.boot</groupId>
413                         <artifactId>spring-boot-starter-test</artifactId>
414                         <scope>test</scope>
415                         <exclusions>
416                                 <exclusion>
417                                         <groupId>com.vaadin.external.google</groupId>
418                                         <artifactId>android-json</artifactId>
419                                 </exclusion>
420                         </exclusions>
421                 </dependency>
422                 <dependency>
423                         <groupId>org.springframework.boot</groupId>
424                         <artifactId>spring-boot-starter-data-jpa</artifactId>
425                 </dependency>
426                 <!-- Others dependencies -->
427                 <dependency>
428                         <groupId>org.onap.aaf.authz</groupId>
429                         <artifactId>aaf-cadi-aaf</artifactId>
430                         <version>2.1.15</version>
431                         <exclusions>
432                                 <exclusion>
433                                         <groupId>javax.servlet</groupId>
434                                         <artifactId>servlet-api</artifactId>
435                                 </exclusion>
436                                 <exclusion>
437                                         <groupId>log4j</groupId>
438                                         <artifactId>log4j</artifactId>
439                                 </exclusion>
440                         </exclusions>
441                 </dependency>
442                 <dependency>
443                         <groupId>ch.qos.logback</groupId>
444                         <artifactId>logback-core</artifactId>
445                         <version>1.2.3</version>
446                 </dependency>
447                 <dependency>
448                         <groupId>ch.qos.logback</groupId>
449                         <artifactId>logback-classic</artifactId>
450                         <version>1.2.3</version>
451                 </dependency>
452                 <dependency>
453                         <groupId>commons-dbcp</groupId>
454                         <artifactId>commons-dbcp</artifactId>
455                         <version>1.4</version>
456                 </dependency>
457                 <dependency>
458                         <groupId>commons-io</groupId>
459                         <artifactId>commons-io</artifactId>
460                         <version>2.6</version>
461                 </dependency>
462                 <dependency>
463                         <groupId>com.googlecode.json-simple</groupId>
464                         <artifactId>json-simple</artifactId>
465                         <version>1.1.1</version>
466                 </dependency>
467                 <dependency>
468                         <groupId>org.apache.commons</groupId>
469                         <artifactId>commons-vfs2</artifactId>
470                         <version>2.2</version>
471                 </dependency>
472                 <dependency>
473                         <groupId>joda-time</groupId>
474                         <artifactId>joda-time</artifactId>
475                 </dependency>
476                 <dependency>
477                         <groupId>org.slf4j</groupId>
478                         <artifactId>slf4j-api</artifactId>
479                 </dependency>
480                 <dependency>
481                         <groupId>javax.ws.rs</groupId>
482                         <artifactId>javax.ws.rs-api</artifactId>
483                         <version>2.0</version>
484                 </dependency>
485                 <dependency>
486                         <groupId>junit</groupId>
487                         <artifactId>junit</artifactId>
488                 </dependency>
489                 <dependency>
490                         <groupId>javax.transaction</groupId>
491                         <artifactId>jta</artifactId>
492                         <version>1.1</version>
493                 </dependency>
494                 <dependency>
495                         <groupId>javax.persistence</groupId>
496                         <artifactId>persistence-api</artifactId>
497                         <version>1.0.2</version>
498                 </dependency>
499                 <dependency>
500                         <groupId>org.apache.commons</groupId>
501                         <artifactId>commons-csv</artifactId>
502                         <version>1.3</version>
503                 </dependency>
504                 <!-- Other dependencies to fix nexus IQ reported vulnerabilities -->
505                 <dependency>
506                         <groupId>org.codehaus.plexus</groupId>
507                         <artifactId>plexus-utils</artifactId>
508                         <version>3.0.24</version>
509                 </dependency>
510                 <dependency>
511                         <groupId>org.jboss.spec.javax.ws.rs</groupId>
512                         <artifactId>jboss-jaxrs-api_2.0_spec</artifactId>
513                         <version>1.0.1.Final</version>
514                 </dependency>
515                 <dependency>
516                         <groupId>com.google.guava</groupId>
517                         <artifactId>guava</artifactId>
518                         <version>27.0-jre</version>
519                 </dependency>
520                 <dependency>
521                         <groupId>commons-codec</groupId>
522                         <artifactId>commons-codec</artifactId>
523                         <version>1.13</version>
524                 </dependency>
525                 <!-- Remove the MYSQL connector and replace it by Mariadb -->
526                 <dependency>
527                         <groupId>org.mariadb.jdbc</groupId>
528                         <artifactId>mariadb-java-client</artifactId>
529                         <version>2.2.1</version>
530                 </dependency>
531                 <!-- For SDC Controller -->
532                 <dependency>
533                         <groupId>org.onap.sdc.sdc-distribution-client</groupId>
534                         <artifactId>sdc-distribution-client</artifactId>
535                         <version>1.3.0</version>
536                 </dependency>
537                 <dependency>
538                         <groupId>org.onap.sdc.sdc-tosca</groupId>
539                         <artifactId>sdc-tosca</artifactId>
540                         <version>1.5.1</version>
541                 </dependency>
542                 <dependency>
543                         <groupId>org.yaml</groupId>
544                         <artifactId>snakeyaml</artifactId>
545                         <version>1.26</version>
546                 </dependency>
547                 <dependency>
548                         <groupId>org.dom4j</groupId>
549                         <artifactId>dom4j</artifactId>
550                         <version>2.1.3</version>
551                 </dependency>
552
553                 <!-- TESTING -->
554                 <dependency>
555                         <groupId>org.assertj</groupId>
556                         <artifactId>assertj-core</artifactId>
557                         <version>3.10.0</version>
558                         <scope>test</scope>
559                 </dependency>
560                 <dependency>
561                         <groupId>org.mockito</groupId>
562                         <artifactId>mockito-core</artifactId>
563                         <version>2.28.2</version>
564                         <scope>test</scope>
565                 </dependency>
566                 <dependency>
567                         <groupId>org.powermock</groupId>
568                         <artifactId>powermock-api-mockito2</artifactId>
569                         <version>2.0.4</version>
570                         <scope>test</scope>
571                 </dependency>
572                 <dependency>
573                         <groupId>org.powermock</groupId>
574                         <artifactId>powermock-module-junit4</artifactId>
575                         <version>2.0.4</version>
576                         <scope>test</scope>
577                 </dependency>
578         </dependencies>
579
580         <build>
581                 <finalName>clamp</finalName>
582
583                 <testResources>
584                         <testResource>
585                                 <directory>src/main/resources</directory>
586                                 <filtering>true</filtering>
587                                 <excludes>
588                                         <exclude>clds/aaf/**</exclude>
589                                 </excludes>
590                         </testResource>
591                         <testResource>
592                                 <directory>src/main/resources</directory>
593                                 <filtering>false</filtering>
594                                 <includes>
595                                         <include>clds/aaf/**</include>
596                                 </includes>
597                         </testResource>
598                         <testResource>
599                                 <directory>src/test/resources</directory>
600                                 <excludes>
601                                         <exclude>**/*.jks</exclude>
602                                         <exclude>**/*.csar</exclude>
603                                 </excludes>
604                                 <filtering>true</filtering>
605                         </testResource>
606                         <testResource>
607                                 <directory>src/test/resources/https</directory>
608                                 <includes>
609                                         <include>**.jks</include>
610                                 </includes>
611                                 <filtering>false</filtering>
612                                 <targetPath>https</targetPath>
613                         </testResource>
614                         <testResource>
615                                 <directory>src/test/resources/example/sdc</directory>
616                                 <includes>
617                                         <include>**.csar</include>
618                                 </includes>
619                                 <filtering>false</filtering>
620                                 <targetPath>example/sdc</targetPath>
621                         </testResource>
622                 </testResources>
623                 <resources>
624                         <!-- For AAF folder maven should not try to filter Keystores/Truststores ... Otherwise
625                                 they will be broken and unreadable -->
626                         <resource>
627                                 <directory>src/main/resources</directory>
628                                 <filtering>true</filtering>
629                                 <excludes>
630                                         <exclude>clds/aaf/**</exclude>
631                                 </excludes>
632                         </resource>
633                         <resource>
634                                 <directory>src/main/resources</directory>
635                                 <filtering>false</filtering>
636                                 <includes>
637                                         <include>clds/aaf/**</include>
638                                 </includes>
639                         </resource>
640                         <resource>
641                                 <directory>${ui.react.src}</directory>
642                                 <excludes>
643                                         <exclude>node_modules</exclude>
644                                 </excludes>
645                                 <includes>
646                                         <include>src/**</include>
647                                         <include>public/**</include>
648                                         <include>package.json</include>
649                                         <include>package-lock.json</include>
650                                 </includes>
651                                 <filtering>true</filtering>
652                                 <targetPath>${project.build.directory}/${ui.react.src}</targetPath>
653                         </resource>
654                         <resource>
655                                 <directory>${ui.react.src}</directory>
656                                 <includes>
657                                         <include>src/**</include>
658                                 </includes>
659                                 <excludes>
660                                         <exclude>**/__snapshots__/**</exclude>
661                                         <exclude>**/**.test.js</exclude>
662                                 </excludes>
663                                 <filtering>true</filtering>
664                                 <targetPath>${project.build.directory}/${ui.react.lib.src}</targetPath>
665                         </resource>
666                         <resource>
667                                 <directory>${ui.react.lib.src}</directory>
668                                 <includes>
669                                         <include>**</include>
670                                 </includes>
671                                 <excludes>
672                                         <exclude>node_modules/**</exclude>
673                                         <exclude>package-lock.json</exclude>
674                                 </excludes>
675                                 <filtering>true</filtering>
676                                 <targetPath>${project.build.directory}/${ui.react.lib.src}</targetPath>
677                         </resource>
678                 </resources>
679
680                 <plugins>
681                         <plugin>
682                                         <groupId>de.jpdigital</groupId>
683                                         <artifactId>hibernate52-ddl-maven-plugin</artifactId>
684                                         <version>2.2.0</version>
685                                 <dependencies>
686                                         <dependency>
687                                                 <groupId>javax.xml.bind</groupId>
688                                                 <artifactId>jaxb-api</artifactId>
689                                                 <version>2.3.0</version>
690                                         </dependency>
691                                 </dependencies>
692                                 <executions>
693                                         <execution>
694                                                 <phase>process-classes</phase>
695                                                 <goals>
696                                                         <goal>gen-ddl</goal>
697                                                 </goals>
698                                                 <configuration>
699                                                         <packages>
700                                                                 <param>org.onap.clamp</param>
701                                                         </packages>
702                                                         <dialects>
703                                                                 <param>MARIADB53</param>
704                                                         </dialects>
705                                                         <outputDirectory>${project.basedir}/extra/sql/bulkload/</outputDirectory>
706                                                         <outputFileNameSuffix>create-tables</outputFileNameSuffix>
707                                                         <!-- <createDropStatements>true</createDropStatements> -->
708                                                         <omitDialectFromFileName>true</omitDialectFromFileName>
709                                                 </configuration>
710                                         </execution>
711                                 </executions>
712
713                         </plugin>
714                         <!-- Read the swagger.json file and the definition from SwaggerConfig.java; generate
715                                 a list of .adoc files containing the APIs info in more structured way -->
716                         <plugin>
717                                 <groupId>io.github.swagger2markup</groupId>
718                                 <artifactId>swagger2markup-maven-plugin</artifactId>
719                                 <version>1.3.3</version>
720                                 <dependencies>
721                                         <dependency>
722                                                 <groupId>io.github.swagger2markup</groupId>
723                                                 <artifactId>swagger2markup-import-files-ext</artifactId>
724                                                 <version>1.3.3</version>
725                                         </dependency>
726                                         <dependency>
727                                                 <groupId>io.github.swagger2markup</groupId>
728                                                 <artifactId>swagger2markup-spring-restdocs-ext</artifactId>
729                                                 <version>1.3.3</version>
730                                         </dependency>
731                                 </dependencies>
732                                 <configuration>
733                                         <swaggerInput>${project.basedir}/docs/swagger/swagger.json</swaggerInput>
734                                         <outputDir>${project.build.directory}/asciidoc/generated</outputDir>
735                                         <config>
736                                                 <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage>
737                                         </config>
738                                 </configuration>
739                                 <executions>
740                                         <execution>
741                                                 <phase>post-integration-test</phase>
742                                                 <goals>
743                                                         <goal>convertSwagger2markup</goal>
744                                                 </goals>
745                                         </execution>
746                                 </executions>
747                         </plugin>
748
749                         <!-- Run the generated asciidoc through Asciidoctor to generate other documentation
750                                 types, such as PDFs or HTML5 -->
751                         <plugin>
752                                 <groupId>org.asciidoctor</groupId>
753                                 <artifactId>asciidoctor-maven-plugin</artifactId>
754                                 <version>1.5.7.1</version>
755                                 <dependencies>
756                                         <dependency>
757                                                 <groupId>org.asciidoctor</groupId>
758                                                 <artifactId>asciidoctorj-pdf</artifactId>
759                                                 <version>1.5.0-alpha.10.1</version>
760                                         </dependency>
761                                 </dependencies>
762                                 <configuration>
763                                         <sourceDirectory>${project.basedir}/src/main/resources/asciidoc</sourceDirectory>
764                                         <sourceDocumentName>swagger.adoc</sourceDocumentName>
765                                         <attributes>
766                                                 <doctype>book</doctype>
767                                                 <toc>left</toc>
768                                                 <toclevels>3</toclevels>
769                                                 <numbered />
770                                                 <hardbreaks />
771                                                 <sectlinks />
772                                                 <sectanchors />
773                                                 <generated>${project.build.directory}/asciidoc/generated</generated>
774                                         </attributes>
775                                 </configuration>
776
777                                 <executions>
778                                         <execution>
779                                                 <id>output-html</id>
780                                                 <phase>post-integration-test</phase>
781                                                 <goals>
782                                                         <goal>process-asciidoc</goal>
783                                                 </goals>
784                                                 <configuration>
785                                                         <backend>html5</backend>
786                                                         <outputDirectory>${project.basedir}/docs/swagger</outputDirectory>
787                                                         <outputDirectory>${project.basedir}/src/main/resources/META-INF/resources/</outputDirectory>
788                                                 </configuration>
789                                         </execution>
790                                         <execution>
791                                                 <id>output-pdf</id>
792                                                 <phase>post-integration-test</phase>
793                                                 <goals>
794                                                         <goal>process-asciidoc</goal>
795                                                 </goals>
796                                                 <configuration>
797                                                         <backend>pdf</backend>
798                                                         <outputDirectory>${project.basedir}/docs/swagger</outputDirectory>
799                                                 </configuration>
800                                         </execution>
801                                 </executions>
802                         </plugin>
803                         <plugin>
804                                 <groupId>org.codehaus.groovy.maven</groupId>
805                                 <artifactId>gmaven-plugin</artifactId>
806                                 <version>1.0</version>
807                                 <executions>
808                                         <execution>
809                                                 <id>docker-tags</id>
810                                                 <phase>validate</phase>
811                                                 <goals>
812                                                         <goal>execute</goal>
813                                                 </goals>
814                                                 <configuration>
815                                                         <source>${project.basedir}/src/main/script/TagVersion.groovy</source>
816                                                 </configuration>
817                                         </execution>
818                                         <execution>
819                                                 <id>npm-repos-selection</id>
820                                                 <phase>validate</phase>
821                                                 <goals>
822                                                         <goal>execute</goal>
823                                                 </goals>
824                                                 <configuration>
825                                                         <source>${project.basedir}/src/main/script/SelectNpmRepo.groovy</source>
826                                                 </configuration>
827                                         </execution>
828                                 </executions>
829                         </plugin>
830                         <plugin>
831                                 <groupId>org.apache.maven.plugins</groupId>
832                                 <artifactId>maven-jar-plugin</artifactId>
833                                 <version>3.0.2</version>
834                                 <executions>
835                                         <execution>
836                                                 <id>jar-with-only-classes</id>
837                                                 <phase>package</phase>
838                                                 <goals>
839                                                         <goal>jar</goal>
840                                                 </goals>
841                                                 <configuration>
842                                                         <classifier>classes</classifier>
843                                                         <includes>
844                                                                 <include>org/**</include>
845                                                         </includes>
846                                                 </configuration>
847                                         </execution>
848                                 </executions>
849                         </plugin>
850                         <plugin>
851                                 <groupId>org.codehaus.mojo</groupId>
852                                 <artifactId>build-helper-maven-plugin</artifactId>
853                                 <version>3.0.0</version>
854                                 <executions>
855                                         <execution>
856                                                 <goals>
857                                                         <goal>attach-artifact</goal>
858                                                 </goals>
859                                                 <phase>package</phase>
860                                                 <configuration>
861                                                         <artifacts>
862                                                                 <artifact>
863                                                                         <file>${project.build.directory}/clamp-classes.jar</file>
864                                                                         <type>jar</type>
865                                                                         <classifier>classes</classifier>
866                                                                 </artifact>
867                                                         </artifacts>
868                                                 </configuration>
869                                         </execution>
870                                         <execution>
871                                                 <id>reserve-port-for-tests</id>
872                                                 <phase>process-resources</phase>
873                                                 <goals>
874                                                         <goal>reserve-network-port</goal>
875                                                 </goals>
876                                                 <configuration>
877                                                         <portNames>
878                                                                 <portName>docker.mariadb.port.host</portName>
879                                                                 <portName>docker.http-cache.port.host</portName>
880                                                                 <portName>clamp.it.tests.http-redirected</portName>
881                                                                 <portName>clamp.it.tests.https</portName>
882                                                                 <portName>clamp.it.tests.http</portName>
883                                                         </portNames>
884                                                 </configuration>
885                                         </execution>
886                                 </executions>
887                         </plugin>
888
889                         <plugin>
890                                 <groupId>org.springframework.boot</groupId>
891                                 <artifactId>spring-boot-maven-plugin</artifactId>
892                                 <version>${springboot.version}</version>
893                                 <executions>
894                                         <execution>
895                                                 <goals>
896                                                         <goal>repackage</goal>
897                                                 </goals>
898                                                 <phase>package</phase>
899                                         </execution>
900                                 </executions>
901                         </plugin>
902                         <plugin>
903                                 <groupId>org.apache.maven.plugins</groupId>
904                                 <artifactId>maven-surefire-plugin</artifactId>
905                                 <version>2.22.2</version>
906                                 <configuration>
907                                         <forkCount>1C</forkCount>
908                                         <reuseForks>true</reuseForks>
909                                         <useSystemClassLoader>false</useSystemClassLoader>
910                                         <argLine>${surefireArgLine}</argLine>
911                                 </configuration>
912                         </plugin>
913
914                         <plugin>
915                                 <groupId>org.apache.maven.plugins</groupId>
916                                 <artifactId>maven-failsafe-plugin</artifactId>
917                                 <version>2.22.2</version>
918                                 <executions>
919                                         <execution>
920                                                 <id>integration-tests</id>
921                                                 <goals>
922                                                         <goal>integration-test</goal>
923                                                         <goal>verify</goal>
924                                                 </goals>
925                                                 <configuration>
926                                                         <additionalClasspathElements>
927                                                                 <additionalClasspathElement>${project.build.directory}/classes</additionalClasspathElement>
928                                                         </additionalClasspathElements>
929                                                         <includes>
930                                                                 <include>**/*ItCase.java</include>
931                                                         </includes>
932                                                         <forkCount>1C</forkCount>
933                                                         <reuseForks>true</reuseForks>
934                                                         <useSystemClassLoader>false</useSystemClassLoader>
935                                                         <argLine>${failsafeArgLine}</argLine>
936                                                 </configuration>
937                                         </execution>
938                                 </executions>
939                         </plugin>
940                         <plugin>
941                                 <groupId>io.fabric8</groupId>
942                                 <artifactId>docker-maven-plugin</artifactId>
943                                 <version>0.31.0</version>
944                                 <dependencies>
945                                         <dependency>
946                                                 <groupId>org.apache.httpcomponents</groupId>
947                                                 <artifactId>httpclient</artifactId>
948                                                 <version>4.5.5</version>
949                                         </dependency>
950                                 </dependencies>
951                                 <configuration>
952                                         <verbose>true</verbose>
953                                         <apiVersion>1.35</apiVersion>
954                                         <images>
955                                                 <image>
956                                                         <name>library/mariadb:10.3.12</name>
957                                                         <alias>mariadb</alias>
958                                                         <run>
959                                                                 <env>
960                                                                         <MYSQL_ROOT_PASSWORD>strong_pitchou</MYSQL_ROOT_PASSWORD>
961                                                                 </env>
962                                                                 <hostname>mariadb</hostname>
963                                                                 <volumes>
964                                                                         <bind>
965                                                                                 <volume>${project.basedir}/extra/sql/:/docker-entrypoint-initdb.d:rw</volume>
966                                                                                 <volume>${project.basedir}/extra/docker/mariadb/conf1:/etc/mysql/conf.d</volume>
967                                                                         </bind>
968                                                                 </volumes>
969                                                                 <wait>
970                                                                         <log>socket: '/var/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution</log>
971                                                                         <time>600000</time>
972                                                                         <exec>
973                                                                                 <preStop>/docker-entrypoint-initdb.d/dump/backup-data-only.sh</preStop>
974                                                                         </exec>
975                                                                 </wait>
976                                                                 <ports>
977                                                                         <port>${docker.mariadb.port.host}:3306</port>
978                                                                 </ports>
979                                                                 <network>
980                                                                         <mode>bridge</mode>
981                                                                 </network>
982                                                         </run>
983                                                 </image>
984                                                 <image>
985                                                         <name>library/python:2-slim</name>
986                                                         <alias>python</alias>
987                                                         <run>
988                                                                 <hostname>python</hostname>
989                                                                 <volumes>
990                                                                         <bind>
991                                                                                 <volume>${project.basedir}/src/test/resources/http-cache/:/usr/src/http-cache-app</volume>
992                                                                                 <volume>${project.basedir}/src/test/resources/http-cache/example/:/usr/src/http-cache-app/data-cache</volume>
993                                                                         </bind>
994                                                                 </volumes>
995                                                                 <wait>
996                                                                         <tcp>
997                                                                                 <ports>
998                                                                                         <port>8080</port>
999                                                                                 </ports>
1000                                                                                 <mode>direct</mode>
1001                                                                         </tcp>
1002                                                                         <time>120000</time>
1003                                                                 </wait>
1004                                                                 <ports>
1005                                                                         <port>${docker.http-cache.port.host}:8080</port>
1006                                                                 </ports>
1007                                                                 <workingDir>/usr/src/http-cache-app</workingDir>
1008                                                                 <cmd>
1009                                                                         <shell>./start_http_cache.sh ${python.http.proxy.param}
1010                                                                                 --python_proxyaddress=localhost:${docker.http-cache.port.host}</shell>
1011                                                                 </cmd>
1012                                                                 <network>
1013                                                                         <mode>bridge</mode>
1014                                                                 </network>
1015                                                         </run>
1016                                                 </image>
1017                                                 <image>
1018                                                         <name>onap/clamp-backend</name>
1019                                                         <alias>onap-clamp-backend</alias>
1020                                                         <run>
1021                                                                 <skip>true</skip>
1022                                                         </run>
1023                                                         <build>
1024                                                                 <cleanup>true</cleanup>
1025                                                                 <tags>
1026                                                                         <tag>latest</tag>
1027                                                                         <tag>${project.docker.latesttagtimestamp.version}</tag>
1028                                                                         <tag>${project.docker.latesttag.version}</tag>
1029                                                                 </tags>
1030                                                                 <!-- A relative path is looked up in ${project.basedir}/src/main/docker by
1031                                                                         default -->
1032                                                                 <dockerFile>backend/Dockerfile</dockerFile>
1033                                                                 <assembly>
1034                                                                         <descriptor>backend/backend-files.xml</descriptor>
1035                                                                         <name>onap-clamp-backend</name>
1036                                                                 </assembly>
1037                                                         </build>
1038                                                 </image>
1039                                                 <image>
1040                                                         <name>onap/clamp-frontend</name>
1041                                                         <alias>onap-clamp-frontend</alias>
1042                                                         <run>
1043                                                                 <skip>true</skip>
1044                                                         </run>
1045                                                         <build>
1046                                                                 <cleanup>true</cleanup>
1047                                                                 <tags>
1048                                                                         <tag>latest</tag>
1049                                                                         <tag>${project.docker.latesttagtimestamp.version}</tag>
1050                                                                         <tag>${project.docker.latesttag.version}</tag>
1051                                                                 </tags>
1052                                                                 <!-- A relative path is looked up in ${project.basedir}/src/main/docker by
1053                                                                         default -->
1054                                                                 <dockerFile>frontend/Dockerfile</dockerFile>
1055                                                                 <assembly>
1056                                                                         <descriptor>frontend/frontend-files.xml</descriptor>
1057                                                                         <name>onap-clamp-frontend</name>
1058                                                                 </assembly>
1059                                                         </build>
1060                                                 </image>
1061                                         </images>
1062                                 </configuration>
1063
1064                                 <executions>
1065                                         <execution>
1066                                                 <id>generate-images</id>
1067                                                 <phase>install</phase>
1068                                                 <goals>
1069                                                         <goal>build</goal>
1070                                                 </goals>
1071                                         </execution>
1072                                         <execution>
1073                                                 <id>push-images</id>
1074                                                 <phase>deploy</phase>
1075                                                 <goals>
1076                                                         <goal>push</goal>
1077                                                 </goals>
1078                                         </execution>
1079                                         <execution>
1080                                                 <id>docker-start-for-it</id>
1081                                                 <phase>pre-integration-test</phase>
1082                                                 <goals>
1083                                                         <goal>start</goal>
1084                                                 </goals>
1085                                         </execution>
1086                                         <execution>
1087                                                 <id>docker-stop-for-it</id>
1088                                                 <phase>post-integration-test</phase>
1089                                                 <goals>
1090                                                         <goal>stop</goal>
1091                                                 </goals>
1092                                         </execution>
1093                                 </executions>
1094                         </plugin>
1095
1096                         <plugin>
1097                                 <groupId>org.jacoco</groupId>
1098                                 <artifactId>jacoco-maven-plugin</artifactId>
1099                                 <version>0.8.5</version>
1100                                 <configuration>
1101                                         <dumpOnExit>true</dumpOnExit>
1102                                         <append>true</append>
1103                                         <includes>
1104                                                 <include>org/onap/clamp/**</include>
1105                                         </includes>
1106                                 </configuration>
1107                                 <executions>
1108                                         <execution>
1109                                                 <id>pre-unit-test</id>
1110                                                 <goals>
1111                                                         <goal>prepare-agent</goal>
1112                                                 </goals>
1113                                                 <configuration>
1114                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
1115                                                         <propertyName>surefireArgLine</propertyName>
1116                                                         <!-- <append>true</append> -->
1117                                                 </configuration>
1118                                         </execution>
1119                                         <execution>
1120                                                 <id>pre-integration-test</id>
1121                                                 <phase>pre-integration-test</phase>
1122                                                 <goals>
1123                                                         <goal>prepare-agent</goal>
1124                                                 </goals>
1125                                                 <configuration>
1126                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
1127                                                         <propertyName>failsafeArgLine</propertyName>
1128                                                         <!-- <append>true</append> -->
1129                                                 </configuration>
1130                                         </execution>
1131                                         <execution>
1132                                                 <goals>
1133                                                         <goal>merge</goal>
1134                                                 </goals>
1135                                                 <phase>post-integration-test</phase>
1136                                                 <configuration>
1137                                                         <fileSets>
1138                                                                 <fileSet
1139                                                                         implementation="org.apache.maven.shared.model.fileset.FileSet">
1140                                                                         <directory>${project.build.directory}/coverage-reports</directory>
1141                                                                         <includes>
1142                                                                                 <include>*.exec</include>
1143                                                                         </includes>
1144                                                                 </fileSet>
1145                                                         </fileSets>
1146                                                         <destFile>${project.build.directory}/jacoco.exec</destFile>
1147                                                 </configuration>
1148                                         </execution>
1149                                         <execution>
1150                                                 <id>report-xml</id>
1151                                                 <goals>
1152                                                         <goal>report</goal>
1153                                                 </goals>
1154                                                 <configuration>
1155                                                         <!-- Setting explicit path, so that we remember where it picks them up from -->
1156                                                         <dataFile>${project.build.directory}/jacoco.exec</dataFile>
1157                                                         <outputDirectory>${project.build.directory}/jacoco-html-xml-reports</outputDirectory>
1158                                                 </configuration>
1159                                         </execution>
1160                                 </executions>
1161                         </plugin>
1162
1163                         <!-- This plugin will be useful when we will have multi-modules project -->
1164                         <plugin>
1165                                 <groupId>org.codehaus.mojo</groupId>
1166                                 <artifactId>versions-maven-plugin</artifactId>
1167                                 <version>1.3.1</version>
1168                         </plugin>
1169
1170                         <plugin>
1171                                 <groupId>com.github.eirslett</groupId>
1172                                 <artifactId>frontend-maven-plugin</artifactId>
1173                                 <version>1.8.0</version>
1174                                 <configuration>
1175                                         <installDirectory>${project.build.directory}/${ui.react.src}</installDirectory>
1176                                 </configuration>
1177                                 <executions>
1178                                         <execution>
1179                                                 <id>install_node_and_npm</id>
1180                                                 <goals>
1181                                                         <goal>install-node-and-npm</goal>
1182                                                 </goals>
1183                                                 <phase>generate-sources</phase>
1184                                                 <configuration>
1185                                                         <nodeVersion>v12.13.0</nodeVersion>
1186                                                         <npmVersion>6.13.0</npmVersion>
1187                                                 </configuration>
1188                                         </execution>
1189                                         <execution>
1190                                                 <id>npm_install</id>
1191                                                 <goals>
1192                                                         <goal>npm</goal>
1193                                                 </goals>
1194                                                 <phase>compile</phase>
1195                                                 <configuration>
1196                                                         <workingDirectory>${project.build.directory}/${ui.react.src}</workingDirectory>
1197                                                         <arguments>install</arguments>
1198                                                 </configuration>
1199                                         </execution>
1200                                         <execution>
1201                                                 <id>npm_test</id>
1202                                                 <goals>
1203                                                         <goal>npm</goal>
1204                                                 </goals>
1205                                                 <phase>test</phase>
1206                                                 <configuration>
1207                                                         <skip>${maven.test.skip}</skip>
1208                                                         <arguments>run-script test:coverage</arguments>
1209                                                         <workingDirectory>${project.build.directory}/${ui.react.src}</workingDirectory>
1210                                                 </configuration>
1211                                         </execution>
1212                                         <execution>
1213                                                 <id>npm_install_lib</id>
1214                                                 <goals>
1215                                                         <goal>npm</goal>
1216                                                 </goals>
1217                                                 <phase>deploy</phase>
1218                                                 <configuration>
1219                                                         <workingDirectory>${project.build.directory}/${ui.react.lib.src}</workingDirectory>
1220                                                         <arguments>install</arguments>
1221                                                 </configuration>
1222                                         </execution>
1223                                         <execution>
1224                                                 <id>npm_build_lib</id>
1225                                                 <goals>
1226                                                         <goal>npm</goal>
1227                                                 </goals>
1228                                                 <phase>deploy</phase>
1229                                                 <configuration>
1230                                                         <workingDirectory>${project.build.directory}/${ui.react.lib.src}</workingDirectory>
1231                                                         <arguments>run build</arguments>
1232                                                 </configuration>
1233                                         </execution>
1234                                         <execution>
1235                                                 <id>npm_publish</id>
1236                                                 <goals>
1237                                                         <goal>npm</goal>
1238                                                 </goals>
1239                                                 <phase>deploy</phase>
1240                                                 <configuration>
1241                                                         <skip>true</skip>
1242                                                         <workingDirectory>${project.build.directory}/${ui.react.lib.src}</workingDirectory>
1243                                                         <arguments>publish</arguments>
1244                                                 </configuration>
1245                                         </execution>
1246                                 </executions>
1247                         </plugin>
1248                         <plugin>
1249                                 <groupId>org.apache.maven.plugins</groupId>
1250                                 <artifactId>maven-compiler-plugin</artifactId>
1251                                 <version>3.8.1</version>
1252                                 <configuration>
1253                                         <source>11</source>
1254                                         <target>11</target>
1255                                 </configuration>
1256                         </plugin>
1257                         <plugin>
1258                                 <groupId>org.sonarsource.scanner.maven</groupId>
1259                                 <artifactId>sonar-maven-plugin</artifactId>
1260                                 <version>3.7.0.1746</version>
1261                         </plugin>
1262                 </plugins>
1263         </build>
1264 </project>