9aa9bf451d919413ce7c16d4d1313a7d65d1802d
[ccsdk/parent.git] / odlparent / mdsal-it-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.controller</groupId>
10         <artifactId>mdsal-it-parent</artifactId>
11         <version>3.0.10</version>
12         <relativePath/>
13     </parent>
14
15     <groupId>org.onap.ccsdk.parent</groupId>
16     <artifactId>mdsal-it-parent</artifactId>
17     <version>2.2.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.5</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>11</java.version>
85         <maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
86         <maven-failsafe-plugin.version>3.0.0-M5</maven-failsafe-plugin.version>
87         <bundle.plugin.version>4.2.1</bundle.plugin.version>
88         <maven-compiler-plugin.version>3.8.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.1.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.1.99999, 1.2.99999)</ccsdk.cds.version>
101         <ccsdk.features.version>(1.1.99999, 1.2.99999)</ccsdk.features.version>
102         <ccsdk.distribution.version>(1.1.99999, 1.2.99999)</ccsdk.distribution.version>
103         <ccsdk.sli.version>(1.2.99999, 1.3.99999)</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>1.13.4</odl.controller.mdsal.version>
115         <odl.mdsal.version>7.0.9</odl.mdsal.version>
116         <odl.mdsal.model.version>7.0.9</odl.mdsal.model.version>
117         <odl.netconf.restconf.version>1.13.4</odl.netconf.restconf.version>
118         <odl.netconf.netconf.version>1.13.4</odl.netconf.netconf.version>
119         <odl.netconf.sal.rest.docgen.version>1.13.4</odl.netconf.sal.rest.docgen.version>
120
121         <!-- Used by aaa, vtn -->
122         <commons.codec.version>1.15</commons.codec.version>
123         <!-- Used by netconf, ovsdb -->
124         <commons.lang3.version>3.11</commons.lang3.version>
125         <!-- Used by sfc, snmp4sdn; see also affinity, toolkit -->
126         <commons.lang.version>2.6</commons.lang.version>
127         <!-- Used by neutron; see also controller, vtn -->
128         <commons.net.version>3.8.0</commons.net.version>
129         <!-- Used by neutron -->
130         <eclipse.persistence.version>2.7.7</eclipse.persistence.version>
131         <!-- Used by aaa -->
132         <felix.dependencymanager.version>4.4.1</felix.dependencymanager.version>
133         <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn -->
134         <gson.version>2.8.5</gson.version>
135         <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
136         <guava.version>29.0-jre</guava.version>
137         <!-- Used by aaa, alto, netconf, ovsdb, sfc; see also affinity, defense4all,
138             integration/distribution, snmp4sdn, toolkit, ttp -->
139         <jackson.version>2.11.4</jackson.version>
140         <!-- Used by snmp4sdn, yangtools -->
141         <javassist.version>3.27.0-GA</javassist.version>
142
143         <!-- FIXME remove all dependencies for jersey 1.17 after migration all projects -->
144         <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity, defense4all, snmp4sdn, toolkit -->
145         <jersey.version>2.27</jersey.version>
146         <!-- Used by sfc -->
147         <jersey.client.version>2.27</jersey.client.version>
148
149         <!-- New packages for jersey migration 1.17 to 2.8 -->
150         <!-- appache.geronimo.bundle for DocGen -->
151         <!-- Used by aaa, iotdm, netconf, ovsdb, sfc -->
152         <org.json.version>20131018</org.json.version>
153
154         <!-- Used everywhere -->
155         <junit.version>4.13.2</junit.version>
156         <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity, toolkit -->
157         <logback.version>1.11.7</logback.version>
158         <!-- Used by nic, sfc, sxp, tsdr -->
159         <mockito.version>3.3.3</mockito.version>
160         <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit -->
161         <netty.version>4.1.65.Final</netty.version>
162         <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also affinity, toolkit -->
163         <slf4j.version>1.7.29</slf4j.version>
164         <!-- Used in integration/distribution; see also affinity, snmp4sdn, toolkit, tsdr, ttp -->
165         <spring.version>4.3.25.RELEASE</spring.version>
166
167         <!-- Extra support libraries used by SDN-C -->
168         <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version>
169         <antlr.version>4.8-1</antlr.version>
170
171         <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version>
172
173         <!-- Managed dependency versions -->
174         <apache.httpcomponents.core.version>4.4.12</apache.httpcomponents.core.version>
175         <apache.httpcomponents.client.version>4.5.13</apache.httpcomponents.client.version>
176         <derby.version>10.14.2.0</derby.version>
177         <eelf.version>1.0.0</eelf.version>
178         <grpc.version>1.21.1</grpc.version>
179         <log4j.version>2.16.0</log4j.version>
180         <log4j2.version>2.16.0</log4j2.version>
181         <mariadb.connector.version>2.7.3</mariadb.connector.version>
182         <mariadb4j.version>2.4.0</mariadb4j.version>
183         <testng.version>6.14.3</testng.version>
184         <tomcat-jdbc.version>9.0.52</tomcat-jdbc.version>
185         <jetty.version>9.4.40.v20210413</jetty.version>
186         <skip.karaf.featureTest>true</skip.karaf.featureTest>
187         <dependency-list.file>direct-dependencies.txt</dependency-list.file>
188     </properties>
189
190     <dependencyManagement>
191         <dependencies>
192             <!-- Note: If value in BOM conflicts with value inherited from
193             parent pom, inherited value takes precedence.  This seems more like
194             a bug than a feature, but this is how maven 3.6 works -->
195             <dependency>
196                 <groupId>org.onap.ccsdk.parent</groupId>
197                 <artifactId>dependencies-odl-bom</artifactId>
198                 <version>2.2.4-SNAPSHOT</version>
199                 <type>pom</type>
200                 <scope>import</scope>
201             </dependency>
202             <dependency>
203                 <groupId>org.onap.ccsdk.parent</groupId>
204                 <artifactId>dependencies-bom</artifactId>
205                 <version>2.2.4-SNAPSHOT</version>
206                 <type>pom</type>
207                 <scope>import</scope>
208             </dependency>
209             <dependency>
210                 <groupId>org.springframework.boot</groupId>
211                 <artifactId>spring-boot-dependencies</artifactId>
212                 <version>2.3.8.RELEASE</version>
213                 <scope>import</scope>
214                 <type>pom</type>
215             </dependency>
216             <dependency>
217                 <groupId>org.onap.logging-analytics</groupId>
218                 <artifactId>logging-slf4j</artifactId>
219                 <version>${logging-analytics.version}</version>
220             </dependency>
221             <dependency>
222                 <groupId>org.onap.logging-analytics</groupId>
223                 <artifactId>logging-filter-base</artifactId>
224                 <version>${logging-analytics.version}</version>
225             </dependency>
226             <dependency>
227                 <groupId>junit</groupId>
228                 <artifactId>junit</artifactId>
229                 <version>${junit.version}</version>
230                 <scope>test</scope>
231             </dependency>
232         </dependencies>
233     </dependencyManagement>
234
235     <repositories>
236         <repository>
237             <id>onap-public</id>
238             <url>${onap.nexus.public-url}</url>
239             <releases>
240                 <enabled>true</enabled>
241                 <updatePolicy>never</updatePolicy>
242             </releases>
243             <snapshots>
244                 <enabled>true</enabled>
245                 <updatePolicy>always</updatePolicy>
246             </snapshots>
247         </repository>
248         <repository>
249             <id>onap-staging</id>
250             <url>${onap.nexus.staging-url}</url>
251             <releases>
252                 <enabled>true</enabled>
253                 <updatePolicy>never</updatePolicy>
254             </releases>
255             <snapshots>
256                 <enabled>true</enabled>
257                 <updatePolicy>always</updatePolicy>
258             </snapshots>
259         </repository>
260         <repository>
261             <id>ecomp-release</id>
262             <name>onap-repository-releases</name>
263             <url>${onap.nexus.release-url}</url>
264             <releases>
265                 <enabled>true</enabled>
266                 <updatePolicy>never</updatePolicy>
267             </releases>
268             <snapshots>
269                 <enabled>false</enabled>
270             </snapshots>
271         </repository>
272         <repository>
273             <id>ecomp-snapshot</id>
274             <name>onap-repository-snapshots</name>
275             <url>${onap.nexus.snapshot-url}</url>
276             <releases>
277                 <enabled>false</enabled>
278             </releases>
279             <snapshots>
280                 <enabled>true</enabled>
281             </snapshots>
282         </repository>
283         <repository>
284             <id>opendaylight-mirror</id>
285             <name>opendaylight-mirror</name>
286             <url>${opendaylight.nexus.public-url}</url>
287             <releases>
288                 <enabled>true</enabled>
289                 <updatePolicy>never</updatePolicy>
290             </releases>
291             <snapshots>
292                 <enabled>false</enabled>
293             </snapshots>
294         </repository>
295         <repository>
296             <id>opendaylight-snapshot</id>
297             <name>opendaylight-snapshot</name>
298             <url>${opendaylight.nexus.snapshot-url}</url>
299             <releases>
300                 <enabled>false</enabled>
301             </releases>
302             <snapshots>
303                 <enabled>true</enabled>
304             </snapshots>
305         </repository>
306     </repositories>
307
308     <pluginRepositories>
309         <pluginRepository>
310             <id>onap-public</id>
311             <url>${onap.nexus.public-url}</url>
312             <releases>
313                 <enabled>true</enabled>
314             </releases>
315             <snapshots>
316                 <enabled>true</enabled>
317             </snapshots>
318         </pluginRepository>
319         <pluginRepository>
320             <id>onap-staging</id>
321             <url>${onap.nexus.staging-url}</url>
322             <releases>
323                 <enabled>true</enabled>
324             </releases>
325             <snapshots>
326                 <enabled>true</enabled>
327             </snapshots>
328         </pluginRepository>
329         <pluginRepository>
330             <id>onap-snapshot</id>
331             <url>${onap.nexus.snapshot-url}</url>
332             <releases>
333                 <enabled>false</enabled>
334             </releases>
335             <snapshots>
336                 <enabled>true</enabled>
337             </snapshots>
338         </pluginRepository>
339         <pluginRepository>
340             <id>opendaylight-mirror</id>
341             <name>opendaylight-mirror</name>
342             <url>${opendaylight.nexus.public-url}</url>
343             <releases>
344                 <enabled>true</enabled>
345                 <updatePolicy>never</updatePolicy>
346             </releases>
347             <snapshots>
348                 <enabled>false</enabled>
349             </snapshots>
350         </pluginRepository>
351         <pluginRepository>
352             <id>opendaylight-snapshot</id>
353             <name>opendaylight-snapshot</name>
354             <url>${opendaylight.nexus.snapshot-url}</url>
355             <releases>
356                 <enabled>false</enabled>
357             </releases>
358             <snapshots>
359                 <enabled>true</enabled>
360             </snapshots>
361         </pluginRepository>
362         <!-- Black Duck plugin dependencies -->
363         <pluginRepository>
364             <id>JCenter</id>
365             <name>JCenter Repository</name>
366             <url>http://jcenter.bintray.com</url>
367         </pluginRepository>
368         <pluginRepository>
369             <id>Restlet</id>
370             <name>Restlet Repository</name>
371             <url>http://maven.restlet.com</url>
372         </pluginRepository>
373     </pluginRepositories>
374
375     <build>
376         <pluginManagement>
377             <plugins>
378                 <!-- Plugins from ONAP version (parent of oparent) -->
379                 <plugin>
380                     <groupId>org.apache.maven.plugins</groupId>
381                     <artifactId>maven-deploy-plugin</artifactId>
382                     <!-- This version supports the "deployAtEnd" parameter -->
383                     <version>2.8</version>
384                     <configuration>
385                         <skip/>
386                         <deployAtEnd>true</deployAtEnd>
387                     </configuration>
388                 </plugin>
389                 <plugin>
390                     <groupId>org.apache.maven.plugins</groupId>
391                     <artifactId>maven-site-plugin</artifactId>
392                     <version>3.6</version>
393                     <dependencies>
394                         <dependency>
395                             <groupId>org.apache.maven.wagon</groupId>
396                             <artifactId>wagon-webdav-jackrabbit</artifactId>
397                             <version>2.10</version>
398                         </dependency>
399                     </dependencies>
400                 </plugin>
401                 <plugin>
402                     <groupId>org.apache.maven.plugins</groupId>
403                     <artifactId>maven-enforcer-plugin</artifactId>
404                     <version>3.0.0-M2</version>
405                     <executions>
406                         <execution>
407                             <id>enforce-property</id>
408                             <goals>
409                                 <goal>enforce</goal>
410                             </goals>
411                             <configuration>
412                                 <rules>
413                                     <requireProperty>
414                                         <property>onap.nexus.url</property>
415                                         <message>You must set a onap.nexus.url property in your
416                                             ~/.m2/settings.xml. See oparent/settings.xml for an example.
417                                         </message>
418                                     </requireProperty>
419                                 </rules>
420                                 <fail>true</fail>
421                             </configuration>
422                         </execution>
423                         <execution>
424                             <id>enforce-no-snapshots</id>
425                             <goals>
426                                 <goal>enforce</goal>
427                             </goals>
428                             <configuration>
429                                 <rules>
430                                     <requireReleaseDeps>
431                                         <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
432                                         <onlyWhenRelease>true</onlyWhenRelease>
433                                         <level>WARN</level>
434                                     </requireReleaseDeps>
435                                 </rules>
436                             </configuration>
437                         </execution>
438                         <execution>
439                             <id>enforce-maven</id>
440                             <goals>
441                                 <goal>enforce</goal>
442                             </goals>
443                             <configuration>
444                                 <rules>
445                                     <requireJavaVersion>
446                                         <version>8</version>
447                                     </requireJavaVersion>
448                                     <requireMavenVersion>
449                                         <version>[3.5.0,)</version>
450                                     </requireMavenVersion>
451                                 </rules>
452                             </configuration>
453                         </execution>
454                         <execution>
455                             <id>enforce-banned-dependencies</id>
456                             <goals>
457                                 <goal>enforce</goal>
458                             </goals>
459                             <configuration>
460                                 <rules>
461                                     <bannedDependencies>
462                                         <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>
463                                         <excludes>
464                                             <exclude>org.mockito:mockito-all</exclude>
465                                             <!-- <exclude>com.google.code.findbugs:annotations</exclude> -->
466                                         </excludes>
467                                     </bannedDependencies>
468                                 </rules>
469                                 <fail>true</fail>
470                             </configuration>
471                         </execution>
472                     </executions>
473                 </plugin>
474                 <!-- https://mvnrepository.com/artifact/org.sonarsource.scanner.maven/sonar-maven-plugin -->
475                 <plugin>
476                     <groupId>org.sonarsource.scanner.maven</groupId>
477                     <artifactId>sonar-maven-plugin</artifactId>
478                     <version>${sonar.scanner.version}</version>
479                 </plugin>
480                 <!-- end of plugins from ONAP version (parent of oparent) -->
481                 <!-- Plugins from ONAP oparent -->
482                 <plugin>
483                     <groupId>org.apache.maven.plugins</groupId>
484                     <artifactId>maven-surefire-plugin</artifactId>
485                     <version>${maven-surefire-plugin.version}</version>
486                     <configuration>
487                         <!-- Sets the VM argument line used when unit tests are run. -->
488                         <argLine>${surefireArgLine}</argLine>
489                         <!-- Excludes integration tests when unit tests are run. -->
490                         <excludes>
491                             <exclude>**/IT*.java</exclude>
492                         </excludes>
493                     </configuration>
494                 </plugin>
495                 <plugin>
496                     <groupId>org.apache.maven.plugins</groupId>
497                     <artifactId>maven-failsafe-plugin</artifactId>
498                     <version>${maven-failsafe-plugin.version}</version>
499                     <executions>
500                         <!-- Ensures that both integration-test and verify goals of the Failsafe
501                             Maven plugin are executed. -->
502                         <execution>
503                             <id>integration-tests</id>
504                             <goals>
505                                 <goal>integration-test</goal>
506                                 <goal>verify</goal>
507                             </goals>
508                             <configuration>
509                                 <!-- Sets the VM argument line used when integration tests are run. -->
510                                 <argLine>${failsafeArgLine}</argLine>
511                             </configuration>
512                         </execution>
513                     </executions>
514                 </plugin>
515
516                 <!-- End of plugins from ONAP oparent -->
517                 <plugin>
518                     <groupId>org.codehaus.mojo</groupId>
519                     <artifactId>properties-maven-plugin</artifactId>
520                     <version>1.0.0</version>
521                     <executions>
522                         <execution>
523                             <goals>
524                                 <goal>set-system-properties</goal>
525                             </goals>
526                             <configuration>
527                                 <properties>
528                                     <property>
529                                         <name>maven.wagon.http.ssl.allowall</name>
530                                         <value>${ssl.allowall}</value>
531                                     </property>
532                                     <property>
533                                         <name>maven.wagon.http.ssl.insecure</name>
534                                         <value>${ssl.insecure}</value>
535                                     </property>
536                                 </properties>
537                             </configuration>
538                         </execution>
539                     </executions>
540                 </plugin>
541
542                 <plugin>
543                     <groupId>org.codehaus.mojo</groupId>
544                     <artifactId>versions-maven-plugin</artifactId>
545                     <version>2.5</version>
546                     <configuration>
547                         <processAllModules>true</processAllModules>
548                     </configuration>
549                 </plugin>
550                 <plugin>
551                     <artifactId>maven-scm-plugin</artifactId>
552                     <version>1.8.1</version>
553                     <configuration>
554                         <tag>${project.artifactId}-${project.version}</tag>
555                     </configuration>
556                 </plugin>
557                 <plugin>
558                     <groupId>com.github.ferstl</groupId>
559                     <artifactId>depgraph-maven-plugin</artifactId>
560                     <version>3.3.0</version>
561                     <configuration>
562                         <graphFormat>text</graphFormat>
563                         <outputFileName>${dependency-list.file}</outputFileName>
564                         <outputDirectory>${project.basedir}</outputDirectory>
565                         <transitiveExcludes>*</transitiveExcludes>
566                         <showVersions>true</showVersions>
567                         <showGroupIds>true</showGroupIds>
568                     </configuration>
569                 </plugin>
570                 <plugin>
571                     <groupId>de.jacks-it-lab</groupId>
572                     <artifactId>frontend-maven-plugin</artifactId>
573                     <version>1.7.2</version>
574                 </plugin>
575                 <plugin>
576                     <groupId>com.github.alexcojocaru</groupId>
577                     <artifactId>elasticsearch-maven-plugin</artifactId>
578                     <version>6.16</version>
579                     <configuration>
580                         <version>7.1.1</version>
581                     </configuration>
582                 </plugin>
583                 <plugin>
584                     <groupId>org.apache.maven.plugins</groupId>
585                     <artifactId>maven-javadoc-plugin</artifactId>
586                     <version>3.2.0</version>
587                     <configuration>
588                         <failOnError>false</failOnError>
589                     </configuration>
590                 </plugin>
591                 <plugin>
592                     <groupId>com.github.spotbugs</groupId>
593                     <artifactId>spotbugs-maven-plugin</artifactId>
594                     <version>3.1.12.2</version>
595                     <executions>
596                         <execution>
597                             <id>analyze-compile</id>
598                             <phase>compile</phase>
599                             <goals>
600                                 <goal>check</goal>
601                             </goals>
602                             <configuration>
603                                 <plugins>
604                                     <plugin>
605                                         <groupId>jp.skypencil.findbugs.slf4j</groupId>
606                                         <artifactId>bug-pattern</artifactId>
607                                         <version>1.5.0</version>
608                                     </plugin>
609                                 </plugins>
610                                 <effort>Max</effort>
611                                 <threshold>Low</threshold>
612                                 <failOnError>false</failOnError>
613                                 <skip>true</skip>
614                                 <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
615                                 <xmlOutput>true</xmlOutput>
616                                 <findbugsXmlOutputDirectory>/home/jack/onap/onap-sdnr/features/sdnr/wt-aluminium-sr0-2/target/wt/common/target-ide/spotbugs</findbugsXmlOutputDirectory>
617                             </configuration>
618                         </execution>
619                     </executions>
620                     <dependencies>
621                         <dependency>
622                             <groupId>com.github.spotbugs</groupId>
623                             <artifactId>spotbugs</artifactId>
624                             <version>3.1.12</version>
625                             <scope>compile</scope>
626                         </dependency>
627                         <dependency>
628                             <groupId>org.opendaylight.odlparent</groupId>
629                             <artifactId>spotbugs</artifactId>
630                             <version>7.0.5</version>
631                             <scope>compile</scope>
632                         </dependency>
633                         <dependency>
634                             <groupId>org.slf4j</groupId>
635                             <artifactId>slf4j-simple</artifactId>
636                             <version>1.8.0-beta2</version>
637                             <scope>compile</scope>
638                         </dependency>
639                     </dependencies>
640                     <configuration>
641                         <plugins>
642                             <plugin>
643                                 <groupId>jp.skypencil.findbugs.slf4j</groupId>
644                                 <artifactId>bug-pattern</artifactId>
645                                 <version>1.5.0</version>
646                             </plugin>
647                         </plugins>
648                         <effort>Max</effort>
649                         <threshold>Low</threshold>
650                         <failOnError>false</failOnError>
651                         <skip>true</skip>
652                         <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
653                         <xmlOutput>true</xmlOutput>
654                         <findbugsXmlOutputDirectory>/home/jack/onap/onap-sdnr/features/sdnr/wt-aluminium-sr0-2/target/wt/common/target-ide/spotbugs</findbugsXmlOutputDirectory>
655                     </configuration>
656                 </plugin>
657                 <plugin>
658                     <groupId>org.apache.maven.plugins</groupId>
659                     <artifactId>maven-checkstyle-plugin</artifactId>
660                     <version>${checkstyle.plugin.version}</version>
661                     <dependencies>
662                         <dependency>
663                             <groupId>org.onap.oparent</groupId>
664                             <artifactId>checkstyle</artifactId>
665                             <version>1.2.2</version>
666                         </dependency>
667                     </dependencies>
668                     <executions>
669                         <execution>
670                             <phase>process-sources</phase>
671                             <goals>
672                                 <goal>check</goal>
673                             </goals>
674                             <configuration>
675                                 <failOnViolation>false</failOnViolation>
676                                 <skip>true</skip>
677                             </configuration>
678                         </execution>
679                         <execution>
680                             <id>check-license</id>
681                             <goals>
682                                 <goal>check</goal>
683                             </goals>
684                             <phase>process-sources</phase>
685                             <configuration>
686                                 <configLocation>onap-checkstyle/check-license.xml</configLocation>
687                                 <includeResources>false</includeResources>
688                                 <includeTestSourceDirectory>true</includeTestSourceDirectory>
689                                 <includeTestResources>false</includeTestResources>
690                                 <sourceDirectories>
691                                     <directory>${project.build.sourceDirectory}</directory>
692                                 </sourceDirectories>
693                                 <excludes>
694                                 </excludes>
695                                 <consoleOutput>true</consoleOutput>
696                                 <failOnViolation>false</failOnViolation>
697                             </configuration>
698                         </execution>
699                         <execution>
700                             <id>onap-java-style</id>
701                             <goals>
702                                 <goal>check</goal>
703                             </goals>
704                             <phase>process-sources</phase>
705                             <configuration>
706                                 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
707                                     with minor changes -->
708                                 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
709                                 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
710                                 <sourceDirectories>
711                                     <directory>${project.build.sourceDirectory}/src/main/java</directory>
712                                 </sourceDirectories>
713                                 <includeResources>true</includeResources>
714                                 <includeTestSourceDirectory>true</includeTestSourceDirectory>
715                                 <includeTestResources>true</includeTestResources>
716                                 <excludes>
717                                 </excludes>
718                                 <consoleOutput>true</consoleOutput>
719                                 <failOnViolation>false</failOnViolation>
720                             </configuration>
721                         </execution>
722                     </executions>
723                 </plugin>
724                 <plugin>
725                     <groupId>org.gaul</groupId>
726                     <artifactId>modernizer-maven-plugin</artifactId>
727                     <version>2.1.0</version>
728                     <executions>
729                         <execution>
730                             <id>modernizer</id>
731                             <phase>verify</phase>
732                             <goals>
733                                 <goal>modernizer</goal>
734                             </goals>
735                             <configuration>
736                                 <failOnViolations>false</failOnViolations>
737                                 <skip>true</skip>
738                             </configuration>
739                         </execution>
740                     </executions>
741                     <configuration>
742                         <failOnViolations>false</failOnViolations>
743                         <skip>true</skip>
744                     </configuration>
745                 </plugin>
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         <profile>
1269             <id>yang-compile</id>
1270             <activation>
1271                 <file>
1272                     <exists>src/main/yang</exists>
1273                 </file>
1274             </activation>
1275             <build>
1276                 <plugins>
1277                     <plugin>
1278                         <groupId>org.opendaylight.yangtools</groupId>
1279                         <artifactId>yang-maven-plugin</artifactId>
1280                         <version>6.0.6</version>
1281                         <dependencies>
1282                             <dependency>
1283                                 <groupId>org.opendaylight.mdsal</groupId>
1284                                 <artifactId>maven-sal-api-gen-plugin</artifactId>
1285                                 <version>${odl.mdsal.model.version}</version>
1286                                 <type>jar</type>
1287                                 <scope>compile</scope>
1288                             </dependency>
1289                             <dependency>
1290                                 <groupId>org.opendaylight.netconf</groupId>
1291                                 <artifactId>sal-rest-docgen-maven</artifactId>
1292                                 <version>${odl.netconf.sal.rest.docgen.version}</version>
1293                                 <type>jar</type>
1294                             </dependency>
1295                         </dependencies>
1296                         <executions>
1297                             <execution>
1298                                 <id>binding</id>
1299                                 <goals>
1300                                     <goal>generate-sources</goal>
1301                                 </goals>
1302                                 <configuration>
1303                                     <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
1304                                     <codeGenerators>
1305                                         <generator>
1306                                             <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
1307                                             <outputBaseDir>${salGeneratorPath}</outputBaseDir>
1308                                         </generator>
1309                                         <!--
1310                                         <generator>
1311                                             <codeGeneratorClass>org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator</codeGeneratorClass>
1312                                             <outputBaseDir>target/swagger</outputBaseDir>
1313                                         </generator>
1314                                         -->
1315                                     </codeGenerators>
1316                                     <inspectDependencies>true</inspectDependencies>
1317                                 </configuration>
1318                             </execution>
1319                         </executions>
1320                     </plugin>
1321                 </plugins>
1322             </build>
1323         </profile>
1324     </profiles>
1325 </project>