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