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