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