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