579b72364c4e5bbc66a3663dbc32706c2432621d
[ccsdk/parent.git] / odlparent / single-feature-parent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3     <modelVersion>4.0.0</modelVersion>
4
5     <!-- PLEASE READ !!!!! This file is generated from ccsdk/parent/setup/src/main/template/pom-template.xml
6         Any updates needed should be made to that template and not to the generated
7         pom.xml file -->
8     <parent>
9         <groupId>org.opendaylight.odlparent</groupId>
10         <artifactId>single-feature-parent</artifactId>
11         <version>11.0.3</version>
12         <relativePath/>
13     </parent>
14
15     <groupId>org.onap.ccsdk.parent</groupId>
16     <artifactId>single-feature-parent</artifactId>
17     <version>2.5.4-SNAPSHOT</version>
18     <packaging>pom</packaging>
19
20     <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
21     <description>Root POM to be used in place of odlparent for CCSDK based projects</description>
22     <url>http://wiki.onap.org</url>
23     <organization>
24         <name>ONAP</name>
25     </organization>
26
27     <issueManagement>
28         <system>JIRA</system>
29         <url>https://jira.onap.org/</url>
30     </issueManagement>
31     <distributionManagement>
32         <repository>
33             <id>ecomp-releases</id>
34             <url>${onap.nexus.release-url}</url>
35         </repository>
36         <snapshotRepository>
37             <id>ecomp-snapshots</id>
38             <url>${onap.nexus.snapshot-url}</url>
39         </snapshotRepository>
40     </distributionManagement>
41
42     <properties>
43         <!-- Sonar properties -->
44         <sonar.scanner.version>3.7.0.1746</sonar.scanner.version>
45         <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
46         <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
47         <!-- Default Sonar configuration -->
48         <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml,${project.reporting.outputDirectory}/jacoco-it/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
49         <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
50         <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
51
52         <!-- Jacoco properties -->
53         <jacoco.version>0.8.8</jacoco.version>
54
55         <!-- properties from oparent -->
56         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
57         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
58         <!-- sitePath may be overridden in the inheriting POM if desired -->
59         <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
60
61         <!-- If following file exist, auto-generation of swagger.json will be done -->
62         <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties>
63         <!-- If following file exist, auto-generation of sdk will be done -->
64         <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json>
65         <!-- end of properties from oparent -->
66
67         <!-- ONAP repositories -->
68         <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
69         <onap.nexus.host>nexus.onap.org</onap.nexus.host>
70         <onap.nexus.port>443</onap.nexus.port>
71         <onap.nexus.protocol>https</onap.nexus.protocol>
72         <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url>
73         <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url>
74         <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url>
75         <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url>
76         <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
77         <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
78
79         <!-- OpenDaylight repositories -->
80         <opendaylight.nexus.public-url>https://nexus.opendaylight.org/content/repositories/public/</opendaylight.nexus.public-url>
81         <opendaylight.nexus.snapshot-url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</opendaylight.nexus.snapshot-url>
82
83         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
84         <java.version>17</java.version>
85         <maven-surefire-plugin.version>3.0.0-M8</maven-surefire-plugin.version>
86         <maven-failsafe-plugin.version>3.0.0-M8</maven-failsafe-plugin.version>
87         <bundle.plugin.version>5.1.1</bundle.plugin.version>
88         <maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
89         <features.file>features.xml</features.file>
90         <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
91         <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
92         <checkstyle.plugin.version>3.2.1</checkstyle.plugin.version>
93         <checkstyle.skip>true</checkstyle.skip>
94         <odlparent.spotbugs.enforce>false</odlparent.spotbugs.enforce>
95
96         <!-- logging-analytics versions -->
97         <logging-analytics.version>1.6.9</logging-analytics.version>
98
99         <!-- CCSDK component versions -->
100         <ccsdk.cds.version>(1.4.99999, 1.5.99999-SNAPSHOT]</ccsdk.cds.version>
101         <ccsdk.features.version>(1.4.99999, 1.5.99999-SNAPSHOT]</ccsdk.features.version>
102         <ccsdk.distribution.version>(1.4.99999, 1.5.99999-SNAPSHOT]</ccsdk.distribution.version>
103         <ccsdk.sli.version>(1.5.99999, 1.6.99999-SNAPSHOT]</ccsdk.sli.version>
104         <ccsdk.sli.core.version>${ccsdk.sli.version}</ccsdk.sli.core.version>
105         <ccsdk.sli.adaptors.version>${ccsdk.sli.version}</ccsdk.sli.adaptors.version>
106         <ccsdk.sli.northbound.version>${ccsdk.sli.version}</ccsdk.sli.northbound.version>
107         <ccsdk.sli.plugins.version>${ccsdk.sli.version}</ccsdk.sli.plugins.version>
108         <sdnctl.aai.service.version>${ccsdk.sli.version}</sdnctl.aai.service.version>
109         <sdnctl.dblib.version>${ccsdk.sli.version}</sdnctl.dblib.version>
110         <sdnctl.mdsal.resource.version>${ccsdk.sli.version}</sdnctl.mdsal.resource.version>
111         <sdnctl.slipluginutils.version>${ccsdk.sli.version}</sdnctl.slipluginutils.version>
112
113         <!-- Support libraries used by OpenDaylight -->
114         <odl.controller.mdsal.version>10.0.5</odl.controller.mdsal.version>
115         <odl.mdsal.version>11.0.3</odl.mdsal.version>
116         <odl.mdsal.model.version>11.0.3</odl.mdsal.model.version>
117         <odl.mdsal.generator.version>8.0.5</odl.mdsal.generator.version>
118         <odl.netconf.restconf.version>10.0.5</odl.netconf.restconf.version>
119         <odl.netconf.netconf.version>10.0.5</odl.netconf.netconf.version>
120         <odl.netconf.sal.rest.docgen.version>10.0.5</odl.netconf.sal.rest.docgen.version>
121
122         <!-- Used by aaa, vtn -->
123         <commons.codec.version>1.15</commons.codec.version>
124         <!-- Used by netconf, ovsdb -->
125         <commons.lang3.version>3.12.0</commons.lang3.version>
126         <!-- Used by sfc, snmp4sdn; see also affinity, toolkit -->
127         <commons.lang.version>2.6</commons.lang.version>
128         <!-- Used by neutron; see also controller, vtn -->
129         <commons.net.version>3.8.0</commons.net.version>
130         <!-- Used by neutron -->
131         <eclipse.persistence.version>None</eclipse.persistence.version>
132         <!-- Used by aaa -->
133         <felix.dependencymanager.version>4.4.1</felix.dependencymanager.version>
134         <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn -->
135         <gson.version>2.10</gson.version>
136         <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
137         <guava.version>31.1-jre</guava.version>
138         <!-- Used by aaa, alto, netconf, ovsdb, sfc; see also affinity, defense4all,
139             integration/distribution, snmp4sdn, toolkit, ttp -->
140         <jackson.version>2.13.4</jackson.version>
141         <!-- Used by snmp4sdn, yangtools -->
142         <javassist.version>3.29.2-GA</javassist.version>
143
144         <!-- FIXME remove all dependencies for jersey 1.17 after migration all projects -->
145         <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity, defense4all, snmp4sdn, toolkit -->
146         <jersey.version>2.37</jersey.version>
147         <!-- Used by sfc -->
148         <jersey.client.version>2.37</jersey.client.version>
149
150         <!-- Used everywhere -->
151         <junit.version>4.13.2</junit.version>
152         <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity, toolkit -->
153         <logback.version>1.2.11</logback.version>
154         <!-- Used by nic, sfc, sxp, tsdr -->
155         <mockito.version>3.12.4</mockito.version>
156         <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit -->
157         <netty.version>4.1.84.Final</netty.version>
158         <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also affinity, toolkit -->
159         <slf4j.version>1.7.32</slf4j.version>
160         <!-- Used in integration/distribution; see also affinity, snmp4sdn, toolkit, tsdr, ttp -->
161         <spring.version>4.3.25.RELEASE</spring.version>
162
163         <!-- Extra support libraries used by SDN-C -->
164         <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version>
165         <antlr.version>4.8-1</antlr.version>
166
167         <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version>
168
169         <!-- Managed dependency versions -->
170         <apache.httpcomponents.core.version>4.4.12</apache.httpcomponents.core.version>
171         <apache.httpcomponents.client.version>4.5.13</apache.httpcomponents.client.version>
172         <derby.version>10.14.2.0</derby.version>
173         <eelf.version>1.0.0</eelf.version>
174         <grpc.version>1.21.1</grpc.version>
175         <log4j.version>2.17.1</log4j.version>
176         <log4j2.version>2.17.1</log4j2.version>
177         <jetty.version>9.4.49.v20220914</jetty.version>
178         <mariadb.connector.version>2.7.5</mariadb.connector.version>
179         <mariadb4j.version>2.4.0</mariadb4j.version>
180         <testng.version>6.14.3</testng.version>
181         <tomcat-jdbc.version>9.0.52</tomcat-jdbc.version>
182         <skip.karaf.featureTest>true</skip.karaf.featureTest>
183         <dependency-list.file>direct-dependencies.txt</dependency-list.file>
184     </properties>
185
186     <dependencyManagement>
187         <dependencies>
188             <!-- Note: If value in BOM conflicts with value inherited from
189             parent pom, inherited value takes precedence.  This seems more like
190             a bug than a feature, but this is how maven 3.6 works -->
191             <dependency>
192                 <groupId>org.onap.ccsdk.parent</groupId>
193                 <artifactId>dependencies-odl-bom</artifactId>
194                 <version>2.5.4-SNAPSHOT</version>
195                 <type>pom</type>
196                 <scope>import</scope>
197             </dependency>
198             <dependency>
199                 <groupId>org.onap.ccsdk.parent</groupId>
200                 <artifactId>dependencies-bom</artifactId>
201                 <version>2.5.4-SNAPSHOT</version>
202                 <type>pom</type>
203                 <scope>import</scope>
204             </dependency>
205             <dependency>
206                 <groupId>org.springframework.boot</groupId>
207                 <artifactId>spring-boot-dependencies</artifactId>
208                 <version>2.3.8.RELEASE</version>
209                 <scope>import</scope>
210                 <type>pom</type>
211             </dependency>
212             <dependency>
213                 <groupId>org.mariadb.jdbc</groupId>
214                 <artifactId>mariadb-java-client</artifactId>
215                 <version>${mariadb.connector.version}</version>
216             </dependency>
217             <dependency>
218                 <groupId>org.onap.logging-analytics</groupId>
219                 <artifactId>logging-slf4j</artifactId>
220                 <version>${logging-analytics.version}</version>
221             </dependency>
222             <dependency>
223                 <groupId>org.onap.logging-analytics</groupId>
224                 <artifactId>logging-filter-base</artifactId>
225                 <version>${logging-analytics.version}</version>
226             </dependency>
227             <dependency>
228                 <groupId>junit</groupId>
229                 <artifactId>junit</artifactId>
230                 <version>${junit.version}</version>
231                 <scope>test</scope>
232             </dependency>
233         </dependencies>
234     </dependencyManagement>
235
236     <repositories>
237         <repository>
238             <id>onap-public</id>
239             <url>${onap.nexus.public-url}</url>
240             <releases>
241                 <enabled>true</enabled>
242                 <updatePolicy>never</updatePolicy>
243             </releases>
244             <snapshots>
245                 <enabled>true</enabled>
246                 <updatePolicy>always</updatePolicy>
247             </snapshots>
248         </repository>
249         <repository>
250             <id>onap-staging</id>
251             <url>${onap.nexus.staging-url}</url>
252             <releases>
253                 <enabled>true</enabled>
254                 <updatePolicy>never</updatePolicy>
255             </releases>
256             <snapshots>
257                 <enabled>true</enabled>
258                 <updatePolicy>always</updatePolicy>
259             </snapshots>
260         </repository>
261         <repository>
262             <id>ecomp-release</id>
263             <name>onap-repository-releases</name>
264             <url>${onap.nexus.release-url}</url>
265             <releases>
266                 <enabled>true</enabled>
267                 <updatePolicy>never</updatePolicy>
268             </releases>
269             <snapshots>
270                 <enabled>false</enabled>
271             </snapshots>
272         </repository>
273         <repository>
274             <id>ecomp-snapshot</id>
275             <name>onap-repository-snapshots</name>
276             <url>${onap.nexus.snapshot-url}</url>
277             <releases>
278                 <enabled>false</enabled>
279             </releases>
280             <snapshots>
281                 <enabled>true</enabled>
282             </snapshots>
283         </repository>
284         <repository>
285             <id>opendaylight-mirror</id>
286             <name>opendaylight-mirror</name>
287             <url>${opendaylight.nexus.public-url}</url>
288             <releases>
289                 <enabled>true</enabled>
290                 <updatePolicy>never</updatePolicy>
291             </releases>
292             <snapshots>
293                 <enabled>false</enabled>
294             </snapshots>
295         </repository>
296         <repository>
297             <id>opendaylight-snapshot</id>
298             <name>opendaylight-snapshot</name>
299             <url>${opendaylight.nexus.snapshot-url}</url>
300             <releases>
301                 <enabled>false</enabled>
302             </releases>
303             <snapshots>
304                 <enabled>true</enabled>
305             </snapshots>
306         </repository>
307     </repositories>
308
309     <pluginRepositories>
310         <pluginRepository>
311             <id>onap-public</id>
312             <url>${onap.nexus.public-url}</url>
313             <releases>
314                 <enabled>true</enabled>
315             </releases>
316             <snapshots>
317                 <enabled>true</enabled>
318             </snapshots>
319         </pluginRepository>
320         <pluginRepository>
321             <id>onap-staging</id>
322             <url>${onap.nexus.staging-url}</url>
323             <releases>
324                 <enabled>true</enabled>
325             </releases>
326             <snapshots>
327                 <enabled>true</enabled>
328             </snapshots>
329         </pluginRepository>
330         <pluginRepository>
331             <id>onap-snapshot</id>
332             <url>${onap.nexus.snapshot-url}</url>
333             <releases>
334                 <enabled>false</enabled>
335             </releases>
336             <snapshots>
337                 <enabled>true</enabled>
338             </snapshots>
339         </pluginRepository>
340         <pluginRepository>
341             <id>opendaylight-mirror</id>
342             <name>opendaylight-mirror</name>
343             <url>${opendaylight.nexus.public-url}</url>
344             <releases>
345                 <enabled>true</enabled>
346                 <updatePolicy>never</updatePolicy>
347             </releases>
348             <snapshots>
349                 <enabled>false</enabled>
350             </snapshots>
351         </pluginRepository>
352         <pluginRepository>
353             <id>opendaylight-snapshot</id>
354             <name>opendaylight-snapshot</name>
355             <url>${opendaylight.nexus.snapshot-url}</url>
356             <releases>
357                 <enabled>false</enabled>
358             </releases>
359             <snapshots>
360                 <enabled>true</enabled>
361             </snapshots>
362         </pluginRepository>
363     </pluginRepositories>
364
365     <build>
366         <pluginManagement>
367             <plugins>
368                 <!-- Plugins from ONAP version (parent of oparent) -->
369                 <plugin>
370                     <groupId>org.apache.maven.plugins</groupId>
371                     <artifactId>maven-deploy-plugin</artifactId>
372                     <!-- This version supports the "deployAtEnd" parameter -->
373                     <version>2.8</version>
374                     <configuration>
375                         <skip/>
376                         <deployAtEnd>true</deployAtEnd>
377                     </configuration>
378                 </plugin>
379                 <plugin>
380                     <groupId>org.apache.maven.plugins</groupId>
381                     <artifactId>maven-site-plugin</artifactId>
382                     <version>3.6</version>
383                     <dependencies>
384                         <dependency>
385                             <groupId>org.apache.maven.wagon</groupId>
386                             <artifactId>wagon-webdav-jackrabbit</artifactId>
387                             <version>2.10</version>
388                         </dependency>
389                     </dependencies>
390                 </plugin>
391                 <plugin>
392                     <groupId>org.apache.maven.plugins</groupId>
393                     <artifactId>maven-enforcer-plugin</artifactId>
394                     <version>3.0.0-M2</version>
395                     <executions>
396                         <execution>
397                             <id>enforce-property</id>
398                             <goals>
399                                 <goal>enforce</goal>
400                             </goals>
401                             <configuration>
402                                 <rules>
403                                     <requireProperty>
404                                         <property>onap.nexus.url</property>
405                                         <message>You must set a onap.nexus.url property in your
406                                             ~/.m2/settings.xml. See oparent/settings.xml for an example.
407                                         </message>
408                                     </requireProperty>
409                                 </rules>
410                                 <fail>true</fail>
411                             </configuration>
412                         </execution>
413                         <execution>
414                             <id>enforce-no-snapshots</id>
415                             <goals>
416                                 <goal>enforce</goal>
417                             </goals>
418                             <configuration>
419                                 <rules>
420                                     <requireReleaseDeps>
421                                         <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
422                                         <onlyWhenRelease>true</onlyWhenRelease>
423                                         <level>WARN</level>
424                                     </requireReleaseDeps>
425                                 </rules>
426                             </configuration>
427                         </execution>
428                         <execution>
429                             <id>enforce-maven</id>
430                             <goals>
431                                 <goal>enforce</goal>
432                             </goals>
433                             <configuration>
434                                 <rules>
435                                     <requireJavaVersion>
436                                         <version>8</version>
437                                     </requireJavaVersion>
438                                     <requireMavenVersion>
439                                         <version>[3.5.0,)</version>
440                                     </requireMavenVersion>
441                                 </rules>
442                             </configuration>
443                         </execution>
444                         <execution>
445                             <id>enforce-banned-dependencies</id>
446                             <goals>
447                                 <goal>enforce</goal>
448                             </goals>
449                             <configuration>
450                                 <rules>
451                                     <bannedDependencies>
452                                         <message>Please always use mockito-core instead of mockito-all (see https://bugs.opendaylight.org/show_bug.cgi?id=7662), and spotbugs:annotations instead of findbugs:annotations</message>
453                                         <excludes>
454                                             <exclude>org.mockito:mockito-all</exclude>
455                                             <!-- <exclude>com.google.code.findbugs:annotations</exclude> -->
456                                         </excludes>
457                                     </bannedDependencies>
458                                 </rules>
459                                 <fail>true</fail>
460                             </configuration>
461                         </execution>
462                     </executions>
463                 </plugin>
464                 <!-- https://mvnrepository.com/artifact/org.sonarsource.scanner.maven/sonar-maven-plugin -->
465                 <plugin>
466                     <groupId>org.sonarsource.scanner.maven</groupId>
467                     <artifactId>sonar-maven-plugin</artifactId>
468                     <version>${sonar.scanner.version}</version>
469                 </plugin>
470                 <!-- end of plugins from ONAP version (parent of oparent) -->
471                 <!-- Plugins from ONAP oparent -->
472                 <plugin>
473                     <groupId>org.apache.maven.plugins</groupId>
474                     <artifactId>maven-surefire-plugin</artifactId>
475                     <version>${maven-surefire-plugin.version}</version>
476                     <configuration>
477                         <!-- Sets the VM argument line used when unit tests are run. -->
478                         <argLine>${surefireArgLine}</argLine>
479                         <!-- Excludes integration tests when unit tests are run. -->
480                         <excludes>
481                             <exclude>**/IT*.java</exclude>
482                         </excludes>
483                     </configuration>
484                 </plugin>
485                 <plugin>
486                     <groupId>org.apache.maven.plugins</groupId>
487                     <artifactId>maven-failsafe-plugin</artifactId>
488                     <version>${maven-failsafe-plugin.version}</version>
489                     <executions>
490                         <!-- Ensures that both integration-test and verify goals of the Failsafe
491                             Maven plugin are executed. -->
492                         <execution>
493                             <id>integration-tests</id>
494                             <goals>
495                                 <goal>integration-test</goal>
496                                 <goal>verify</goal>
497                             </goals>
498                             <configuration>
499                                 <!-- Sets the VM argument line used when integration tests are run. -->
500                                 <argLine>${failsafeArgLine}</argLine>
501                             </configuration>
502                         </execution>
503                     </executions>
504                 </plugin>
505
506                 <!-- End of plugins from ONAP oparent -->
507                 <plugin>
508                     <groupId>org.codehaus.mojo</groupId>
509                     <artifactId>properties-maven-plugin</artifactId>
510                     <version>1.0.0</version>
511                     <executions>
512                         <execution>
513                             <goals>
514                                 <goal>set-system-properties</goal>
515                             </goals>
516                             <configuration>
517                                 <properties>
518                                     <property>
519                                         <name>maven.wagon.http.ssl.allowall</name>
520                                         <value>${ssl.allowall}</value>
521                                     </property>
522                                     <property>
523                                         <name>maven.wagon.http.ssl.insecure</name>
524                                         <value>${ssl.insecure}</value>
525                                     </property>
526                                 </properties>
527                             </configuration>
528                         </execution>
529                     </executions>
530                 </plugin>
531
532                 <plugin>
533                     <groupId>org.codehaus.mojo</groupId>
534                     <artifactId>versions-maven-plugin</artifactId>
535                     <version>2.5</version>
536                     <configuration>
537                         <processAllModules>true</processAllModules>
538                     </configuration>
539                 </plugin>
540                 <plugin>
541                     <artifactId>maven-scm-plugin</artifactId>
542                     <version>1.8.1</version>
543                     <configuration>
544                         <tag>${project.artifactId}-${project.version}</tag>
545                     </configuration>
546                 </plugin>
547                 <plugin>
548                     <groupId>com.github.ferstl</groupId>
549                     <artifactId>depgraph-maven-plugin</artifactId>
550                     <version>3.3.0</version>
551                     <configuration>
552                         <graphFormat>text</graphFormat>
553                         <outputFileName>${dependency-list.file}</outputFileName>
554                         <outputDirectory>${project.basedir}</outputDirectory>
555                         <transitiveExcludes>*</transitiveExcludes>
556                         <showVersions>true</showVersions>
557                         <showGroupIds>true</showGroupIds>
558                     </configuration>
559                 </plugin>
560                 <plugin>
561                     <groupId>de.jacks-it-lab</groupId>
562                     <artifactId>frontend-maven-plugin</artifactId>
563                     <version>1.7.2</version>
564                 </plugin>
565                 <plugin>
566                     <groupId>com.github.alexcojocaru</groupId>
567                     <artifactId>elasticsearch-maven-plugin</artifactId>
568                     <version>6.16</version>
569                     <configuration>
570                         <version>7.1.1</version>
571                     </configuration>
572                 </plugin>
573                 <plugin>
574                     <groupId>org.apache.maven.plugins</groupId>
575                     <artifactId>maven-javadoc-plugin</artifactId>
576                     <version>3.2.0</version>
577                     <configuration>
578                         <failOnError>false</failOnError>
579                     </configuration>
580                 </plugin>
581                 <plugin>
582                     <groupId>com.github.spotbugs</groupId>
583                     <artifactId>spotbugs-maven-plugin</artifactId>
584                     <version>3.1.12.2</version>
585                     <executions>
586                         <execution>
587                             <id>analyze-compile</id>
588                             <phase>compile</phase>
589                             <goals>
590                                 <goal>check</goal>
591                             </goals>
592                             <configuration>
593                                 <plugins>
594                                     <plugin>
595                                         <groupId>jp.skypencil.findbugs.slf4j</groupId>
596                                         <artifactId>bug-pattern</artifactId>
597                                         <version>1.5.0</version>
598                                     </plugin>
599                                 </plugins>
600                                 <effort>Max</effort>
601                                 <threshold>Low</threshold>
602                                 <failOnError>false</failOnError>
603                                 <skip>true</skip>
604                                 <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
605                                 <xmlOutput>true</xmlOutput>
606                                 <findbugsXmlOutputDirectory>/home/jack/onap/onap-sdnr/features/sdnr/wt-aluminium-sr0-2/target/wt/common/target-ide/spotbugs</findbugsXmlOutputDirectory>
607                             </configuration>
608                         </execution>
609                     </executions>
610                     <dependencies>
611                         <dependency>
612                             <groupId>com.github.spotbugs</groupId>
613                             <artifactId>spotbugs</artifactId>
614                             <version>3.1.12</version>
615                             <scope>compile</scope>
616                         </dependency>
617                         <dependency>
618                             <groupId>org.opendaylight.odlparent</groupId>
619                             <artifactId>spotbugs</artifactId>
620                             <version>7.0.5</version>
621                             <scope>compile</scope>
622                         </dependency>
623                         <dependency>
624                             <groupId>org.slf4j</groupId>
625                             <artifactId>slf4j-simple</artifactId>
626                             <version>1.8.0-beta2</version>
627                             <scope>compile</scope>
628                         </dependency>
629                     </dependencies>
630                     <configuration>
631                         <plugins>
632                             <plugin>
633                                 <groupId>jp.skypencil.findbugs.slf4j</groupId>
634                                 <artifactId>bug-pattern</artifactId>
635                                 <version>1.5.0</version>
636                             </plugin>
637                         </plugins>
638                         <effort>Max</effort>
639                         <threshold>Low</threshold>
640                         <failOnError>false</failOnError>
641                         <skip>true</skip>
642                         <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
643                         <xmlOutput>true</xmlOutput>
644                         <findbugsXmlOutputDirectory>/home/jack/onap/onap-sdnr/features/sdnr/wt-aluminium-sr0-2/target/wt/common/target-ide/spotbugs</findbugsXmlOutputDirectory>
645                     </configuration>
646                 </plugin>
647                 <plugin>
648                     <groupId>org.apache.maven.plugins</groupId>
649                     <artifactId>maven-checkstyle-plugin</artifactId>
650                     <version>${checkstyle.plugin.version}</version>
651                     <dependencies>
652                         <dependency>
653                             <groupId>org.onap.oparent</groupId>
654                             <artifactId>checkstyle</artifactId>
655                             <version>1.2.2</version>
656                         </dependency>
657                     </dependencies>
658                     <executions>
659                         <execution>
660                             <phase>process-sources</phase>
661                             <goals>
662                                 <goal>check</goal>
663                             </goals>
664                             <configuration>
665                                 <failOnViolation>false</failOnViolation>
666                                 <skip>true</skip>
667                             </configuration>
668                         </execution>
669                         <execution>
670                             <id>check-license</id>
671                             <goals>
672                                 <goal>check</goal>
673                             </goals>
674                             <phase>process-sources</phase>
675                             <configuration>
676                                 <configLocation>onap-checkstyle/check-license.xml</configLocation>
677                                 <includeResources>false</includeResources>
678                                 <includeTestSourceDirectory>true</includeTestSourceDirectory>
679                                 <includeTestResources>false</includeTestResources>
680                                 <sourceDirectories>
681                                     <directory>${project.build.sourceDirectory}</directory>
682                                 </sourceDirectories>
683                                 <excludes>
684                                 </excludes>
685                                 <consoleOutput>true</consoleOutput>
686                                 <failOnViolation>false</failOnViolation>
687                             </configuration>
688                         </execution>
689                         <execution>
690                             <id>onap-java-style</id>
691                             <goals>
692                                 <goal>check</goal>
693                             </goals>
694                             <phase>process-sources</phase>
695                             <configuration>
696                                 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
697                                     with minor changes -->
698                                 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
699                                 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
700                                 <sourceDirectories>
701                                     <directory>${project.build.sourceDirectory}/src/main/java</directory>
702                                 </sourceDirectories>
703                                 <includeResources>true</includeResources>
704                                 <includeTestSourceDirectory>true</includeTestSourceDirectory>
705                                 <includeTestResources>true</includeTestResources>
706                                 <excludes>
707                                 </excludes>
708                                 <consoleOutput>true</consoleOutput>
709                                 <failOnViolation>false</failOnViolation>
710                             </configuration>
711                         </execution>
712                     </executions>
713                 </plugin>
714                 <plugin>
715                     <groupId>org.gaul</groupId>
716                     <artifactId>modernizer-maven-plugin</artifactId>
717                     <version>2.1.0</version>
718                     <executions>
719                         <execution>
720                             <id>modernizer</id>
721                             <phase>verify</phase>
722                             <goals>
723                                 <goal>modernizer</goal>
724                             </goals>
725                             <configuration>
726                                 <failOnViolations>false</failOnViolations>
727                                 <skip>true</skip>
728                             </configuration>
729                         </execution>
730                     </executions>
731                     <configuration>
732                         <failOnViolations>false</failOnViolations>
733                         <skip>true</skip>
734                     </configuration>
735                 </plugin>
736                 <!--
737                 <plugin>
738                     <groupId>org.apache.karaf.tooling</groupId>
739                     <artifactId>karaf-maven-plugin</artifactId>
740                     <configuration>
741                         <useVersionRange>true</useVersionRange>
742                         <includeTransitiveVersionRanges>true</includeTransitiveVersionRanges>
743                     </configuration>
744                 </plugin>
745             -->
746             </plugins>
747         </pluginManagement>
748         <plugins>
749             <!-- Plugins from oparent version (parent of oparent) -->
750             <plugin>
751                 <groupId>org.apache.maven.plugins</groupId>
752                 <artifactId>maven-deploy-plugin</artifactId>
753             </plugin>
754             <plugin>
755                 <groupId>org.apache.maven.plugins</groupId>
756                 <artifactId>maven-site-plugin</artifactId>
757                 <!--
758                 <configuration>
759                     <reportPlugins>
760                         <reportPlugin>
761                             <groupId>org.apache.maven.plugins</groupId>
762                             <artifactId>maven-checkstyle-plugin</artifactId>
763                             <version>${checkstyle.plugin.version}</version>
764                         </reportPlugin>
765                     </reportPlugins>
766                 </configuration>
767                 -->
768             </plugin>
769             <!-- end of plugins from oparent version (parent of oparent) -->
770
771             <!-- Plugins from oparent -->
772             <plugin>
773                 <groupId>org.apache.maven.plugins</groupId>
774                 <artifactId>maven-checkstyle-plugin</artifactId>
775             </plugin>
776             <plugin>
777                 <groupId>org.codehaus.mojo</groupId>
778                 <artifactId>build-helper-maven-plugin</artifactId>
779                 <version>1.12</version>
780             </plugin>
781             <!-- Jacoco / Sonar -->
782             <plugin>
783                 <groupId>org.jacoco</groupId>
784                 <artifactId>jacoco-maven-plugin</artifactId>
785                 <version>${jacoco.version}</version>
786                 <executions>
787                     <execution>
788                         <id>pre-unit-test</id>
789                         <goals>
790                             <goal>prepare-agent</goal>
791                         </goals>
792                         <configuration>
793                             <!-- Sets the path to the file which contains the execution data. -->
794                             <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
795                             <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. -->
796                             <propertyName>surefireArgLine</propertyName>
797                         </configuration>
798                     </execution>
799                     <!-- Ensures that the code coverage report for unit tests is created after unit tests have been run. -->
800                     <execution>
801                         <id>post-unit-test</id>
802                         <phase>test</phase>
803                         <goals>
804                             <goal>report</goal>
805                         </goals>
806                         <configuration>
807                             <!-- Sets the path to the file which contains the execution data. -->
808                             <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
809                             <!-- Sets the output directory for the code coverage report. -->
810                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
811                         </configuration>
812                     </execution>
813                     <execution>
814                         <id>pre-integration-test</id>
815                         <phase>pre-integration-test</phase>
816                         <goals>
817                             <goal>prepare-agent</goal>
818                         </goals>
819                         <configuration>
820                             <!-- Sets the path to the file which contains the execution data. -->
821                             <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
822                             <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. -->
823                             <propertyName>failsafeArgLine</propertyName>
824                         </configuration>
825                     </execution>
826                     <!-- Ensures that the code coverage report for integration tests after integration tests have been run. -->
827                     <execution>
828                         <id>post-integration-test</id>
829                         <phase>post-integration-test</phase>
830                         <goals>
831                             <goal>report</goal>
832                         </goals>
833                         <configuration>
834                             <!-- Sets the path to the file which contains the execution data. -->
835                             <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
836                             <!-- Sets the output directory for the code coverage report. -->
837                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
838                         </configuration>
839                     </execution>
840                     <execution>
841                         <id>default-prepare-agent</id>
842                         <goals>
843                             <goal>prepare-agent</goal>
844                         </goals>
845                     </execution>
846                     <execution>
847                         <id>default-report</id>
848                         <phase>prepare-package</phase>
849                         <goals>
850                             <goal>report</goal>
851                         </goals>
852                     </execution>
853                     <execution>
854                         <id>default-check</id>
855                         <goals>
856                             <goal>check</goal>
857                         </goals>
858                         <configuration>
859                             <rules>
860                                 <rule>
861                                     <element>PACKAGE</element>
862                                     <limits>
863                                         <limit>
864                                             <counter>COMPLEXITY</counter>
865                                             <value>COVEREDRATIO</value>
866                                             <minimum>0.0</minimum>
867                                         </limit>
868                                     </limits>
869                                 </rule>
870                             </rules>
871                         </configuration>
872                     </execution>
873                 </executions>
874             </plugin>
875             <plugin>
876                 <groupId>org.apache.maven.plugins</groupId>
877                 <artifactId>maven-surefire-plugin</artifactId>
878             </plugin>
879             <plugin>
880                 <groupId>org.apache.maven.plugins</groupId>
881                 <artifactId>maven-failsafe-plugin</artifactId>
882             </plugin>
883             <!-- end of plugins from oparent -->
884             <plugin>
885                 <groupId>org.apache.maven.plugins</groupId>
886                 <artifactId>maven-javadoc-plugin</artifactId>
887                 <executions>
888                     <execution>
889                         <id>attach-javadocs</id>
890                         <goals>
891                             <goal>jar</goal>
892                         </goals>
893                         <configuration>
894                             <additionalparam>-Xdoclint:none</additionalparam>
895                         </configuration>
896                     </execution>
897                 </executions>
898             </plugin>
899             <plugin>
900                 <artifactId>maven-enforcer-plugin</artifactId>
901                 <version>3.0.0-M2</version>
902                 <executions>
903                     <execution>
904                         <id>enforce-property</id>
905                         <goals>
906                             <goal>enforce</goal>
907                         </goals>
908                         <configuration>
909                             <rules>
910                                 <requireProperty>
911                                     <property>onap.nexus.url</property>
912                                     <message>You must set a onap.nexus.url property in your
913                                         ~/.m2/settings.xml. See oparent/settings.xml for an example.
914                                     </message>
915                                 </requireProperty>
916                             </rules>
917                             <fail>true</fail>
918                         </configuration>
919                     </execution>
920                     <execution>
921                         <id>enforce-no-snapshots</id>
922                         <goals>
923                             <goal>enforce</goal>
924                         </goals>
925                         <configuration>
926                             <rules>
927                                 <requireReleaseDeps>
928                                     <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
929                                     <onlyWhenRelease>true</onlyWhenRelease>
930                                     <level>WARN</level>
931                                 </requireReleaseDeps>
932                             </rules>
933                         </configuration>
934                     </execution>
935                     <execution>
936                         <id>enforce-maven</id>
937                         <goals>
938                             <goal>enforce</goal>
939                         </goals>
940                         <configuration>
941                             <rules>
942                                 <requireJavaVersion>
943                                     <version>1.8.0</version>
944                                 </requireJavaVersion>
945                                 <requireMavenVersion>
946                                     <version>[3.5.0,)</version>
947                                 </requireMavenVersion>
948                             </rules>
949                         </configuration>
950                     </execution>
951                     <execution>
952                         <id>enforce-banned-dependencies</id>
953                         <goals>
954                             <goal>enforce</goal>
955                         </goals>
956                         <configuration>
957                             <rules>
958                                 <bannedDependencies>
959                                     <message>Please always use mockito-core instead of mockito-all (see https://bugs.opendaylight.org/show_bug.cgi?id=7662), and spotbugs:annotations instead of findbugs:annotations</message>
960                                     <excludes>
961                                         <exclude>org.mockito:mockito-all</exclude>
962                                         <!-- <exclude>com.google.code.findbugs:annotations</exclude> -->
963                                     </excludes>
964                                 </bannedDependencies>
965                             </rules>
966                             <fail>true</fail>
967                         </configuration>
968                     </execution>
969                 </executions>
970             </plugin>
971             <plugin>
972                 <groupId>pl.project13.maven</groupId>
973                 <artifactId>git-commit-id-plugin</artifactId>
974                 <version>4.0.0</version>
975                 <configuration>
976                     <commitIdGenerationMode>full</commitIdGenerationMode>
977                     <includeOnlyProperties>
978                         <includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty>
979                         <includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty>
980                     </includeOnlyProperties>
981                 </configuration>
982             </plugin>
983         </plugins>
984     </build>
985
986     <reporting>
987         <plugins>
988             <plugin>
989                 <artifactId>maven-javadoc-plugin</artifactId>
990                 <configuration>
991                     <failOnError>false</failOnError>
992                     <additionalparam>-Xdoclint:none</additionalparam>
993                 </configuration>
994             </plugin>
995         </plugins>
996     </reporting>
997
998     <profiles>
999         <!-- Profiles from ONAP oparent -->
1000         <profile>
1001             <id>generate-json</id>
1002             <activation>
1003                 <file>
1004                     <exists>${swagger-properties}</exists>
1005                 </file>
1006                 <property>
1007                     <name>swagger-sdk.generate-json</name>
1008                 </property>
1009             </activation>
1010             <build>
1011                 <plugins>
1012                     <plugin>
1013                         <groupId>org.codehaus.mojo</groupId>
1014                         <artifactId>properties-maven-plugin</artifactId>
1015                         <version>1.0.0</version>
1016                         <executions>
1017                             <execution>
1018                                 <phase>initialize</phase>
1019                                 <goals>
1020                                     <goal>read-project-properties</goal>
1021                                 </goals>
1022                                 <configuration>
1023                                     <files>
1024                                         <file>${basedir}/src/main/resources/swagger.properties</file>
1025                                     </files>
1026                                 </configuration>
1027                             </execution>
1028                         </executions>
1029                     </plugin>
1030                     <plugin>
1031                         <groupId>com.github.kongchen</groupId>
1032                         <artifactId>swagger-maven-plugin</artifactId>
1033                         <version>3.1.4</version>
1034                         <configuration>
1035                             <apiSources>
1036                                 <apiSource>
1037                                     <locations>${api-rest-package}</locations>
1038                                     <schemes>http,https</schemes>
1039                                     <host>${api-host-ip}:${api-host-port}</host>
1040                                     <basePath>${api-base-path}</basePath>
1041                                     <info>
1042                                         <title>${api-title}</title>
1043                                         <version>${api-version}</version>
1044                                         <description>${api-description}</description>
1045                                         <license>
1046                                             <name>${api-license}</name>
1047                                         </license>
1048                                     </info>
1049                                     <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
1050                                 </apiSource>
1051                             </apiSources>
1052                         </configuration>
1053                         <executions>
1054                             <execution>
1055                                 <phase>compile</phase>
1056                                 <goals>
1057                                     <goal>generate</goal>
1058                                 </goals>
1059                             </execution>
1060                         </executions>
1061                     </plugin>
1062                     <plugin>
1063                         <groupId>org.apache.maven.plugins</groupId>
1064                         <artifactId>maven-install-plugin</artifactId>
1065                         <version>2.3.1</version>
1066                         <executions>
1067                             <execution>
1068                                 <id>install-file-id</id>
1069                                 <phase>install</phase>
1070                                 <goals>
1071                                     <goal>install-file</goal>
1072                                 </goals>
1073                                 <configuration>
1074                                     <file>${basedir}/src/main/resources/swagger.json</file>
1075                                     <groupId>${project.groupId}</groupId>
1076                                     <artifactId>${project.artifactId}-swagger-schema</artifactId>
1077                                     <version>${project.version}</version>
1078                                     <packaging>json</packaging>
1079                                 </configuration>
1080                             </execution>
1081                         </executions>
1082                     </plugin>
1083                 </plugins>
1084             </build>
1085         </profile>
1086         <profile>
1087             <id>generate-sdk</id>
1088             <activation>
1089                 <file>
1090                     <exists>${swagger-json}</exists>
1091                 </file>
1092                 <property>
1093                     <name>swagger-sdk.generate-java-sdk</name>
1094                 </property>
1095             </activation>
1096             <build>
1097                 <plugins>
1098                     <plugin>
1099                         <groupId>org.apache.maven.plugins</groupId>
1100                         <artifactId>maven-antrun-plugin</artifactId>
1101                         <version>1.8</version>
1102                         <executions>
1103                             <execution>
1104                                 <phase>initialize</phase>
1105                                 <id>ant-create-script</id>
1106                                 <configuration>
1107                                     <exportAntProperties>true</exportAntProperties>
1108                                     <tasks>
1109                                         <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="maven.plugin.classpath"/>
1110                                         <condition property="is_windows" value="true">
1111                                             <os family="windows"/>
1112                                         </condition>
1113                                         <condition property="isLinux" value="true">
1114                                             <os family="unix"/>
1115                                         </condition>
1116                                         <if>
1117                                             <equals arg1="${is_windows}" arg2="true"/>
1118                                             <then>
1119                                                 <property name="swagger.sdk.script.file" value="generated-source-script.bat"/>
1120                                                 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true"
1121                                                       message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
1122                                                 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true"
1123                                                       message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
1124                                             </then>
1125                                             <else>
1126                                                 <property name="swagger.sdk.script.file" value="generated-source-script.sh"/>
1127                                                 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true"
1128                                                       message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
1129                                                 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true"
1130                                                       message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
1131                                                 <chmod file="${project.build.directory}${file.separator}generated-source-script.sh" perm="755"/>
1132                                             </else>
1133                                         </if>
1134                                     </tasks>
1135                                 </configuration>
1136                                 <goals>
1137                                     <goal>run</goal>
1138                                 </goals>
1139                             </execution>
1140                         </executions>
1141                         <dependencies>
1142                             <dependency>
1143                                 <groupId>ant-contrib</groupId>
1144                                 <artifactId>ant-contrib</artifactId>
1145                                 <version>1.0b3</version>
1146                                 <exclusions>
1147                                     <exclusion>
1148                                         <groupId>ant</groupId>
1149                                         <artifactId>ant</artifactId>
1150                                     </exclusion>
1151                                 </exclusions>
1152                             </dependency>
1153                         </dependencies>
1154                     </plugin>
1155                     <plugin>
1156                         <groupId>io.swagger</groupId>
1157                         <artifactId>swagger-codegen-maven-plugin</artifactId>
1158                         <version>2.2.1</version>
1159                         <executions>
1160                             <execution>
1161                                 <goals>
1162                                     <goal>generate</goal>
1163                                 </goals>
1164                                 <configuration>
1165                                     <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
1166                                     <output>${project.build.directory}/generated-sources</output>
1167                                     <language>java</language>
1168                                     <configOptions>
1169                                         <dateLibrary>joda</dateLibrary>
1170                                     </configOptions>
1171                                     <library>jersey2</library>
1172                                     <groupId>${project.groupId}</groupId>
1173                                     <artifactId>${project.artifactId}-java-sdk</artifactId>
1174                                     <artifactVersion>${project.version}</artifactVersion>
1175                                     <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
1176                                     <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
1177                                     <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
1178                                 </configuration>
1179                             </execution>
1180                         </executions>
1181                     </plugin>
1182                     <plugin>
1183                         <groupId>org.codehaus.mojo</groupId>
1184                         <artifactId>exec-maven-plugin</artifactId>
1185                         <version>1.5.0</version>
1186                         <executions>
1187                             <execution>
1188                                 <id>swagger-generate-sources</id>
1189                                 <phase>generate-sources</phase>
1190                                 <goals>
1191                                     <goal>exec</goal>
1192                                 </goals>
1193                                 <configuration>
1194                                     <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
1195                                 </configuration>
1196                             </execution>
1197                         </executions>
1198                     </plugin>
1199                     <plugin>
1200                         <groupId>org.apache.maven.plugins</groupId>
1201                         <artifactId>maven-clean-plugin</artifactId>
1202                         <version>3.0.0</version>
1203                         <executions>
1204                             <execution>
1205                                 <id>clean-generated-files</id>
1206                                 <phase>generate-sources</phase>
1207                                 <goals>
1208                                     <goal>clean</goal>
1209                                 </goals>
1210                                 <configuration>
1211                                     <filesets>
1212                                         <fileset>
1213                                             <directory>${project.build.directory}/generated-sources</directory>
1214                                         </fileset>
1215                                     </filesets>
1216                                 </configuration>
1217                             </execution>
1218                         </executions>
1219                     </plugin>
1220                 </plugins>
1221             </build>
1222             <dependencies>
1223                 <dependency>
1224                     <groupId>org.onap.msb.swagger-sdk</groupId>
1225                     <artifactId>swagger-sdk</artifactId>
1226                     <version>1.0.0</version>
1227                 </dependency>
1228             </dependencies>
1229         </profile>
1230         <profile>
1231             <id>sonar-jacoco-aggregate</id>
1232             <activation>
1233                 <property>
1234                     <name>onap.jacoco.aggregateFile</name>
1235                 </property>
1236             </activation>
1237             <build>
1238                 <plugins>
1239                     <plugin>
1240                         <groupId>org.jacoco</groupId>
1241                         <artifactId>jacoco-maven-plugin</artifactId>
1242                         <executions>
1243                             <execution>
1244                                 <id>merge</id>
1245                                 <goals>
1246                                     <goal>merge</goal>
1247                                 </goals>
1248                                 <phase>generate-resources</phase>
1249                                 <configuration>
1250                                     <destFile>${onap.jacoco.aggregateFile}</destFile>
1251                                     <fileSets>
1252                                         <fileSet>
1253                                             <directory>${project.basedir}</directory>
1254                                             <includes>
1255                                                 <include>**/target/code-coverage/*.exec</include>
1256                                             </includes>
1257                                         </fileSet>
1258                                     </fileSets>
1259                                 </configuration>
1260                             </execution>
1261                         </executions>
1262                     </plugin>
1263                 </plugins>
1264             </build>
1265         </profile>
1266         <!-- End of profiles from ONAP oparent -->
1267
1268        
1269     </profiles>
1270 </project>